Random scripts to use for CTFs.
-
Create virtual environment in current folder
python3 -m venv .venv
-
Activate virtual environment
source .venv/bin/activate
-
Install packages
-
Deactivate virtual environment
deactivate
This tool is similar to the netcat
CLI tool.
If you need to communicate to a non-http server, you might sometimes need to communicate via tcp/udp protocol instead.
For redis <v7 you can run commands via the gopher protocol. See https://maxchadwick.xyz/blog/ssrf-exploits-against-redis for more information
Tool to generate a pyyaml payload that can run a command. Exploit exists for pyyaml <v5.4
Tool to generate a base64 encoded pickle payload that can run a command.