This repository contains Python exercises and small projects to help me build practical skills in cybersecurity and ethical hacking.
- Basics: File handling, OS module, hashing
- Cryptography: Classic ciphers, AES, RSA, hashing
- Networking: Port scanners, packet sniffers, ARP spoofing
- Web Security: Simulated SQL injections, XSS, password brute-force
- Forensics: Metadata extraction, file carving
- Malware Analysis: Basic keyloggers, malware behavior analysis
🔧 cryptography/ folder:
- ✅ aes_encryption.py
- ✅ rsa_encryption.py
Before running any Python scripts in this project, please follow these steps to create a virtual environment and install the required packages.
Run this command in the project root folder to create a .venv folder (you can name it differently if you want):
python3 -m venv .venv-
On Linux/macOS:
source .venv/bin/activate -
On Windows (PowerShell):
.venv\Scripts\Activate.ps1
-
On Windows (CMD):
.venv\Scripts\activate.bat
Once the virtual environment is activated, install all dependencies from requirements.txt:
pip install -r requirements.txtTo exit the virtual environment:
deactivateThis repository is for personal learning purposes, but feel free to suggest improvements via pull requests or issues.
This code is for educational purposes only. Do not use these scripts for malicious activities.