Advertisement
Guest User

For index.php

a guest
Dec 20th, 2011
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. <?php
  2. $ip = $_SERVER['REMOTE_ADDR'];
  3. ?>
  4.  
  5. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  6. <html>
  7.  
  8. <head>
  9. <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
  10. <meta name="author" content="">
  11.  
  12. <title>PHP DoS</title>
  13. </head>
  14. <style type="text/css">
  15. <!--
  16. body {
  17. font-family: Arial, Helvetica, sans-serif;
  18. font-size: 12px;
  19. font-style: normal;
  20. line-height: normal;
  21. color: #FFFFFF;
  22. background-color: #000000;
  23. }
  24.  
  25.  
  26.  
  27. -->
  28. </style>
  29. <body>
  30. <center><br><br>
  31. <b>Your IP:</b> <font color="red"><?php echo $ip; ?></font>&nbsp;(Don't DoS yourself)<br><br>
  32. <form name="input" action="function.php" method="post">
  33. IP:
  34. <input type="text" name="ip" size="15" maxlength="15" class="main" value = "0.0.0.0" onblur = "if ( this.value=='' ) this.value = '0.0.0.0';" onfocus = " if ( this.value == '0.0.0.0' ) this.value = '';">
  35. &nbsp;&nbsp;&nbsp;&nbsp;Time:
  36. <input type="text" name="time" size="14" maxlength="20" class="main" value = "time (in seconds)" onblur = "if ( this.value=='' ) this.value = 'time (in seconds)';" onfocus = " if ( this.value == 'time (in seconds)' ) this.value = '';">
  37. &nbsp;&nbsp;&nbsp;&nbsp;Port:
  38. <input type="text" name="port" size="5" maxlength="5" class="main" value = "port" onblur = "if ( this.value=='' ) this.value = 'port';" onfocus = " if ( this.value == 'port' ) this.value = '';">
  39. <br><br>
  40. <input type="submit" value=" Start the Attack---> ">
  41. <br><br>
  42. <center>
  43. After initiating the DoS attack, please wait while the browser loads.
  44. </center>
  45.  
  46. </form>
  47. </center>
  48. </body>
  49. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement