Interactive Python walkthrough for the 'Shake My Hand' 2025 Iris CTF challenge
Project description
IrisCTF 2025 - "Shake My Hand" Writeup & Walkthrough
This is an interactive Python writeup and walkthrough for the "Shake My Hand" 2025 Iris CTF challenge.
Features
- Step-by-step TCP handshake demonstration
- Real-time packet crafting and analysis with Scapy
- ASCII art interface
Requirements
- Python 3.x
- Scapy library (pip install scapy)
- Windows/Linux compatible
Install/run with PIP
- Install with "pip install shakemyhand-walkthrough"
- Enter "shakemyhand-walkthrough" at terminal.
Manual install/run
Download shakemyhand-walkthrough.py, make sure you have scapy installed (pip install scapy) and run the file with "python ./shakemyhand-walkthrough.py"
Additional Information
This program uses built-in Scapy modules and functions to craft and manipulate network packets:
IP: Used to create and configure the IP headers of the packets.TCP: Used to create and configure the TCP headers of the packets.Raw: Used to add raw payload data to the packets.raw: Converts crafted packets into raw bytes for transmission.base64: Encodes raw bytes into a base64 string.
You can learn more about how this program utilizes Scapy to solve the challenge by refering to the following functions in the code:
create_syn: Crafts a SYN packet to initiate the TCP handshake.create_ack: Creates an ACK packet to acknowledge the server's SYN-ACK.create_response: Sends a PSH+ACK packet with data.decode_and_show: Decodes a base64 packet and logs details about IP/TCP layers, sequence/ack numbers, flags, and payload.
See code comments for additional information on script functionality.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shakemyhand_walkthrough-0.2.3.tar.gz.
File metadata
- Download URL: shakemyhand_walkthrough-0.2.3.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7af1cf70b9d30911d94b102cfffd60f0886b07db27e46c5fba3754cb546b71c
|
|
| MD5 |
b172ccf014afbeeb2f45a106642eb83a
|
|
| BLAKE2b-256 |
c6d88349d35cce8c11b68ddde92395f64b9f7e0e3f4fe4cf7d0184c914e8e780
|
File details
Details for the file shakemyhand_walkthrough-0.2.3-py3-none-any.whl.
File metadata
- Download URL: shakemyhand_walkthrough-0.2.3-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed8b7e4e33f8f14bfc83cdfdb9f386fc69d2de0a92abf408a7c6bb7d0872f0ff
|
|
| MD5 |
21fd425bcecb82e0339fe7acc3b7a2d3
|
|
| BLAKE2b-256 |
94b67fdff8e723646e53277b43c57570160eae39c5ac47a1d1f210106607390d
|