【发布时间】:2014-10-24 00:24:26
【问题描述】:
我正在尝试测试 https://github.com/DanMcInerney/wifijammer 但我收到此错误
Traceback (most recent call last):
File "wifijammer.py", line 371, in <module>
mon_iface = get_mon_iface(args)
File "wifijammer.py", line 52, in get_mon_iface
monitors, interfaces = iwconfig()
File "wifijammer.py", line 69, in iwconfig
proc = Popen(['iwconfig'], stdout=PIPE, stderr=DN)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
我意识到这可能是因为 MacOSX 没有 iwconfig .....但是如果这确实是问题,有什么解决方法吗?我可以进行任何源修改以防止出现此错误吗?
【问题讨论】:
标签: python macos python-2.7