安装应用程序
按Command+Space并键入终端并按回车键。
在终端应用程序中运行: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)“< /dev/null 2> /dev/null
然后按回车键。
等待命令完成。运行: brew安装pwntools完成!现在可以使用pwntools。
我使用这个链接,但这不是工作..。
❯ python
Python 2.7.10 (default, Jul 15 2017, 17:16:57)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> from pwn import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named pwn发布于 2020-08-25 19:56:28
python2:
python -m pip install pwntoolspython3:
python3 -m pip install pwntoolshttps://stackoverflow.com/questions/48506184
复制相似问题