There was an error while loading. Please reload this page.
1 parent ae0dc37 commit e37f2f6Copy full SHA for e37f2f6
scripts/subdomain.py
@@ -1,10 +1,17 @@
1
import os
2
import sys
3
4
-protocol = sys.argv[1]
5
-domain = sys.argv[2]
+args = sys.argv
6
7
-cmd = f'ffuf -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt -H "Host: FUZZ.{domain}" -fc 400,403 -fl 8 -u {protocol}://{domain}'
+protocol = args[1]
+domain = args[2]
8
+
9
+if len(args) > 3:
10
+ flags = " " + sys.argv[3]
11
+else:
12
+ flags = ""
13
14
+cmd = f'ffuf -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt -H "Host: FUZZ.{domain}" -fc 400,403 -fl 8 -u {protocol}://{domain}{flags}'
15
16
print("Running: " + cmd)
17
os.system(cmd)
0 commit comments