A collection of educational cybersecurity and automation scripts for ethical learning and experimentation
Keyboard Listener Demo An educational Python script that demonstrates real-time keyboard event monitoring and logging. Features Captures standard and special keys Saves logs in timestamped files Stops safely with the ESC key Usage pip install pynput python keyboard_listener_demo.py Disclaimer For educational and authorized use only !
Network Stress Test Demo network_stress_test_demo.py is an educational Python script designed to demonstrate network traffic generation and stress testing concepts in controlled environments. It helps learners understand: UDP traffic generation TCP connection flooding simulation HTTP request load simulation Multi-threading and network performance testing Features Simulates multiple network traffic types Supports UDP, TCP, and HTTP modes Multi-threaded traffic generation Real-time statistics and monitoring Disclaimer For educational and authorized testing purposes only.
port_scanner_demo.py is an educational Python script designed to demonstrate basic port scanning and service detection techniques.
It helps learners understand:
- TCP socket connections
- Open port detection
- Common network services identification
- Basic network enumeration concepts
- Scans custom port ranges
- Detects open ports
- Identifies common services
- Displays scan summary
For educational and authorized use only.
password_security_demo.py is an educational Python script designed to demonstrate common password cracking techniques and improve cybersecurity awareness.
It helps learners understand:
- Dictionary attacks
- Brute-force attacks
- Hybrid attack techniques
- Password hashing algorithms
- Password security best practices
- Supports multiple hash algorithms
- Includes dictionary, brute-force, and hybrid modes
- Provides performance statistics
- Includes a built-in demonstration mode
For educational and authorized use only.
network_sniffer_demo.py is an educational Python script designed to demonstrate how network traffic capture and packet analysis work.
It helps learners understand:
- Raw socket programming
- Ethernet frame analysis
- IPv4 packet parsing
- TCP, UDP, and ICMP protocol inspection
- Packet payload analysis
- Captures live network traffic
- Parses multiple protocol layers
- Displays packet headers and payload data
- Works on Linux and Windows (with privileges)
For educational and authorized use only.
file_encryption_demo.py is an educational Python script designed to demonstrate file encryption and decryption processes while raising awareness about ransomware threats.
It helps learners understand:
- Symmetric encryption with Fernet
- File encryption and decryption workflows
- Ransomware behavior simulation
- Cybersecurity awareness and prevention
- Creates a safe test environment
- Encrypts and decrypts sample files
- Generates a simulated ransom note
- Uses secure symmetric encryption
For educational and authorized use only.