Fix silent flag
This commit is contained in:
parent
a059384df5
commit
6bd612badc
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='Sublist3r',
|
name='Sublist3r',
|
||||||
version='2.0',
|
version='2.1',
|
||||||
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\''],
|
||||||
packages=find_packages()+['.'],
|
packages=find_packages()+['.'],
|
||||||
|
|
|
@ -1064,9 +1064,8 @@ def main(domain, threads, savefile, ports, silent, verbose, enable_bruteforce, e
|
||||||
pscan = portscan(subdomains, ports)
|
pscan = portscan(subdomains, ports)
|
||||||
pscan.run()
|
pscan.run()
|
||||||
|
|
||||||
elif not silent:
|
for subdomain in subdomains:
|
||||||
for subdomain in subdomains:
|
print(G + subdomain + W)
|
||||||
print(G + subdomain + W)
|
|
||||||
return subdomains
|
return subdomains
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue