AhMyth icon indicating copy to clipboard operation
AhMyth copied to clipboard

NGROK or diffrent provider as an option instead of port forwarding

Open DoubleRainbowXT opened this issue 10 months ago • 21 comments

Is your feature request related to a problem?

  • [x] Yes
  • [ ] No

Describe the solution or enhancement you'd like

A clear and concise description of what you want to happen.


Some devices dont support port forwarding like debian on an chrome os machine. So it would be a good feature to use ngrok or something else.

DoubleRainbowXT avatar Oct 14 '23 14:10 DoubleRainbowXT

It seems that people really need this sort of feature but just to let people know, every tunneling option I've seen requires account setup before use, but if people don't mind doing this I can probably integrate a some type of option for ngrok

Morsmalleo avatar Oct 14 '23 16:10 Morsmalleo

thank you so much its really needed. Now i can do it on my chromebook and android. Your an amazing coder btw! You inspire me. :)

This will be closed as soon as this option has been integrated, but I just need to figure out how it's going to be done, maybe a settings tab with a type field that allows users to input their authtoken, with a button option to enable tunneling and be greeted with their Tunnel IP and Tunnel Port, the button would work the same for disabling ngrok tunneling, but this is just an idea at the moment as to how it will be implemented

Morsmalleo avatar Oct 17 '23 23:10 Morsmalleo

i would also recommend using https://localxpose.io/ or ngrok but i think https://localxpose.io/ is slightly more better at keeping urls. :)

Will DEFINITELY look into localxpose, pretty sure the creator of AhMyth actually created localxpose to, not 100% sure

Morsmalleo avatar Oct 22 '23 15:10 Morsmalleo

i would also recommend using https://localxpose.io/ or ngrok but i think https://localxpose.io/ is slightly more better at keeping urls. :)

Will DEFINITELY look into localxpose, pretty sure the creator of AhMyth actually created localxpose to, not 100% sure

Yep he did to, Ahmed Al Hajri created both AhMyth and Localxpose so I'll definitely look into this one

Morsmalleo avatar Oct 23 '23 12:10 Morsmalleo

But this would still be nice for termux users! :) edit: But would also be easier for Chrome OS users then configuring router, most of here dont know anything about tech lol.

Well I can certainly integrate an ngrok option that can automatically apply an ngrok tunnel IP and Port this way people don't need to fuck around with their settings or anything like that to achieve port forwarding lol 😜 I'm just trying to figure out an effective way to implement it so it's easy for most, if not, all users to use 😁

Morsmalleo avatar Oct 30 '23 00:10 Morsmalleo

But this would still be nice for termux users! :) edit: But would also be easier for Chrome OS users then configuring router, most of here dont know anything about tech lol.

Well I can certainly integrate an ngrok option that can automatically apply an ngrok tunnel IP and Port this way people don't need to fuck around with their settings or anything like that to achieve port forwarding lol 😜 I'm just trying to figure out an effective way to implement it so it's easy for most, if not, all users to use 😁

Maybe a "Settings" Tab in the AhMyth GUI with an ngrok option?

Maybe a user could click a "Settings" Tab in the Main AhMyth GUI and be greeted with a Settings menu that can do a few things for the User

  • Set a Custom Directory for Payloads to be stored in once they've been built and signed
  • Tunneling Options
    • Ngrok
      • ngrok authtoken input field
      • Input field for the users IP and a chosen port with a dropdown menu next to it to select the protocol (i.e TCP, HTTP - Will probably only support TCP for the time being), with a text box to display the ngrok Tunnel IP and Port as well as the Listening Port, sort of like something with the example below
Server IP: 0.tcp.ngrok.io
Server Port: 19583          
Listening Port: 42474

Morsmalleo avatar Oct 30 '23 00:10 Morsmalleo

But this would still be nice for termux users! :) edit: But would also be easier for Chrome OS users then configuring router, most of here dont know anything about tech lol.

Well I can certainly integrate an ngrok option that can automatically apply an ngrok tunnel IP and Port this way people don't need to fuck around with their settings or anything like that to achieve port forwarding lol 😜 I'm just trying to figure out an effective way to implement it so it's easy for most, if not, all users to use 😁

Maybe a "Settings" Tab in the AhMyth GUI with an ngrok option? Maybe a user could click a "Settings" Tab in the Main AhMyth GUI and be greeted with a Settings menu that can do a few things for the User

  • Set a Custom Directory for Payloads to be stored in once they've been built and signed

  • Tunneling Options

    • Ngrok

      • ngrok authtoken input field
      • Input field for the users IP and a chosen port with a dropdown menu next to it to select the protocol (i.e TCP, HTTP - Will probably only support TCP for the time being), with a text box to display the ngrok Tunnel IP and Port as well as the Listening Port, sort of like something with the example below
Server IP: 0.tcp.ngrok.io
Server Port: 19583          
Listening Port: 42474

That would be really cool! :)

No worries, I'll get to work! 😁

Morsmalleo avatar Oct 30 '23 00:10 Morsmalleo

But this would still be nice for termux users! :) edit: But would also be easier for Chrome OS users then configuring router, most of here dont know anything about tech lol.

Well I can certainly integrate an ngrok option that can automatically apply an ngrok tunnel IP and Port this way people don't need to fuck around with their settings or anything like that to achieve port forwarding lol 😜 I'm just trying to figure out an effective way to implement it so it's easy for most, if not, all users to use 😁

Maybe a "Settings" Tab in the AhMyth GUI with an ngrok option? Maybe a user could click a "Settings" Tab in the Main AhMyth GUI and be greeted with a Settings menu that can do a few things for the User

  • Set a Custom Directory for Payloads to be stored in once they've been built and signed

  • Tunneling Options

    • Ngrok

      • ngrok authtoken input field
      • Input field for the users IP and a chosen port with a dropdown menu next to it to select the protocol (i.e TCP, HTTP - Will probably only support TCP for the time being), with a text box to display the ngrok Tunnel IP and Port as well as the Listening Port, sort of like something with the example below
Server IP: 0.tcp.ngrok.io
Server Port: 19583          
Listening Port: 42474

That would be really cool! :)

No worries, I'll get to work! 😁

Ok here's a rundown of what's the Settings Tab will look like, I'm using Bulletins to do this, so it's not an actual display yet, this will be done later on

⚙️ Settings

  • Output Payload Directory
    • [____________________] - Input Field to specify the path where payloads should be stored
      • Save - Button to save the configuration so payloads are always stored in the custom directory specified in the input field
  • Tunneling Options
    • ngrok (clickable option)
      • Protocol (dropdown menu to select the ngrok tunneling protocol)
        • User IP: [10.0.2.15] (User IP Input Field)
        • User Port: [42474] (User Port input Field)
        • Tunnel (Button to initiate Ngrok tunneling)
        • Result: (Text Box to display the resulting Tunnel IP and Tunnel Port along with the Listening Port, once the Tunneling Button has been clicked) Server IP: 0.tcp.ngrok.io Server Port: 19583 Listening Port: 42474

How do people feel about this???

Morsmalleo avatar Oct 30 '23 08:10 Morsmalleo

it would also be awesome if it would hide the app from the home screen so the user dosent know its installed and auto accept the permissons using the accessability.

Off topic, open another feature request for this one.

Morsmalleo avatar Nov 01 '23 09:11 Morsmalleo

Here's what I've got so far for the settings tab containing the ngrok tunneling service option:

Capture Capture2 Capture3 Capture4

what does everyone think so far??

Morsmalleo avatar Nov 20 '23 14:11 Morsmalleo

nice :D

Awesome, glad people like it, it's nearly done, I'll write back here when it's done

Morsmalleo avatar Nov 22 '23 19:11 Morsmalleo

nice :D

Awesome, glad people like it, it's nearly done, I'll write back here when it's done

How many days left for this top update? I am very excited with this.

She's nearly done man, once it's done I'll notify everyone on this issue, and you'll be able to use it in the next release

Morsmalleo avatar Dec 02 '23 22:12 Morsmalleo

Ngrok is good but for permanent static ip I prefer portmap.io, that way users will not have to change the LHOST every time they create a new tunnel, in ngrok, every time users open a new tunnel, it gives a new IP address, pfffffffffff, it's quiet troublesome if you want to maintain access to victim phone. Why don't you think about integrating portmap.io instead of ngrok?

A-Unix avatar Jan 28 '24 10:01 A-Unix