mirror of
https://github.com/MatrixTM/MHDDoS.git
synced 2024-11-16 11:42:42 +08:00
fixed issues
This commit is contained in:
parent
45f94b075e
commit
27e25eccac
5
start.py
5
start.py
|
@ -747,9 +747,12 @@ if __name__ == '__main__':
|
|||
method = one
|
||||
event = Event()
|
||||
|
||||
if method not in Methods.ALL_METHODS:
|
||||
exit("Method Not Found %s" % ", ".join(Methods.ALL_METHODS))
|
||||
|
||||
if method in Methods.LAYER7_METHODS:
|
||||
urlraw = argv[2].strip()
|
||||
if not urlraw.startswith("http://"): urlraw = "http://" + urlraw
|
||||
if not urlraw.startswith("http"): urlraw = "http://" + urlraw
|
||||
url = URL(urlraw)
|
||||
threads = int(argv[4])
|
||||
rpc = int(argv[6])
|
||||
|
|
Loading…
Reference in New Issue
Block a user