Update fluxion
This commit is contained in:
parent
d0fe6d8a57
commit
b8541a70d7
36
kali/fluxion
36
kali/fluxion
|
@ -6,7 +6,8 @@
|
||||||
## ##
|
## ##
|
||||||
################################
|
################################
|
||||||
|
|
||||||
|
#HTTPS SCRIPT
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
clear
|
clear
|
||||||
|
@ -57,7 +58,7 @@ airmon
|
||||||
# Check Updates
|
# Check Updates
|
||||||
function checkupdatess {
|
function checkupdatess {
|
||||||
|
|
||||||
revision_online="$(timeout -s SIGTERM 20 curl -L "https://sites.google.com/site/deltaxflux/fluxion" 2>/dev/null| grep "^revision" | cut -d "=" -f2)"
|
revision_online="$(timeout -s SIGTERM 20 curl -L "https://sites.google.com/site/deltaxflux/fluxion_dev" 2>/dev/null| grep "^revision" | cut -d "=" -f2)"
|
||||||
if [ -z "$revision_online" ]; then
|
if [ -z "$revision_online" ]; then
|
||||||
echo "?">$DUMP_PATH/Irev
|
echo "?">$DUMP_PATH/Irev
|
||||||
else
|
else
|
||||||
|
@ -482,22 +483,21 @@ if [ $FLUX_DEBUG != 1 ]; then
|
||||||
spinner "$!"
|
spinner "$!"
|
||||||
revision_online=$(cat $DUMP_PATH/Irev)
|
revision_online=$(cat $DUMP_PATH/Irev)
|
||||||
echo -e ""$white" [${red2}${revision_online}$white"$transparent"]"
|
echo -e ""$white" [${red2}${revision_online}$white"$transparent"]"
|
||||||
# if [ "$revision_online" != "?" ]; then
|
if [ "$revision_online" != "?" ]; then
|
||||||
#
|
|
||||||
# if [ "$revision" != "$revision_online" ]; then
|
if [ "$revision" != "$revision_online" ]; then
|
||||||
#
|
|
||||||
# cp $0 $HOME/flux_rev-$revision.backup
|
cp $0 $HOME/flux_rev-$revision.backup
|
||||||
# curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0" -L https://sites.google.com/site/deltaxflux/fluxion -s -o $0
|
curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0" -L https://sites.google.com/site/deltaxflux/fluxion_dev -s -o $0
|
||||||
# echo
|
echo
|
||||||
# echo
|
echo
|
||||||
# echo -e ""$red"
|
echo -e ""$red"
|
||||||
#Updated successfully! Restarting the script to apply the changes ..."$transparent""
|
Updated successfully! Restarting the script to apply the changes ..."$transparent""
|
||||||
# sleep 5
|
sleep 5
|
||||||
# chmod +x $0
|
chmod +x $0 exec $0
|
||||||
# exec $0
|
|
||||||
#
|
fi
|
||||||
# fi
|
fi
|
||||||
# fi
|
|
||||||
echo ""
|
echo ""
|
||||||
tput cnorm
|
tput cnorm
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
Loading…
Reference in New Issue