[Day 8] 3. Recon-ng Setup
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:
-
Create a Directory and Clone the Repository:
bashmkdir recon && cd recon git clone https://github.com/lanmaster53/recon-ng.git cd recon-ng -
Check for Files:
- Use the command to verify the presence of a
lsfile.REQUIREMENTS
- Use the
-
Install Dependencies:
bashpip install -r REQUIREMENTS sudo apt install python3-lxml -
Verify Installation:
-
Check the version:
bash./recon-ng --version -
Run the tool:
bash./recon-ng
-
2. Basic Commands in Recon-ng:
-
Marketplace Commands:
-
Refresh the marketplace:
bashmarketplace refresh -
Display all module/package information:
bashmarketplace info all -
Search for a specific package (e.g.,
):hackertargetbashmarketplace search hackertarget -
Install a package or module:
bashmarketplace install <path> or <packagename> -
Display info about a specific package:
bashmarketplace info <packagename> or <pathofpackage>
-
-
Module Commands:
-
Load a module:
bashmodules load <path> or <packagename> -
List all options:
bashoptions list -
Set options (e.g., for passive information gathering on checkpoint.com):
bashoptions set SOURCE checkpoint.com -
Run the module:
bashrun
-
-
Show Commands:
-
Display different types of information:
bashshow ports show hosts show contacts show credentials show companies show vulnerabilities
-
-
Get a Summary of Results:
bashdashboard -
Get Help for Commands:
-
Inside the
prompt, use:recon-ngbashhelp
-
Extra Information:
-
Checkpoint.com:
- Commonly used for passive information gathering.
-
YouTube Playlist:
- Learn more from this Recon-ng YouTube Playlist.
Read Next
[Day 8] 4. Hacking the Wi-Fi
### **Requirements:** 1. **Hardware Requirements:** - **Base Machine:** Kali Linux. - **Network Adapter:** - Use an **exte...
[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...