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