Fix function calls in interactive mode
This commit is contained in:
parent
36bd9a2b65
commit
d14546d19a
2
setup.py
2
setup.py
|
|
@ -30,7 +30,7 @@ setup(
|
||||||
keywords='subdomain dns detection',
|
keywords='subdomain dns detection',
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
'sublist3r = sublist3r:main',
|
'sublist3r = sublist3r:interactive',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -966,7 +966,7 @@ def main(domain, threads, savefile, ports, silent, verbose, enable_bruteforce, e
|
||||||
return subdomains
|
return subdomains
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
def interactive():
|
||||||
args = parse_args()
|
args = parse_args()
|
||||||
domain = args.domain
|
domain = args.domain
|
||||||
threads = args.threads
|
threads = args.threads
|
||||||
|
|
@ -979,3 +979,6 @@ if __name__ == "__main__":
|
||||||
verbose = True
|
verbose = True
|
||||||
banner()
|
banner()
|
||||||
res = main(domain, threads, savefile, ports, silent=False, verbose=verbose, enable_bruteforce=enable_bruteforce, engines=engines)
|
res = main(domain, threads, savefile, ports, silent=False, verbose=verbose, enable_bruteforce=enable_bruteforce, engines=engines)
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
interactive()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue