Morsmalleo / AhMyth

Cross-Platform Android Remote Administration Tool | Official maintained repository for the AhMyth R.A.T Project | A dedicated revival of the original repository at https://GitHub.com/AhMyth/AhMyth-Android-RAT
GNU General Public License v3.0
787 stars 191 forks source link

Victim connections won't return #150

Closed sir-Five5 closed 2 years ago

sir-Five5 commented 2 years ago

I've tried it hundred times it don't show the phone in victims lab. I'm using a Samsung Galaxy star for test run, changed ports, ip, anything BUT still doesn't work

Morsmalleo commented 2 years ago

Ok so let's determine what the problem is, could you send me a screenshot of your IP & Port configuration, also can you please let me know your OS type as well please.

Morsmalleo commented 2 years ago

I will need a reply on this soon otherwise I'll have to close & delete this issue after it's reached 24hrs of being an active open issue.

Morsmalleo commented 2 years ago

I use Kali my ip is 172.20.10.3 and the port I used at first was default then 1085,9090,42475,42474 …

Ok so can you tell me if your IP type is either wlan or eth, you can check this by typing ipconfig in the terminal, normally it would show something like eth0 or wlan0 etc..

sir-Five5 commented 2 years ago

I think it's eth0 I'm not sure. I don't have my pc with me right now but I'll tell you in a few hours

Morsmalleo commented 2 years ago

I think it's eth0 I'm not sure. I don't have my pc with me right now but I'll tell you in a few hours

I will wait for your reply

sir-Five5 commented 2 years ago

Nope, it's wlan0

Morsmalleo commented 2 years ago

Yep thought so, that's usually always why victims don't reconnect for tests, your IP type is wlan which means it's your public IP being used for Kali, you will need to either port forward your IP and the port you're using for AhMyth, or use ngrok

I would personally recommend ngrok because it's MUUUCH easier

sir-Five5 commented 2 years ago

Thanks

Morsmalleo commented 2 years ago

Here's a basic rundown...

Morsmalleo commented 2 years ago

ngrok is very simple to use as well, once it's installed, just run your IP and your AhMyth port through ngrok and follow the photo below #

  1. First run your own equivalent of the command below, refer to the example for help.
    
    ngrok tcp yourIPaddress:yourPortNumber

Example

ngrok tcp 127.0.0.1:4444


#
2. Then Follow the Picture Below.
<br>

![ngrok WAN help](https://user-images.githubusercontent.com/64344168/184434727-6d5078eb-fa41-425a-bac2-34423d9a64d3.png)

</br>

`Source IP` = The IP you Build the APK with.
`Source Port` = The Port you Build the APK with.
`Listen to this port` = The Port number you listen on, which you ran through ngrok so something like `4444`
Morsmalleo commented 2 years ago

Hopefully that helps you out 😁 ngrok is also free as well

sir-Five5 commented 2 years ago

Yea, not only helped I learned something too

Morsmalleo commented 2 years ago

Awesome 😎