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

ModuleNotFoundError: No module named 'win inet pton' #26

Closed
Aholicknight opened this issue Apr 11, 2018 · 8 comments
Closed

ModuleNotFoundError: No module named 'win inet pton' #26

Aholicknight opened this issue Apr 11, 2018 · 8 comments

Comments

@Aholicknight
Copy link

I installed everything correctly but when I try to resolve a website I get this:

Traceback (most recent call last) :
File "cloudfail.py", line 13, in <module>
import win_inet_pton
ModuleNotFoundError: No module named 'win inet pton'

Photo:
image

@m0rtem
Copy link
Owner

m0rtem commented Apr 13, 2018

Hmm, seems you dont have the win inet python package installed.

Try to run:

pip3 install win_inet_pton

@Aholicknight
Copy link
Author

@m0rtem Did that and it says ImportError: Entry point ('console_scripts', 'pip3') not found (same thing with the other issue)

@m0rtem
Copy link
Owner

m0rtem commented Apr 16, 2018

Closing #28 (comment) as it is same issue. You do not have pip installed for python3. you need this in order to install packages for python3 and not python2. Please look at installing pip3 and then do pip3 install requirements.txt

@ghost
Copy link

ghost commented Nov 9, 2018

You ranpip install -r requirements.txtand installed it for py2, like I just did, a second ago.
if you use pip3 install -r requirements.txt it works perfectly, a m0rtem correctly suggested.

@Aholicknight
Copy link
Author

@Ba5h3r Thanks.

@xakod
Copy link

xakod commented Aug 2, 2019

Arch is here now
(base) [net_client@netarchwork CloudFail]$ python3 cloudfail.py Traceback (most recent call last): File "cloudfail.py", line 13, in <module> import win_inet_pton ModuleNotFoundError: No module named 'win_inet_pton' (base) [net_client@netarchwork CloudFail]$ sudo pip3 install win_inet_pton Requirement already satisfied: win_inet_pton in /usr/lib/python3.7/site-packages (1.0.1)
What's wrong ? Thanx

@saikiran994
Copy link

pip install win_inet_pton or pip install win-inet-pton

@jerrygems
Copy link

┌─[✗]─[sp1d3y@parrot]─[~/bbh-tools/CloudFail]
└──╼ $python3 cloudfail.py --target replaced_for_some_reason --tor


/ | | ___ _ _ __| | | () |
| | | |/ _ | | | |/ | |_ / _ | | |
| |
| | (
) | |
| | (
| | | (| | | |
_||_/ _,|_,|| _,||_|
v1.0.5 by m0rtem

[10:10:38] Initializing CloudFail - the date is: 21/12/2022
Traceback (most recent call last):
File "/home/sp1d3y/bbh-tools/CloudFail/socks.py", line 732, in connect
_BaseSocket.connect(self, proxy_addr)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
raise err
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
sock.connect(sa)
File "/home/sp1d3y/bbh-tools/CloudFail/socks.py", line 743, in connect
raise ProxyConnectionError(msg, error)
socks.ProxyConnectionError: Error connecting to SOCKS5 proxy 127.0.0.1:9050: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 234, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/lib/python3.9/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 950, in send
self.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 200, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1e29e9f4f0>: Failed to establish a new connection: Error connecting to SOCKS5 proxy 127.0.0.1:9050: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='ipinfo.io', port=80): Max retries exceeded with url: /ip (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1e29e9f4f0>: Failed to establish a new connection: Error connecting to SOCKS5 proxy 127.0.0.1:9050: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/sp1d3y/bbh-tools/CloudFail/cloudfail.py", line 288, in
tor_ip = requests.get(ipcheck_url)
File "/usr/lib/python3/dist-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='ipinfo.io', port=80): Max retries exceeded with url: /ip (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1e29e9f4f0>: Failed to establish a new connection: Error connecting to SOCKS5 proxy 127.0.0.1:9050: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/sp1d3y/bbh-tools/CloudFail/cloudfail.py", line 295, in
print(e, net_exc)
NameError: name 'net_exc' is not defined

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