Paths › Programming
Bytes and Bits in Python
Work with Python text, bytes, integer bits, and small binary records used in CTF scripts.
beginner · 13 lessons · 108 minutes · free
Text and Bytes
- Strings vs Bytes (3 min)
- Character Encodings (3 min)
- Count Bytes, Not Letters (15 min)
Number Forms
- Hexadecimal (3 min)
- Bitwise Operations (3 min)
- Byte Order (5 min)
- Decode Hex Payloads (10 min)
- Read a Packet Header (15 min)
- Byte Order & Endianness (5 min)
Encoding Tricks
- Base64 (3 min)
- XOR Decryption Script (3 min)
- Break Single-Byte XOR (10 min)
Final Lab
- Final Lab: Decode the Implant (30 min)