Skip to content

Commit e635f0d

Browse files
authored
[Added] threading, help options
1 parent d46220b commit e635f0d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

poc.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
from urllib.parse import urljoin
1111
from threading import Thread
12+
from sys import exit
1213

1314

1415
class Exploit(Thread):
@@ -61,8 +62,12 @@ def run(self):
6162

6263
if args.url:
6364
Exploit(args.url).start()
65+
exit()
6466

6567
if args.file:
6668
with open(args.file) as f:
6769
urls = [i.strip() for i in f.readlines()]
6870
[Exploit(url).start() for url in urls]
71+
72+
else:
73+
parser.print_help()

0 commit comments

Comments
 (0)