Skip to content

Instantly share code, notes, and snippets.

@f0xtty
f0xtty / stack_string.py
Created March 17, 2023 10:55 — forked from JohnHammond/stack_string.py
pieces with len 4 or 8 fixed to avoid null bytes. Added code to take arguments
#!/usr/bin/env python3
# Author: John Hammond
# Modified: f0xtty
from pwn import *
import sys
try:
string = sys.argv[1].encode('utf-8')