Skip to content
Permalink
Browse files

Fix function calls in interactive mode

  • Loading branch information...
sebix committed Apr 12, 2018
1 parent 36bd9a2 commit d14546d19a659e9876a469a76c4b9ebe8a55ec99
Showing with 5 additions and 2 deletions.
  1. +1 −1 setup.py
  2. +4 −1 sublist3r.py
@@ -30,7 +30,7 @@
keywords='subdomain dns detection',
entry_points={
'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


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

if __name__ == "__main__":
interactive()

0 comments on commit d14546d

Please sign in to comment.
You can’t perform that action at this time.