karma9874 / AndroRAT

A Simple android remote administration tool using sockets. It uses java on the client side and python on the server side
MIT License
3.06k stars 987 forks source link

when i try to build apk with ngrok I got this error #357

Open plemyashkin01 opened 3 months ago

plemyashkin01 commented 3 months ago

C:\Users\user\AndroRAT>python androRAT.py --build --ngrok -p 8888 Traceback (most recent call last): File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyngrok\ngrok.py", line 518, in api_request response = urlopen(request, encoded_data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 215, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 521, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 630, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 559, in error return self._call_chain(args) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 492, in _call_chain result = func(args) ^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 639, 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 "C:\Users\user\AndroRAT\androRAT.py", line 48, in tcp_tunnel = ngrok.connect(port, "tcp") ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyngrok\ngrok.py", line 320, in connect tunnel = NgrokTunnel(api_request(f"{api_url}/api/tunnels", method="POST", data=options, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyngrok\ngrok.py", line 539, in api_request raise PyngrokNgrokHTTPError(f"ngrok client exception, API returned {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":"failed to start tunnel: You must add a credit or debit card before you can use TCP endpoints on a free account. We require a valid card as a way to combat abuse and keep the internet a safe place. This card will NOT be charged.\nAdd a card to your account here:

infamouskoala commented 2 months ago

read the error lmao, it is mentioned in the last line what the error is

HackerX0070922 commented 1 month ago

[ERROR] pyngrok not found [INFO] Run pip3 install -r requirements.txt Can someone help me

PirateProxy9 commented 1 month ago

[ERROR] pyngrok not found [INFO] Run pip3 install -r requirements.txt Can someone help me

u can clearly see the [INFO] telling u to install the requirements using pip install -r requirements.txt

malik7568044 commented 2 weeks ago

Ngrok is no longer supported

Dimmmo281 commented 5 days ago

how can I fix this problem?

Shuaibabdi21 commented 5 days ago

Dm

On Tue, 1 Oct 2024, 19:41 Dimmmo281, @.***> wrote:

how can I fix this problem?

— Reply to this email directly, view it on GitHub https://github.com/karma9874/AndroRAT/issues/357#issuecomment-2386487485, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6I6ZHYQIOHH3L622FPWKXLZZLGC5AVCNFSM6AAAAABJZWPCLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBWGQ4DONBYGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Dimmmo281 commented 5 days ago

Also, it doesn't work exactly what is related to ngrok, tell me what to do, I've tried almost everything, is it possible to integrate with something similar to it?