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

HONEYPOT ERROR #27

Closed
pr0gr35528 opened this issue Feb 20, 2018 · 4 comments
Closed

HONEYPOT ERROR #27

pr0gr35528 opened this issue Feb 20, 2018 · 4 comments

Comments

@pr0gr35528
Copy link

pr0gr35528 commented Feb 20, 2018

i'm running striker.py and i found error in line... how to fix this error.. please help me

Traceback (most recent call last):
File "striker.py", line 232, in
honeypot(ip_addr)
File "striker.py", line 125, in honeypot
phoney = br.open(honey).read()
File "/usr/lib/python2.7/dist-packages/mechanize/_mechanize.py", line 203, in open
return self._mech_open(url, data, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/mechanize/_mechanize.py", line 230, in _mech_open
response = UserAgentBase.open(self, request, data)
File "/usr/lib/python2.7/dist-packages/mechanize/_opener.py", line 193, in open
response = urlopen(self, req, data)
File "/usr/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 344, in _open
'_open', req)
File "/usr/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 332, in _call_chain
result = func(args)
File "/usr/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 1170, in https_open
return self.do_open(conn_factory, req)
File "/usr/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 1118, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: WRONG_VERSION_NUMBER] wrong version number (ssl.c:661)>
*

@s0md3v
Copy link
Owner

s0md3v commented Feb 21, 2018

Its an error caused by the dependencies or the website itself, not the Striker.
Try using http:// instead of https:// or vice versa.
If that doesn't fixes the issue, maybe SSL has been configured improperly on the website.

@xillwillx
Copy link

im getting same error with either http or https, should add some error checking

[?] Would you like to use WPScan? [Y/n] n Traceback (most recent call last): File "striker.py", line 252, in <module> honeypot(ip_addr) File "striker.py", line 137, in honeypot phoney = br.open(honey).read() File "/usr/lib/python2.7/dist-packages/mechanize/_mechanize.py", line 203, in open return self._mech_open(url, data, timeout=timeout) File "/usr/lib/python2.7/dist-packages/mechanize/_mechanize.py", line 255, in _mech_open raise response mechanize._response.httperror_seek_wrapper: HTTP Error 404: Not Found

@thehappydinoa
Copy link
Contributor

I will look into this

@RicardoGeek
Copy link

this url: https://api.shodan.io/labs/honeyscore/
resets the connection, that is why it fails. Is this a private service?

@s0md3v s0md3v closed this as completed in abd4013 Mar 21, 2018
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

5 participants