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

扫描百度子域名程序报错 #222

Closed
kN6jq opened this issue Sep 11, 2021 · 0 comments
Closed

扫描百度子域名程序报错 #222

kN6jq opened this issue Sep 11, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kN6jq
Copy link

kN6jq commented Sep 11, 2021

是否使用了最新代码
是或否(如果不是的话尝试克隆最新的代码再跑一下!)

Bug描述
清晰而简洁的Bug描述(必写)
跑百度的时候报错
运行环境

  • 系统:[例如Windows 10 x64](必写)
  • Python版本:[例如3.7.1](必写)
  • OneForAll版本:[例如0.3.0](必写)
    windows 2008 x64
    如何复现
    复现步骤(选写)
    python oneforall.py --target=baidu.com run
    复现命令(必写)
    python oneforall.py --target=baidu.com run
    报错文本
    复制完整的报错文本(必写)
    `Request Progress: 100%|████████████████▉| 12377/12378 [1:33:32<
    Request Progress: 100%|█████████████████| 12378/12378 [1:33:32<
    Request Progress: 12379it [1:33:33, 2.51it/s]
    17:46:42,475 [INFOR] request:264 - Found that baidu.com has 635 alive subdomains

17:46:43,108 [INFOR] finder:23 - Start Finder module
Traceback (most recent call last):
File "oneforall.py", line 277, in
fire.Fire(OneForAll)
File "C:\Python36\lib\site-packages\fire\core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "C:\Python36\lib\site-packages\fire\core.py", line 471, in _Fire
target=component.name)
File "C:\Python36\lib\site-packages\fire\core.py", line 681, in _CallAndUpdate
Trace
component = fn(*varargs, **kwargs)
File "oneforall.py", line 254, in run
self.main()
File "oneforall.py", line 205, in main
finder.run(self.domain, self.data, self.port)
File "C:\Users\Administrator\Desktop\OneForAll\modules\finder.py", line 25, in
run
found_subdomains = find_subdomains(domain, data)
File "C:\Users\Administrator\Desktop\OneForAll\modules\finder.py", line 190, i
n find_subdomains
rsp_html = db.get_resp_by_url(domain, req_url)
File "C:\Users\Administrator\Desktop\OneForAll\common\database.py", line 258,
in get_resp_by_url
return self.query(sql).scalar()
File "C:\Users\Administrator\Desktop\OneForAll\common\records.py", line 244, i
n scalar
row = self.one()
File "C:\Users\Administrator\Desktop\OneForAll\common\records.py", line 238, i
n one
raise ValueError('RecordCollection contained more than one row. '
ValueError: RecordCollection contained more than one row. Expects only one row w
hen using RecordCollection.one
Request Progress: 12379it [1:35:58, 2.15it/s]
`

预期结果
清晰而简洁的预期结果描述(选写,如正常情况应该是怎么样的)

实际结果
清晰而简洁的实际结果描述(选写,如出现什么错误)

屏幕截图
完整OneForAll执行流程截图(建议上传)
image
image

日志上传
上传oneforall.log日志文件(复杂问题建议上传)

其他补充
关于bug的其他一些补充说明

@kN6jq kN6jq added the bug Something isn't working label Sep 11, 2021
@ko2sec ko2sec mentioned this issue Jul 5, 2022
@JrDw0 JrDw0 closed this as completed Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants