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

scan_start()中关于url和postdata是否为空的判断问题 #37

Open
S3c0nd opened this issue Apr 9, 2018 · 1 comment
Open

scan_start()中关于url和postdata是否为空的判断问题 #37

S3c0nd opened this issue Apr 9, 2018 · 1 comment

Comments

@S3c0nd
Copy link

S3c0nd commented Apr 9, 2018

scan.py在启动扫描的线程时是这样做的:
if (request['method'] == "GET" and url != "") or (request['method'] == "POST" and (request["postdata"] != "" or url != ""))
这样url或者postdata一项为非空就可以开线程了,是否不太合适,比如遇到有postdata但是没有url的情况(当然实际应该遇不到)

@i06
Copy link

i06 commented Apr 11, 2018

也许就像你说的不合适吧

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