This commit is contained in:
parent
b61f105006
commit
a059384df5
2
setup.py
2
setup.py
|
|
@ -1,7 +1,7 @@
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='sublist3r',
|
name='Sublist3r',
|
||||||
version='2.0',
|
version='2.0',
|
||||||
python_requires='>=2.7',
|
python_requires='>=2.7',
|
||||||
install_requires=['dnspython', 'requests', 'argparse; python_version==\'2.7\''],
|
install_requires=['dnspython', 'requests', 'argparse; python_version==\'2.7\''],
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python4
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
# Sublist3r v1.0
|
# Sublist3r v1.0
|
||||||
# By Ahmed Aboul-Ela - twitter.com/aboul3la
|
# By Ahmed Aboul-Ela - twitter.com/aboul3la
|
||||||
|
# And fmjal - github.com/fmjal
|
||||||
# modules in standard library
|
# modules in standard library
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|
@ -106,6 +106,7 @@ def parse_args():
|
||||||
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')
|
||||||
parser.add_argument('-n', '--no-color', help='Output without color', default=False, action='store_true')
|
parser.add_argument('-n', '--no-color', help='Output without color', default=False, action='store_true')
|
||||||
|
parser.add_argument("-s","--silent",default=False,action='store_true',help='Run without showing a banner or status updates')
|
||||||
return parser.parse_args()
|
return parser.parse_args()
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1078,12 +1079,14 @@ def interactive():
|
||||||
enable_bruteforce = args.bruteforce
|
enable_bruteforce = args.bruteforce
|
||||||
verbose = args.verbose
|
verbose = args.verbose
|
||||||
engines = args.engines
|
engines = args.engines
|
||||||
|
silent=args.silent
|
||||||
if verbose or verbose is None:
|
if verbose or verbose is None:
|
||||||
verbose = True
|
verbose = True
|
||||||
if args.no_color:
|
if args.no_color:
|
||||||
no_color()
|
no_color()
|
||||||
banner()
|
if not silent:
|
||||||
res = main(domain, threads, savefile, ports, silent=False, verbose=verbose, enable_bruteforce=enable_bruteforce, engines=engines)
|
banner()
|
||||||
|
res = main(domain, threads, savefile, ports, silent=args.silent, verbose=verbose, enable_bruteforce=enable_bruteforce, engines=engines)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
interactive()
|
interactive()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue