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

Json解析错误 #81

Open
jidle123 opened this issue Jan 16, 2024 · 4 comments
Open

Json解析错误 #81

jidle123 opened this issue Jan 16, 2024 · 4 comments

Comments

@jidle123
Copy link

第一次正常运行,第二次开始突然报错,网上找了一堆结果都没什么用,请问这个该怎么处理
Traceback (most recent call last):
File "vulmap.py", line 67, in
core.control_options(args) # 运行核心选项控制方法用于处理不同选项并开始扫描
File "E:\anti_check\gui_scan\vulmap\core\core.py", line 33, in control_options
proxy_set(args.http, "http") # proxy support socks5 http https
File "E:\anti_check\gui_scan\vulmap\module\proxy.py", line 29, in proxy_set
proxy_ip_info_json = json.loads(proxy_ip_info.text)
File "C:\Users\93721\AppData\Local\Programs\Python\Python38\lib\json_init_.py", line 357, in loads
return _default_decoder.decode(s)
File "C:\Users\93721\AppData\Local\Programs\Python\Python38\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\93721\AppData\Local\Programs\Python\Python38\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

@jidle123
Copy link
Author

重新下载安装了一下,还是不行

@zhzyker
Copy link
Owner

zhzyker commented Jan 19, 2024

试试可以访问到这个接口嘛?
http://api.hostip.info/get_json.php

@jidle123
Copy link
Author

唔,能访问,但貌似不是这个情况。
我是每次在设置--proxy-http的时候启动报这个错,但是我突然发现每次开机第一次启动的时候能挂上代理可以正常跑,但是第二次以后就代理报错。
感觉有点玄学......

@zhzyker
Copy link
Owner

zhzyker commented Jan 22, 2024

问题太多了哈哈 等大改了

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