Fix function calls in interactive mode

This commit is contained in:
Sebastian Wagner 2018-04-12 21:15:54 +02:00
parent 36bd9a2b65
commit d14546d19a
No known key found for this signature in database
GPG Key ID: 1AF10AF3B3917AB2
2 changed files with 5 additions and 2 deletions

View File

@ -30,7 +30,7 @@ setup(
keywords='subdomain dns detection',
entry_points={
'console_scripts': [
'sublist3r = sublist3r:main',
'sublist3r = sublist3r:interactive',
],
},
)

View File

@ -966,7 +966,7 @@ def main(domain, threads, savefile, ports, silent, verbose, enable_bruteforce, e
return subdomains
if __name__ == "__main__":
def interactive():
args = parse_args()
domain = args.domain
threads = args.threads
@ -979,3 +979,6 @@ if __name__ == "__main__":
verbose = True
banner()
res = main(domain, threads, savefile, ports, silent=False, verbose=verbose, enable_bruteforce=enable_bruteforce, engines=engines)
if __name__ == "__main__":
interactive()