Course #613: Sublist3r$ Fundamentals
# Course #613: Sublist3r$ Fundamentals## Section 5: Mastering Sublist3r$### 1. Installation and Configuration on Kali LinuxSublist3r is a powerful tool for reconnaissance that helps penetration testers collect subdomain information through search engines and brute-forcing techniques. In this section, we will go through the installation and configuration process of Sublist3r on Kali Linux.#### Step 1: Update Your Kali Linux EnvironmentBefore installing Sublist3r, it's crucial to ensure that your Kali Linux system is up to date. Open your terminal and run:
sudo apt update && sudo apt upgrade -y
#### Step 2: Install Required DependenciesSublist3r requires several Python libraries to function correctly. Use the following command to install these dependencies:
sudo apt install python3 python3-pip git -y
#### Step 3: Clone the Sublist3r RepositoryNext, we will clone the Sublist3r repository from GitHub:
git clone https://github.com/aboul3la/Sublist3r.git
#### Step 4: Navigate to the Sublist3r DirectoryAfter cloning the repository, navigate into the Sublist3r directory:
#### Step 5: Install Python DependenciesNow, install the required Python libraries using pip:
pip3 install -r requirements.txt
#### Step 6: Configure Sublist3r (API Keys)For enhanced functionality, such as DNS resolution and accessing more subdomain information, you may want to configure Sublist3r with API keys from various services. Open the configuration file `sublist3r.py`:
Locate the API key sections (like `crtsh`, `hackertarget`, etc.) and add your API keys accordingly. Save and exit the file (in nano, press `CTRL + X`, then `Y`, and hit `Enter`).### 2. Step-by-Step Usage and Real-World Use CasesWith Sublist3r installed and configured, it's time to explore its capabilities.#### Basic Command UsageTo run Sublist3r, use the following basic command syntax:
Replace `
` with the target domain. For example, to discover subdomains for `example.com`, run:
python3 sublist3r.py -d example.com
#### Options and FlagsSublist3r offers various options to customize your search. Here are some frequently used flags:– `-o