This collection contains 10 beginner-friendly Python scripts designed to introduce absolute beginners to both Python scripting and basic concepts in penetration testing. Each script is kept simple and educational so that learners can read, modify, and build confidence to explore more advanced tools and techniques.
Help new learners build a solid foundation in Python through hands-on cybersecurity utilities. Each script demonstrates practical tasks commonly encountered during reconnaissance, scanning, or exploitation.
- π List Files in OS
- π Read and Print File Contents
- π Subdomain Enumerator
- ποΈ Directory Enumerator
- π Basic Network Scanner
- π‘ Basic Port Scanner
- π₯ Basic File Downloader
- π Basic Hash Cracker
- π€ Basic TCP Client
- π₯οΈ Basic TCP Server
β
Read the code line by line.
π§ͺ Modify values to test and experiment.
ποΈ Add argparse support once you're confident.
π§ Combine multiple scripts into mini-projects.
Each script is a doorway into real-world pentesting. β¨ Start small, think big.
After mastering these 10 scripts:
- π§ Try automating BurpSuite Labs with Python.
- π οΈ Build custom tools using
scapy,threading, andargparse. - π Explore bug bounty targets and write your own reconnaissance tools.
π₯ Happy hacking!
π¨βπ» Maintained by: Python_For_Pentesters_Basics Project