Gallopsled / pwntools

CTF framework and exploit development library
http://pwntools.com
Other
11.69k stars 1.67k forks source link

Pwntools setup on Mac OS #2408

Open evatiwari opened 1 month ago

evatiwari commented 1 month ago

I am new to CTF and want to currently experiment with pwntools, but when I run brew install pwntools and try to execute a script importing pwntools like so: from pwn import *, I get the following error: ModuleNotFoundError: No module named 'pwn'. I have also gone through the installation guides at https://docs.pwntools.com/ and followed the steps, but to no avail. Can someone point me to the possible reason behind this?

peace-maker commented 1 month ago

I believe that homebrew recipe is created by someone else. Try using pip to install pwntools as documented in the install instructions. You might need to install the binutils through homebrew though.