Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running the -p option #8

Closed
jhaddix opened this issue Sep 9, 2017 · 3 comments
Closed

Error when running the -p option #8

jhaddix opened this issue Sep 9, 2017 · 3 comments

Comments

@jhaddix
Copy link

jhaddix commented Sep 9, 2017

hey again @Plazmaz , any ideas on this one?

python sublist3r.py -d TARGET.com -p 80

[-] Starting port scan for the following ports: 80
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/root/tools/Sublist3r/sublister2/Sublist3r/util/port_scanner.py", line 27, in port_scan
    print("%s%s%s - %sFound open ports:%s %s%s%s" % (G, host, W, R, W, Y, ', '.join(openports), W))
NameError: global name 'G' is not defined

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/root/tools/Sublist3r/sublister2/Sublist3r/util/port_scanner.py", line 27, in port_scan
    print("%s%s%s - %sFound open ports:%s %s%s%s" % (G, host, W, R, W, Y, ', '.join(openports), W))
NameError: global name 'G' is not defined
@Plazmaz
Copy link
Owner

Plazmaz commented Sep 10, 2017

Able to reproduce, probably an easy fix, just accidentally screwed up my bash install so I'll fix that first 😋

@Plazmaz
Copy link
Owner

Plazmaz commented Sep 28, 2017

@jhaddix this should be fixed now. Please let me know if there's still issues :)

@jhaddix
Copy link
Author

jhaddix commented Sep 28, 2017

Working for -p now! TY!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants