Skip to content

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

Open
@S3c0nd

Description

@S3c0nd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions