Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.07 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>Blocked Web Page</title>
  4. <script type="text/javascript" src="/js/md5.js"></script>
  5. <script language="JavaScript">
  6. function submit() {
  7. var pass = document.getElementById('pass').value;
  8. var url = "%bypassURL%";
  9. if ((pass != '') && (pass != null)) {
  10. url += '*' + hex_md5(pass);
  11. document.location.href = url;
  12. }
  13. }
  14. </script>
  15. <style type="text/css">
  16. td {
  17. color: white;
  18. font-family: Verdana, Arial, sans-serif;
  19. font-size: 11px;
  20. }
  21. a:link {
  22. color: white;
  23. font-family: Verdana, Arial, sans-serif;
  24. font-size: 11px;
  25. }
  26. a:active {
  27. color: white;
  28. font-family: Verdana, Arial, sans-serif;
  29. font-size: 11px;
  30. }
  31. a:visited {
  32. color: white;
  33. font-family: Verdana, Arial, sans-serif;
  34. font-size: 11px;
  35. }
  36. .label {
  37. width: 10%;
  38. }
  39. .text {
  40. width: 90%;
  41. }
  42. .header {
  43. font-size: 15px;
  44. font-family: Verdana, Arial, sans-serif;
  45. height:40px;
  46. vertical-align:top;
  47. }
  48. </style>
  49. </head>
  50. <body style="background-color:#000359;margin:0px;">
  51. <table style="margin-top:21px;margin-left:18px;" cellpadding="0" cellspacing="0" border="0" width="100%">
  52. <tr>
  53. <td class="header" colspan="2">
  54. <img height="28" style="vertical-align:middle;" src="/images/ico_stop.gif" border="0" alt=""/>
  55. &nbsp;&nbsp;Blocked Website
  56. </td>
  57. </tr>
  58. <tr>
  59. <td colspan="2" style="height:50px;">%blockedMessage%</td>
  60. </tr>
  61. <tr>
  62. <td colspan="2" style="height:50px;">%blockedReason%</td>
  63. </tr>
  64. <tr><td colspan="2" style="align:left;height:30px;vertical-align:top;"><hr align="left" width="80%"/></td></tr>
  65. <tr><td colspan="2" class="label">%bypassHTML%</td></tr>
  66. <tr><td colspan="2" class="label">&nbsp;</td></tr>
  67. <tr><td colspan="2" class="label">%contactMessage%</td></tr>
  68. <tr><td colspan="2" class="label">&nbsp;</td></tr>
  69. <tr><td colspan="2" class="label">%spywareCleaner%</td></tr>
  70. <tr><td colspan="2" style="color:#98999e;height:50px;vertical-align:bottom;">Network Protected by %productName%&trade;</td></tr>
  71. </table>
  72. </body>
  73. '/html>
  74.  
  75. <head>
  76. <META HTTP-EQUIV="Expires" CONTENT="-1">
  77. <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
  78. <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
  79. <title>Network Access User Authentication</title>
  80. <style type="text/css">
  81. body {
  82. font-family: Verdana, Arial, sans-serif;
  83. font-size: 11px;
  84. }
  85. td {
  86. font-family: Verdana, Arial, sans-serif;
  87. font-size: 11px;
  88. }
  89. a:link {
  90. color: #003399;
  91. font-family: Verdana, Arial, sans-serif;
  92. font-size: 11px;
  93. }
  94. a:active {
  95. color: #003399;
  96. font-family: Verdana, Arial, sans-serif;
  97. font-size: 11px;
  98. }
  99. a:visited {
  100. color: #003399;
  101. font-family: Verdana, Arial, sans-serif;
  102. font-size: 11px;
  103. }
  104. a:hover {
  105. color: #003399;
  106. font-family: Verdana, Arial, sans-serif;
  107. font-size: 11px;
  108. text-decoration:underline;
  109. }
  110. .label {
  111. width: 10%;
  112. }
  113. .text {
  114. width: 90%;
  115. }
  116. table.main {
  117. margin-top:21px;
  118. margin-left:18px;
  119. background-color: #e2eaf7;
  120. border: 1px solid #204673;
  121. width: 582px;
  122. height: 288px;
  123. }
  124. div.main {
  125. display: inline-block;
  126. width:100%;
  127. height:100%;
  128. background-color: #204673;
  129. }
  130. .mainTitle {
  131. color: white;
  132. font-size: 14px;
  133. font-weight: bold;
  134. padding: 5px 5px 5px 10px;
  135. }
  136. .padded {
  137. padding: 5px;
  138. }
  139. .mainBody {
  140. background-color: #e2eaf7;
  141. width: 100%;
  142. height: 100%;
  143. }
  144. .preamble {
  145.  
  146. padding: 20px 5px 5px 20px;
  147. }
  148. .blue {
  149. background-color: #204673;
  150. width:100%;
  151. height:100%;
  152. }
  153. .fullSize {
  154. width:100%;
  155. height:100%;
  156. }
  157. .credentialBox
  158. {
  159. background-color: white;
  160. border: 1px solid #204673;
  161. width:100%;
  162. height:100%;
  163. }
  164. .label {
  165. font-weight: bold;
  166. padding-left:20px;
  167. width: 110px;
  168. }
  169. .hint {
  170. padding-left:10px;
  171. color: #b1ce95;
  172. }
  173. input {
  174. width: 190px;
  175. }
  176. .inputContainer {
  177. width: 210px;
  178. }
  179. .aupLink {
  180. padding-left: 20px;
  181. }
  182. input.button
  183. {
  184. border-top: 1px solid #999c93;
  185. border-left: 1px solid #999c93;
  186. border-bottom: 1px solid #65645f;
  187. border-right: 1px solid #65645f;
  188. background-color:#ccc;
  189. filter: progid:DXImageTransform.Microsoft.Gradient (GradientType=0,StartColorStr="#ffffff",EndColorStr='#cccccc');
  190. color: #039;
  191. font-weight: bold;
  192. text-decoration:none;
  193. font-size: 10px;
  194. font-family: verdana;
  195. height: 20px;
  196. cursor:pointer;
  197. margin: 2px;
  198. padding-left:5px;
  199. padding-right:5px;
  200. padding-bottom:1px;
  201. }
  202. form
  203. {
  204. margin:0px;
  205. }
  206.  
  207. </style>
  208. </head>
  209. <body style="background-color:#e6e7d9;margin:0px;" onload="setFocus();">
  210. <table class="main" cellpadding="0" cellspacing="0" border="0">
  211. <tr>
  212. <td class="padded">
  213. <table class="blue" cellpadding="0" cellspacing="0" border="0">
  214. <tr><td class="mainTitle">%title%</td></tr>
  215. <tr>
  216. <td class="padded">
  217. <table class="mainBody" cellpadding="0" cellspacing="0" border="0">
  218. <tr><td class="preamble">%description%</td></tr>
  219. <tr>
  220. <td class="padded">
  221. <table class="credentialBox" cellpadding="0" cellspacing="0" border="0">
  222. <tr>
  223. <td>
  224. <form>
  225. <table cellpadding="0" cellspacing="0" border="0">
  226. <tr style="height:40px">
  227. <td></td>
  228. <td style="color:red;font-weight: bold;" colspan="2">%statusMessage%&nbsp;</td>
  229. </tr>
  230. <tr style="height:35px;">
  231. <td class="label">Username:</td>
  232. <td class="inputContainer"><input type="text" id="login_username" value="%username%" size="64"/></td>
  233. <td class="hint">%usernameHint%</td>
  234. </tr>
  235. <tr style="height:35px;">
  236. <td class="label">Password:</td>
  237. <td class="inputContainer"><input type="password" id="login_pass" onkeyup="if(event.keyCode==13)formSubmit();" size="64"/></td>
  238. <td class="hint">&nbsp;</td>
  239. </tr>
  240. <tr><td style="height:100px;" colspan="3">&nbsp;</td></tr>
  241. <tr>
  242. <td colspan="3" class="padded">
  243. <table class="fullSize" cellpadding="0" cellspacing="0" border="0">
  244. <tr>
  245. <!-- <td class="aupLink"><a href="javascript:void(0);" onclick="showAUP();">%aupLink%</a></td>-->
  246. <td style="width:100%;">
  247. <div style="display:inline-block;float:right">
  248. <input type="button" class="button" value=" Submit " onclick="formSubmit()"/>
  249. </div>
  250. </td>
  251. </tr>
  252. </table>
  253. </td>
  254. </tr>
  255. </table>
  256. <input type="hidden" id="magicNumber" value="%magicNumber%">
  257. <input type="hidden" id="postdata" value="%postdata%">
  258. </form>
  259. </td>
  260. </tr>
  261. </table>
  262. <form method="POST" id="mainForm" action="%requestURL%"><input type="hidden" name="data" value="" id="sendData"/></form>
  263. </td>
  264. </tr>
  265. </table>
  266. </td>
  267. </tr>
  268. </table>
  269. </td>
  270. </tr>
  271. </table>
  272. <script language="JavaScript">
  273.  
  274. function setFocus() {
  275. var un = document.getElementById('login_username');
  276. var pass = document.getElementById('login_pass');
  277. if ( un.value ) { pass.focus(); }
  278. else un.focus();
  279. }
  280.  
  281. function mkLength ( num, len )
  282. {
  283. var lenNum = num + "";
  284. while ( lenNum.length < len )
  285. {
  286. lenNum = "0"+lenNum;
  287. }
  288. return lenNum;
  289. }
  290.  
  291. function formSubmit () {
  292. var un = encode64(document.getElementById('login_username').value);
  293. var pass = encode64(document.getElementById('login_pass').value);
  294. var data = document.getElementById('postdata').value;
  295.  
  296. var unLen = mkLength(un.length,3);
  297. var pwLen = mkLength(pass.length,3);
  298. var dataLen = mkLength(data.length,5);
  299.  
  300. var str = document.getElementById('magicNumber').value + unLen + un + pwLen + pass + dataLen + data;
  301. document.getElementById('sendData').value = str;
  302. document.getElementById('mainForm').submit();
  303. }
  304.  
  305. var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
  306.  
  307. function encode64(input) {
  308. var output = "";
  309. var chr1, chr2, chr3;
  310. var enc1, enc2, enc3, enc4;
  311. var i = 0;
  312.  
  313. do {
  314. chr1 = input.charCodeAt(i++);
  315. chr2 = input.charCodeAt(i++);
  316. chr3 = input.charCodeAt(i++);
  317.  
  318. enc1 = chr1 >> 2;
  319. enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
  320. enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
  321. enc4 = chr3 & 63;
  322.  
  323. if (isNaN(chr2)) {
  324. enc3 = enc4 = 64;
  325. } else if (isNaN(chr3)) {
  326. enc4 = 64;
  327. }
  328.  
  329. output = output + keyStr.charAt(enc1) + keyStr.charAt(enc2) +
  330. keyStr.charAt(enc3) + keyStr.charAt(enc4);
  331. } while (i < input.length);
  332.  
  333. return output;
  334. }
  335.  
  336. </script>
  337. </body>
  338. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement