Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Blocked Web Page</title>
- <script type="text/javascript" src="/js/md5.js"></script>
- <script language="JavaScript">
- function submit() {
- var pass = document.getElementById('pass').value;
- var url = "%bypassURL%";
- if ((pass != '') && (pass != null)) {
- url += '*' + hex_md5(pass);
- document.location.href = url;
- }
- }
- </script>
- <style type="text/css">
- td {
- color: white;
- font-family: Verdana, Arial, sans-serif;
- font-size: 11px;
- }
- a:link {
- color: white;
- font-family: Verdana, Arial, sans-serif;
- font-size: 11px;
- }
- a:active {
- color: white;
- font-family: Verdana, Arial, sans-serif;
- font-size: 11px;
- }
- a:visited {
- color: white;
- font-family: Verdana, Arial, sans-serif;
- font-size: 11px;
- }
- .label {
- width: 10%;
- }
- .text {
- width: 90%;
- }
- .header {
- font-size: 15px;
- font-family: Verdana, Arial, sans-serif;
- height:40px;
- vertical-align:top;
- }
- </style>
- </head>
- <body style="background-color:#000359;margin:0px;">
- <table style="margin-top:21px;margin-left:18px;" cellpadding="0" cellspacing="0" border="0" width="100%">
- <tr>
- <td class="header" colspan="2">
- <img height="28" style="vertical-align:middle;" src="/images/ico_stop.gif" border="0" alt=""/>
- Blocked Website
- </td>
- </tr>
- <tr>
- <td colspan="2" style="height:50px;">%blockedMessage%</td>
- </tr>
- <tr>
- <td colspan="2" style="height:50px;">%blockedReason%</td>
- </tr>
- <tr><td colspan="2" style="align:left;height:30px;vertical-align:top;"><hr align="left" width="80%"/></td></tr>
- <tr><td colspan="2" class="label">%bypassHTML%</td></tr>
- <tr><td colspan="2" class="label"> </td></tr>
- <tr><td colspan="2" class="label">%contactMessage%</td></tr>
- <tr><td colspan="2" class="label"> </td></tr>
- <tr><td colspan="2" class="label">%spywareCleaner%</td></tr>
- <tr><td colspan="2" style="color:#98999e;height:50px;vertical-align:bottom;">Network Protected by %productName%™</td></tr>
- </table>
- </body>
- '/html>
- <head>
- <META HTTP-EQUIV="Expires" CONTENT="-1">
- <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
- <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
- <title>Network Access User Authentication</title>
- <style type="text/css">
- body {
- font-family: Verdana, Arial, sans-serif;
- font-size: 11px;
- }
- td {
- font-family: Verdana, Arial, sans-serif;
- font-size: 11px;
- }
- a:link {
- color: #003399;
- font-family: Verdana, Arial, sans-serif;
- font-size: 11px;
- }
- a:active {
- color: #003399;
- font-family: Verdana, Arial, sans-serif;
- font-size: 11px;
- }
- a:visited {
- color: #003399;
- font-family: Verdana, Arial, sans-serif;
- font-size: 11px;
- }
- a:hover {
- color: #003399;
- font-family: Verdana, Arial, sans-serif;
- font-size: 11px;
- text-decoration:underline;
- }
- .label {
- width: 10%;
- }
- .text {
- width: 90%;
- }
- table.main {
- margin-top:21px;
- margin-left:18px;
- background-color: #e2eaf7;
- border: 1px solid #204673;
- width: 582px;
- height: 288px;
- }
- div.main {
- display: inline-block;
- width:100%;
- height:100%;
- background-color: #204673;
- }
- .mainTitle {
- color: white;
- font-size: 14px;
- font-weight: bold;
- padding: 5px 5px 5px 10px;
- }
- .padded {
- padding: 5px;
- }
- .mainBody {
- background-color: #e2eaf7;
- width: 100%;
- height: 100%;
- }
- .preamble {
- padding: 20px 5px 5px 20px;
- }
- .blue {
- background-color: #204673;
- width:100%;
- height:100%;
- }
- .fullSize {
- width:100%;
- height:100%;
- }
- .credentialBox
- {
- background-color: white;
- border: 1px solid #204673;
- width:100%;
- height:100%;
- }
- .label {
- font-weight: bold;
- padding-left:20px;
- width: 110px;
- }
- .hint {
- padding-left:10px;
- color: #b1ce95;
- }
- input {
- width: 190px;
- }
- .inputContainer {
- width: 210px;
- }
- .aupLink {
- padding-left: 20px;
- }
- input.button
- {
- border-top: 1px solid #999c93;
- border-left: 1px solid #999c93;
- border-bottom: 1px solid #65645f;
- border-right: 1px solid #65645f;
- background-color:#ccc;
- filter: progid:DXImageTransform.Microsoft.Gradient (GradientType=0,StartColorStr="#ffffff",EndColorStr='#cccccc');
- color: #039;
- font-weight: bold;
- text-decoration:none;
- font-size: 10px;
- font-family: verdana;
- height: 20px;
- cursor:pointer;
- margin: 2px;
- padding-left:5px;
- padding-right:5px;
- padding-bottom:1px;
- }
- form
- {
- margin:0px;
- }
- </style>
- </head>
- <body style="background-color:#e6e7d9;margin:0px;" onload="setFocus();">
- <table class="main" cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="padded">
- <table class="blue" cellpadding="0" cellspacing="0" border="0">
- <tr><td class="mainTitle">%title%</td></tr>
- <tr>
- <td class="padded">
- <table class="mainBody" cellpadding="0" cellspacing="0" border="0">
- <tr><td class="preamble">%description%</td></tr>
- <tr>
- <td class="padded">
- <table class="credentialBox" cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td>
- <form>
- <table cellpadding="0" cellspacing="0" border="0">
- <tr style="height:40px">
- <td></td>
- <td style="color:red;font-weight: bold;" colspan="2">%statusMessage% </td>
- </tr>
- <tr style="height:35px;">
- <td class="label">Username:</td>
- <td class="inputContainer"><input type="text" id="login_username" value="%username%" size="64"/></td>
- <td class="hint">%usernameHint%</td>
- </tr>
- <tr style="height:35px;">
- <td class="label">Password:</td>
- <td class="inputContainer"><input type="password" id="login_pass" onkeyup="if(event.keyCode==13)formSubmit();" size="64"/></td>
- <td class="hint"> </td>
- </tr>
- <tr><td style="height:100px;" colspan="3"> </td></tr>
- <tr>
- <td colspan="3" class="padded">
- <table class="fullSize" cellpadding="0" cellspacing="0" border="0">
- <tr>
- <!-- <td class="aupLink"><a href="javascript:void(0);" onclick="showAUP();">%aupLink%</a></td>-->
- <td style="width:100%;">
- <div style="display:inline-block;float:right">
- <input type="button" class="button" value=" Submit " onclick="formSubmit()"/>
- </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <input type="hidden" id="magicNumber" value="%magicNumber%">
- <input type="hidden" id="postdata" value="%postdata%">
- </form>
- </td>
- </tr>
- </table>
- <form method="POST" id="mainForm" action="%requestURL%"><input type="hidden" name="data" value="" id="sendData"/></form>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <script language="JavaScript">
- function setFocus() {
- var un = document.getElementById('login_username');
- var pass = document.getElementById('login_pass');
- if ( un.value ) { pass.focus(); }
- else un.focus();
- }
- function mkLength ( num, len )
- {
- var lenNum = num + "";
- while ( lenNum.length < len )
- {
- lenNum = "0"+lenNum;
- }
- return lenNum;
- }
- function formSubmit () {
- var un = encode64(document.getElementById('login_username').value);
- var pass = encode64(document.getElementById('login_pass').value);
- var data = document.getElementById('postdata').value;
- var unLen = mkLength(un.length,3);
- var pwLen = mkLength(pass.length,3);
- var dataLen = mkLength(data.length,5);
- var str = document.getElementById('magicNumber').value + unLen + un + pwLen + pass + dataLen + data;
- document.getElementById('sendData').value = str;
- document.getElementById('mainForm').submit();
- }
- var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
- function encode64(input) {
- var output = "";
- var chr1, chr2, chr3;
- var enc1, enc2, enc3, enc4;
- var i = 0;
- do {
- chr1 = input.charCodeAt(i++);
- chr2 = input.charCodeAt(i++);
- chr3 = input.charCodeAt(i++);
- enc1 = chr1 >> 2;
- enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
- enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
- enc4 = chr3 & 63;
- if (isNaN(chr2)) {
- enc3 = enc4 = 64;
- } else if (isNaN(chr3)) {
- enc4 = 64;
- }
- output = output + keyStr.charAt(enc1) + keyStr.charAt(enc2) +
- keyStr.charAt(enc3) + keyStr.charAt(enc4);
- } while (i < input.length);
- return output;
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement