Closed commonuserlol closed 5 months ago
Yup, this only works on very specific versions of python, see code comments
Also, I'm not 100% sure on this, but I think there might've been compiler security features added, which try to limit the availability of common gadgets
The shellcode_example.py
works tho (ik that it uses mmap), btw 15 line should be shellcode = shellcodes[platform.machine()]
not shellcode = shellcode[platform.machine()]
> python shellcode_example_nocheats.py
> python --version
Python 3.11.8
the OS is linux x86_64