This repository contains all solutions to facultative Python challenges from the course "Cybersecurity 1" hosted at Saarland Univeristy.
These challenges were very demanding, making them open to volunteers - those who wanted to learn more than other students. Naturally I did them all 😃
Solutions are crafted in clear and concise manner, and they contain a lot of comments. They may be of great help to those who are also passionate about cybersecurity:
- ctr.py - Compute the result of Ek of each block without knowing the key used)
- frequency.py - Automated letter frequency analysis (suitable for Vigenère cracking)
- caesar.py - Automatically break enhanced (all printable ASCII) Caesar cipher with dictionary attack
- diffiehellman.py - Diffie-Hellman Key Exchange ownly implemented in Python
- md5.py - MD5 hashing algorithm own Python implementation
- hle.py - Hash Length Extension Attack performed in Python
- hletest.py - Hash Length Extension Attack tested on customer's request to Pizzeria's server
- rsa.py - Own implemenataion of Rivest-Shamir-Adleman (RSA) algorithm in Python
- ethernet.py - Automatic details extraction from Ethernet frame
- arp.py - Own ARP Spoofing Detection algorithm
- ipv4.py - Automatic IPv4 packet disassembly and assembly
- slaac.py - SLAAC IPv6 <-> MAC conversion implementation
- resolver.py - Resolving domains in Python