Skip to content

farhadanwari/pentest-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔐 Farhad Anwari's Pentest Toolkit

A collection of Python scripts for penetration testing and ethical hacking.
This toolkit includes practical tools for common tasks such as subdomain and directory enumeration, scanning, brute forcing, and more.

GitHub repo size GitHub last commit GitHub license GitHub issues GitHub stars

📂 Contents

Script Description
subdomain_enum.py Enumerate subdomains for a target domain.
directory_enum.py Brute force directories and files on a web server.
network_scanner.py Discover live hosts on a given network range.
port_scanner.py Scan for open TCP ports on a target.
file_downloader.py Download files from a list of URLs.
hash_cracker.py Crack hashes using a wordlist (MD5, SHA1, SHA256).
keylogger.py Simple keylogger for demonstration purposes.
ssh_bruteforce.py SSH brute forcer using a wordlist.

⚙️ Installation

1️⃣ Clone this repo:

git clone https://github.com/yourusername/pentest-toolkit.git
cd pentest-toolkit

2️⃣ Install dependencies (use a virtual environment if you like):

pip install -r requirements.txt

🚀 Usage

Each script has its own CLI flags. Here are some quick examples:

Subdomain Enumeration

python scripts/subdomain_enum.py --domain example.com --wordlist wordlist.txt

Directory Enumeration

python scripts/directory_enum.py --url http://example.com --wordlist wordlist.txt

Network Scanner

python scripts/network_scanner.py --network 192.168.1.0/24

Port Scanner

python scripts/port_scanner.py --target example.com --ports 1-1024

File Downloader

python scripts/file_downloader.py --urls urls.txt --output ./downloads

Hash Cracker

python scripts/hash_cracker.py --hash <HASH> --mode md5 --wordlist wordlist.txt

Keylogger

python scripts/keylogger.py

SSH Brute Forcer

python scripts/ssh_bruteforce.py --host 192.168.1.10 --user root --wordlist passwords.txt

🔑 Tip: Use -h or --help for full usage options.

✨ Console Output

The toolkit now uses rich for clean, modern console output instead of large ASCII banners. Links are clickable in supported terminals.

⚠️ Legal Disclaimer

This toolkit is for educational and authorized security testing only. The author does not take responsibility for misuse or illegal activities.

📣 Author

Farhad Anwari

📄 License

This project is licensed under the MIT License.

⭐️ Contributions

Pull requests are welcome — feel free to submit improvements or new scripts!

About

A collection of Python scripts for penetration testing by Farhad Anwari. Includes subdomain enumeration, directory brute forcing, network and port scanners, file downloader, hash cracker, keylogger, and SSH brute forcer.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages