Security Concepts

[Day 8] 3. Recon-ng Setup

D
DITISS Admin
••4 min read

Overview:

Recon-ng is a powerful reconnaissance framework designed to conduct open-source, web-based reconnaissance quickly and efficiently.


Steps to Perform Recon-ng Setup and Usage:

1. Setup on Kali Linux:

  1. Create a Directory and Clone the Repository:

    bash
    mkdir recon && cd recon
    git clone https://github.com/lanmaster53/recon-ng.git
    cd recon-ng
    
  2. Check for Files:

    • Use the
      ls
      command to verify the presence of a
      REQUIREMENTS
      file.
  3. Install Dependencies:

    bash
    pip install -r REQUIREMENTS
    sudo apt install python3-lxml
    
  4. Verify Installation:

    • Check the version:

      bash
      ./recon-ng --version
      
    • Run the tool:

      bash
      ./recon-ng
      

2. Basic Commands in Recon-ng:

  1. Marketplace Commands:

    • Refresh the marketplace:

      bash
      marketplace refresh
      
    • Display all module/package information:

      bash
      marketplace info all
      
    • Search for a specific package (e.g.,

      hackertarget
      ):

      bash
      marketplace search hackertarget
      
    • Install a package or module:

      bash
      marketplace install <path> or <packagename>
      
    • Display info about a specific package:

      bash
      marketplace info <packagename> or <pathofpackage>
      
  2. Module Commands:

    • Load a module:

      bash
      modules load <path> or <packagename>
      
    • List all options:

      bash
      options list
      
    • Set options (e.g., for passive information gathering on checkpoint.com):

      bash
      options set SOURCE checkpoint.com
      
    • Run the module:

      bash
      run
      
  3. Show Commands:

    • Display different types of information:

      bash
      show ports  
      show hosts  
      show contacts  
      show credentials  
      show companies  
      show vulnerabilities  
      
  4. Get a Summary of Results:

    bash
    dashboard
    
  5. Get Help for Commands:

    • Inside the

      recon-ng
      prompt, use:

      bash
      help
      

Extra Information:

  • Checkpoint.com:

    • Commonly used for passive information gathering.
  • YouTube Playlist:


Read Next

8/26/2026

[Day 8] 4. Hacking the Wi-Fi

### **Requirements:** 1. **Hardware Requirements:** - **Base Machine:** Kali Linux. - **Network Adapter:** - Use an **exte...

8/26/2026

[Day 8] 5. Creating your own password list

### **Creating Your Own Password List with Crunch** 1. **Setup:** ```bash mkdir hackwifi cd hackwifi mkdir mylist cd...