Note am sharing this post is only for educational purpose so dont act like skids and start manuplating inocent people you r responsible for your own action.
Step 1 first of all what is ngrok ? Well ngrok is a turnelling hoster which provide ip adresss and port to use over( wan wide area network) u can also host payload and reverse shell on wan
Using ngrok without exposing your original ip.
Step2 here is the link to download ngrok
Step3 after downloading and setting ngrok you have two options first to host payload you have to type ./ngrok tcp what ever the port you have given at the starting of ngrok
And to host apache websever on wan or to host a phishing page
You have to type ./ngrok http 80 this will open link of ngrok
Their is a google phishing page script which is available on github you just nead to clone the repo from github
By the command git clone and the repo link
Step 5 after cloning the repo their are four files in the
Repo accounts gmail.php index.php logins.txt redirect.php
You just have to move all these files into apache web server
After moving all the files in the apache web server folder
You just need to start ngrok so go to terminal and type ./ngrok http 80 this will give you two link one is http and another is https send this link to your victim and when the target fill his credentials all the credentials store in logins.txt
I hope this will help you all to understand how to host phishing page on wan using ngrok if their is any mistake on the post or comand notify me cuz we learn from our mistake
And this is only for educational purpose so be safe and educate every one on internet .