Description
Welcome to Termux
Docs: https://doc.termux.com
Community: https://community.termux.com
Working with packages:
- Search: pkg search
- Install: pkg install
- Upgrade: pkg upgrade
Report issues at https://bugs.termux.com
~/instahack $ python hackinsta.py
2 Passwords loads successfully
Please enter a username: @sare13875
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/urllib3/connection.py
", line 199, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/urllib3/util/connecti
on.py", line 85, in create_connection
raise err
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/urllib3/util/connecti
on.py", line 73, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/urllib3/connectionpoo
l.py", line 789, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/urllib3/connectionpoo
l.py", line 490, in _make_request
raise new_e
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/urllib3/connectionpoo
l.py", line 466, in _make_request
self._validate_conn(conn)
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/urllib3/connectionpoo
l.py", line 1095, in _validate_conn
conn.connect()
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/urllib3/connection.py
", line 693, in connect
self.sock = sock = self._new_conn()
^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/urllib3/connection.py
", line 214, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x77b
1284320>: Failed to establish a new connection: [Errno 101] Network is unreachable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/requests/adapters.py"
, line 667, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/urllib3/connectionpoo
l.py", line 843, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/urllib3/util/retry.py
", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.instagram.com', port=443):
Max retries exceeded with url: /@sare13875/?__a=1 (Caused by NewConnectionError('<urllib3
.connection.HTTPSConnection object at 0x77b1284320>: Failed to establish a new connection:
[Errno 101] Network is unreachable'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/data/com.termux/files/home/instahack/hackinsta.py", line 81, in
username = userExists(username)
^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/instahack/hackinsta.py", line 20, in userExists
r = requests.get('https://www.instagram.com/%s/?__a=1' % username)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/requests/api.py", lin
e 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/requests/api.py", lin
e 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/requests/sessions.py"
, line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/requests/sessions.py"
, line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/requests/adapters.py"
, line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.instagram.com', port=44
3): Max retries exceeded with url: /@sare13875/?__a=1 (Caused by NewConnectionError('<urll
ib3.connection.HTTPSConnection object at 0x77b1284320>: Failed to establish a new connecti
on: [Errno 101] Network is unreachable'))
~/instahack $