Merge 02d737549c
into 729d649ec5
This commit is contained in:
commit
aa5e2b6ba0
|
@ -108,6 +108,7 @@ Short Form | Long Form | Description
|
||||||
-b | --bruteforce | Enable the subbrute bruteforce module
|
-b | --bruteforce | Enable the subbrute bruteforce module
|
||||||
-p | --ports | Scan the found subdomains against specific tcp ports
|
-p | --ports | Scan the found subdomains against specific tcp ports
|
||||||
-v | --verbose | Enable the verbose mode and display results in realtime
|
-v | --verbose | Enable the verbose mode and display results in realtime
|
||||||
|
-s | --silent | Disables verbosity and runs the script silently
|
||||||
-t | --threads | Number of threads to use for subbrute bruteforce
|
-t | --threads | Number of threads to use for subbrute bruteforce
|
||||||
-e | --engines | Specify a comma-separated list of search engines
|
-e | --engines | Specify a comma-separated list of search engines
|
||||||
-o | --output | Save the results to text file
|
-o | --output | Save the results to text file
|
||||||
|
|
11
sublist3r.py
11
sublist3r.py
|
@ -78,7 +78,7 @@ def banner():
|
||||||
\___ \| | | | '_ \| | / __| __| |_ \| '__|
|
\___ \| | | | '_ \| | / __| __| |_ \| '__|
|
||||||
___) | |_| | |_) | | \__ \ |_ ___) | |
|
___) | |_| | |_) | | \__ \ |_ ___) | |
|
||||||
|____/ \__,_|_.__/|_|_|___/\__|____/|_|%s%s
|
|____/ \__,_|_.__/|_|_|___/\__|____/|_|%s%s
|
||||||
|
|
||||||
# Coded By Ahmed Aboul-Ela - @aboul3la
|
# Coded By Ahmed Aboul-Ela - @aboul3la
|
||||||
""" % (R, W, Y))
|
""" % (R, W, Y))
|
||||||
|
|
||||||
|
@ -99,6 +99,7 @@ def parse_args():
|
||||||
parser.add_argument('-b', '--bruteforce', help='Enable the subbrute bruteforce module', nargs='?', default=False)
|
parser.add_argument('-b', '--bruteforce', help='Enable the subbrute bruteforce module', nargs='?', default=False)
|
||||||
parser.add_argument('-p', '--ports', help='Scan the found subdomains against specified tcp ports')
|
parser.add_argument('-p', '--ports', help='Scan the found subdomains against specified tcp ports')
|
||||||
parser.add_argument('-v', '--verbose', help='Enable Verbosity and display results in realtime', nargs='?', default=False)
|
parser.add_argument('-v', '--verbose', help='Enable Verbosity and display results in realtime', nargs='?', default=False)
|
||||||
|
parser.add_argument('-s', '--silent', help='Disable Verbosity and run the script silently', nargs='?', default=False)
|
||||||
parser.add_argument('-t', '--threads', help='Number of threads to use for subbrute bruteforce', type=int, default=30)
|
parser.add_argument('-t', '--threads', help='Number of threads to use for subbrute bruteforce', type=int, default=30)
|
||||||
parser.add_argument('-e', '--engines', help='Specify a comma-separated list of search engines')
|
parser.add_argument('-e', '--engines', help='Specify a comma-separated list of search engines')
|
||||||
parser.add_argument('-o', '--output', help='Save the results to text file')
|
parser.add_argument('-o', '--output', help='Save the results to text file')
|
||||||
|
@ -997,10 +998,14 @@ def interactive():
|
||||||
engines = args.engines
|
engines = args.engines
|
||||||
if verbose or verbose is None:
|
if verbose or verbose is None:
|
||||||
verbose = True
|
verbose = True
|
||||||
|
silent = args.silent
|
||||||
if args.no_color:
|
if args.no_color:
|
||||||
no_color()
|
no_color()
|
||||||
banner()
|
if silent:
|
||||||
res = main(domain, threads, savefile, ports, silent=False, verbose=verbose, enable_bruteforce=enable_bruteforce, engines=engines)
|
verbose = False
|
||||||
|
else:
|
||||||
|
banner()
|
||||||
|
res = main(domain, threads, savefile, ports, silent=silent, verbose=verbose, enable_bruteforce=enable_bruteforce, engines=engines)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
interactive()
|
interactive()
|
||||||
|
|
Loading…
Reference in New Issue