Hello friends, welcome back to EFX Tv. Today we are going to learn how to host a payload online using Termux. The payload can be accessible Inside and outside the local area network. Do not skip anything. This video has never been uploaded to youtube sofar. By this method, I'm going to share payload online, using my device. You can follow along and share it almost anywhere over the internet. Please make sure you should not skip a bit of this video. A hidden trick nobody has shared on youtube sofar. This video is just for educational purposes. Let's do it now. Please subscribe to EFX Tv.
Click below to watch the video
Click here to get the HTML file
First, open the Termux and create a new directory.
First, open the Termux and create a new directory.
Again switch back to the Termux and create a file index.html and paste everything you have copied. Now delete some texts as I'm doing. Save the file and exit. Now provide the execution permission to the HTML file. Copy the file you want to share or host online. Find the IP of your device, if you are on wifi. Make sure HTML and the file you want to share, need to be in the same directory. Now edit HTML and put the file name. You can use multiple tags if you have multiple files.
Copy the link and paste it in the browser. Click on download, to download the file. Don't skip the video we are about to learn many things. By this method, you can share any file inside the local area network. To host this file outside the LAN you need to turn off the wifi and turn on the mobile data with the hotspot. Yes, we are going to use Ngrok. But there is a trick. If you skip you will not be able to share the file outside the network. After we turned off the wifi you can see that our PHP server is not working. Let's check in the browser. Edit the IP with the localhost.
Now check the browser. Still, our file is running inside the network. Lets forward it using Ngrok. Yes, it is working. Now let me show you what else we can do with the localhost. Don't skip the video, this will help you to do many things using the same file. Now we are going to add an image above the Download link to make our link attractive you can use any image. Open a new terminal and edit the Html file again. Download the image or use the link.
Again image needs to be in the same directory where the Html file exists. Refresh the page and see the magic. We can do some more modifications. I hope you found this tutorial helpful. Then, please hit the like and subscribe button. This was it for the day. Please stay tuned we are going to cover some more awesome unseen tricks in upcoming days. Thank you for watching this video and shout out for all of my viewers who watched it till the end.