Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

今天运行突然报错这个, #30

Open
bubaidongfang opened this issue Jul 17, 2017 · 1 comment
Open

今天运行突然报错这个, #30

bubaidongfang opened this issue Jul 17, 2017 · 1 comment

Comments

@bubaidongfang
Copy link

D:\Python27\GourdScanV2>python gourdscan.py
Traceback (most recent call last):
File "gourdscan.py", line 25, in
from web.urls import url_patterns
File "D:\Python27\GourdScanV2\web\urls.py", line 3, in
import handlers.main
File "D:\Python27\GourdScanV2\web\handlers\main.py", line 17, in
from proxy import pyscapy, mix_proxy, proxy_io
File "D:\Python27\GourdScanV2\proxy\pyscapy.py", line 11, in
from scapy.all import *
File "D:\Python27\lib\site-packages\scapy\all.py", line 16, in
from scapy.arch import *
File "D:\Python27\lib\site-packages\scapy\arch_init_.py", line 83, in
from scapy.arch.windows import *
File "D:\Python27\lib\site-packages\scapy\arch\windows_init_.py", line 318,
in
IFACES.load_from_powershell()
File "D:\Python27\lib\site-packages\scapy\arch\windows_init_.py", line 270,
in load_from_powershell
for i in get_windows_if_list():
File "D:\Python27\lib\site-packages\scapy\arch\windows_init_.py", line 206,
in get_windows_if_list
for line in query)
File "D:\Python27\lib\site-packages\scapy\arch\windows_init_.py", line 205,
in
(dict(zip(['name', 'win_index', 'description', 'guid', 'mac'], line))
File "D:\Python27\lib\site-packages\scapy\arch\windows_init_.py", line 53,
in _exec_query_ps
l.append(line.split(':', 1)[1].strip())
IndexError: list index out of range

@rangeme
Copy link
Contributor

rangeme commented Aug 21, 2017

这个明显是scapy报错,你重装这个模块试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants