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

--max-time只对单个url生效 #992

Closed
Admin123456-check opened this issue Nov 27, 2021 · 4 comments · Fixed by #1011
Closed

--max-time只对单个url生效 #992

Admin123456-check opened this issue Nov 27, 2021 · 4 comments · Fixed by #1011
Labels
bug Something isn't working Priority: High

Comments

@Admin123456-check
Copy link

--max-time参数,使用--url-list指定url列表时只能对第一个url有效,后续请求无法超时退出

@Admin123456-check Admin123456-check added the bug Something isn't working label Nov 27, 2021
@shelld3v
Copy link
Collaborator

这不是实际问题,问题是如果您将 --max-time 设置得太小(如上一期中为 3 秒),则 dirsearch 不会退出。我正在关闭这个并保持你以前的问题打开

@Admin123456-check
Copy link
Author

我将--max-time设置为30,重新测试后发现,url列表只有第一条会在30秒后退出,后续的url会持续到结束,超过设置时间也不会自动退出
测试命令为python dirsearch.py --url-list url.txt -i 200,300 --timeout 1 –random-agent --max-time=30 -F
第一个url30秒后自动退出
image

第二个url开始后续都将运行所有扫描后才会退出,无法达到预期的30秒退出
image

@shelld3v
Copy link
Collaborator

It seems that I missed something

@shelld3v
Copy link
Collaborator

shelld3v commented Jan 8, 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 Priority: High
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants