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

MD5 strings time out and fail to detect and or decode #21

Open
digitaloffensive opened this issue Sep 1, 2019 · 1 comment
Open

MD5 strings time out and fail to detect and or decode #21

digitaloffensive opened this issue Sep 1, 2019 · 1 comment

Comments

@digitaloffensive
Copy link

digitaloffensive commented Sep 1, 2019

Starting recently md5 strings seem to time out trying to use the third party service. No notice if the service is down or if something has changed. I tried installing the newest version of decodify and same issues.

File "./dcode", line 295, in decode
MD5(string, base)
File "./dcode", line 167, in MD5
string = urlopen(url).read()
File "/usr/lib/python2.7/urllib.py", line 87, in urlopen
return opener.open(url)
File "/usr/lib/python2.7/urllib.py", line 213, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 350, in open_http
h.endheaders(data)
File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 844, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 821, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 575, in create_connection
raise err
IOError: [Errno socket error] [Errno 110] Connection timed out

@digitaloffensive
Copy link
Author

I was able to fix it by updating the following code with a https vs original http:

Original
def MD5(string, base):
url = "http://www.nitrxgen.net/md5db/" + string

New
def MD5(string, base):
url = "https://www.nitrxgen.net/md5db/" + string

Works now

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

1 participant