Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

IOError: [Errno socket error] [Errno -2] Name or service not known #252

Closed
Sc0rp11 opened this issue Jul 12, 2017 · 0 comments
Closed

IOError: [Errno socket error] [Errno -2] Name or service not known #252

Sc0rp11 opened this issue Jul 12, 2017 · 0 comments

Comments

@Sc0rp11
Copy link

Sc0rp11 commented Jul 12, 2017

LOG
After the IO error i dont get any more traffic.
When i visit a HTTPS page on victim's device. It redirects it to http and then :

Traceback (most recent call last):
File "/home/hargerao/Documents/Tools/WiFi-Pumpkin-master/core/servers/proxy/tcp/intercept.py", line 43, in run
self.main()
File "/home/hargerao/Documents/Tools/WiFi-Pumpkin-master/core/servers/proxy/tcp/intercept.py", line 94, in main
self.plugins[Active].filterPackets(pkt)
File "/home/hargerao/Documents/Tools/WiFi-Pumpkin-master/plugins/analyzers/image.py", line 40, in filterPackets
urlretrieve('http://{}{}'.format(http_layer.fields['Host'], http_layer.fields['Path']),file_name)
File "/usr/lib/python2.7/urllib.py", line 98, in urlretrieve
return opener.retrieve(url, filename, reporthook, data)
File "/usr/lib/python2.7/urllib.py", line 245, in retrieve
fp = self.open(url, data)
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 557, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno -2] Name or service not known

I get this error then.
WiFi-Pumpkin is running fine with Sergioproxy or Pumpkinproxy. This is only with SSLSTRIP+/Dns2Proxy

Thankyou

@mh4x0f mh4x0f changed the title IO Error IOError: [Errno socket error] [Errno -2] Name or service not known Jul 13, 2017
@mh4x0f mh4x0f added the solved label Jul 15, 2017
@mh4x0f mh4x0f closed this as completed Jul 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants