|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 64
Members: 0
Total: 64
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Decoding Help |
|
Posted: Sat Apr 18, 2009 5:33 pm |
|
|
GDJ |
Beginner |
|
|
Joined: Apr 18, 2009 |
Posts: 3 |
|
|
|
|
|
|
|
hello all
I need to decode one file, I think file encoded with byterun and PHPLockIt. I have both decoder but byterun decoder not working now
here is enocded lines:
Code: | <?php $OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14}.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=16420;eval($OOO0000O0('aWYoITApJE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwME8wMCgkTzAwME8wTzAwLDEwMjQpOyRPME8wMDBPMDAoJE8wMDBPME8wMCw0MDk2KTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTz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R . '/inc/include/functions.inc.php'); define( 'UNIQUE_SUBVERSION', "8021" ); function send_activation($query, $others = '') { $host = 'dle-news.ru'; $path = '/extras/activate2009.php'; $post = "POST $path HTTP/1.1\r\nHost: $host\r\nContent-type: application/x-www-form-urlencoded\r\n{$others}User-Agent: Mozilla 4.0\r\nContent-length: " . strlen( $query ) . "\r\nConnection: close\r\n\r\n$query"; $h = @fsockopen( $host, 80, $errno, $errstr, 10 ); if( ! $h ) { return "-1"; } else { fwrite( $h, $post ); for($a = 0, $r = ''; ! $a;) { $b = fread( $h, 8192 ); $r .= $b; $a = (($b == '') ? 1 : 0); } fclose( $h ); } if( stristr( $r, "antw:activated" ) ) return "1"; if( stristr( $r, "antw:denied" ) ) return "0"; return "-1"; } function get_domen_hash() { $domen_info = explode( '.', $_SERVER['HTTP_HOST'] ); $count_key = count( $domen_info ) - 1; unset( $domen_info[$count_key] ); if( end( $domen_info ) == "com" or end( $domen_info ) == "net" ) $count_key --; $domen_info = $domen_info[$count_key - 1]; $domen_info = md5( md5( $domen_info . "780918" ) ); return $domen_info; } function dle_activation($key, $domen_info, $config) { include (ROOT_DIR . '/language/' . $config['langs'] . '/adminpanel.lng'); $config['charset'] = ($lang['charset'] != '') ? $lang['charset'] : $config['charset']; $domain = urlencode( strip_tags( $_SERVER['HTTP_HOST'] ) ); $key = trim( strip_tags( $key ) ); if( $key == md5( $domen_info . UNIQUE_SUBVERSION ) ) { $buffer = "1"; } elseif( strlen( $key ) == 32 ) { $buffer = "-2"; } else { $buffer = send_activation( "domain={$domain}&key={$key}&site_key={$domen_info}&c_id=" . $config['version_id'] ); } switch ($buffer) { case "-2" : $buffer = $lang['trial_act5']; break; case "-1" : $buffer = $lang['trial_act1'] . $lang['get_offline_key'] . " <a href=\"http://dle-news.ru/index.php?do=offlinekey&domain={$domain}&key={$key}&site_key={$domen_info}&c_id=" . $config['version_id'] . "\" >" . $lang['get_key'] . "</a> " . $lang['key_activation']; break; case "0" : $buffer = $lang['trial_act2'] . $lang['get_offline_key'] . " <a href=\"http://dle-news.ru/index.php?do=offlinekey&domain={$domain}&key={$key}&site_key={$domen_info}&c_id=" . $config['version_id'] . "\" >" . $lang['get_key'] . "</a> " . $lang['key_activation']; break; case "1" : $config['key'] = md5( $domen_info . UNIQUE_SUBVERSION ); $handler = fopen( ENGINE_DIR . '/data/config.php', "w" ); fwrite( $handler, "<?PHP \n\n//System Configurations\n\n\$config = array (\n\n" ); foreach ( $config as $name => $value ) { fwrite( $handler, "'{$name}' => \"{$value}\",\n\n" ); } fwrite( $handler, ");\n\n?>" ); fclose( $handler ); $buffer = $lang['trial_act3']; break; default : $buffer = $lang['trial_act4'] . $lang['get_offline_key'] . " <a href=\"http://dle-news.ru/index.php?do=offlinekey&domain={$domain}&key={$key}&site_key={$domen_info}&c_id=" . $config['version_id'] . "\" >" . $lang['get_key'] . "</a> " . $lang['key_activation']; } @header( "Content-type: text/css; charset=" . $config['charset'] ); echo $buffer; die(); } extract( $_REQUEST, EXTR_SKIP ); require_once (ENGINE_DIR . '/data/config.php'); $domen_info = get_domen_hash(); $lic_tr = true; if( $_REQUEST['activation'] == "yes" ) { dle_activation( $_REQUEST['dle_key'], $domen_info, $config ); exit(); } $auto_detect_config = false; $domen_info = md5( $domen_info . UNIQUE_SUBVERSION ); if( $domen_info == $config['key'] ) $lic_tr = false; if( $config['http_home_url'] == "" ) { $config['http_home_url'] = explode( $config['admin_path'], $_SERVER['PHP_SELF'] ); $config['http_home_url'] = reset( $config['http_home_url'] ); $config['http_home_url'] = "http://" . $_SERVER['HTTP_HOST'] . $config['http_home_url']; $auto_detect_config = true; } require_once (ENGINE_DIR . '/classes/mysql.php'); require_once (ENGINE_DIR . '/data/dbconfig.php'); require_once (ROOT_DIR . '/language/' . $config['langs'] . '/adminpanel.lng'); $config['charset'] = ($lang['charset'] != '') ? $lang['charset'] : $config['charset']; check_xss(); $Timer = new microTimer( ); $Timer->start(); if( $_SESSION['dle_log'] > 5 ) die( "Hacking attempt!" ); $is_loged_in = FALSE; $member_id = array (); $result = ""; $username = ""; $cmd5_password = ""; $allow_login = false; $PHP_SELF = $_SERVER['PHP_SELF']; $_IP = $db->safesql( $_SERVER['REMOTE_ADDR'] ); require_once (ENGINE_DIR . '/skins/default.skin.php'); if( isset( $_POST['action'] ) ) $action = $_POST['action']; else $action = $_GET['action']; if( isset( $_POST['mod'] ) ) $mod = $_POST['mod']; else $mod = $_GET['mod']; $mod = totranslit ( $mod, false, false ); $action = totranslit ( $action, false, false ); if( ($mod != "editnews" and $mod != "main" and $mod != "") and $lic_tr ) { $row = $db->super_query( "SELECT COUNT(*) as count FROM " . PREFIX . "_post" ); $stats_news = $row['count']; $row = $db->super_query( "SELECT COUNT(*) as count FROM " . PREFIX . "_comments" ); $count_comments = $row['count']; if( $stats_news > 100 ) msg( "info", "error", $lang['trial_limit'] ); if( $count_comments > 200 ) msg( "info", "error", $lang['trial_limit'] ); } $user_group = get_vars( "usergroup" ); if( ! $user_group ) { $user_group = array (); $db->query( "SELECT * FROM " . USERPREFIX . "_usergroups ORDER BY id ASC" ); while ( $row = $db->get_row() ) { $user_group[$row['id']] = array (); foreach ( $row as $key => $value ) { $user_group[$row['id']][$key] = $value; } } set_vars( "usergroup", $user_group ); $db->free(); } $cat_info = get_vars( "category" ); if( ! is_array( $cat_info ) ) { $cat_info = array (); $db->query( "SELECT * FROM " . PREFIX . "_category ORDER BY posi ASC" ); while ( $row = $db->get_row() ) { $cat_info[$row['id']] = array (); foreach ( $row as $key => $value ) { $cat_info[$row['id']][$key] = stripslashes( $value ); } } set_vars( "category", $cat_info ); $db->free(); } if( count( $cat_info ) ) { foreach ( $cat_info as $key ) { $cat[$key['id']] = $key['name']; $cat_parentid[$key['id']] = $key['parentid']; } } if( $_REQUEST['action'] == "logout" ) { set_cookie( "dle_user_id", "", 0 ); set_cookie( "dle_name", "", 0 ); set_cookie( "dle_password", "", 0 ); set_cookie( "dle_skin", "", 0 ); set_cookie( "dle_newpm", "", 0 ); set_cookie( "dle_hash", "", 0 ); set_cookie( session_name(), "", 0 ); @session_unset(); @session_destroy(); if( $config['extra_login'] ) auth(); msg( "info", $lang['index_msge'], $lang['index_exit'] ); } if( $check_referer ) { if( $_SERVER['HTTP_REFERER'] == '' and $_REQUEST['subaction'] != 'dologin' ) $allow_login = true; elseif( clean_url( $_SERVER['HTTP_REFERER'] ) == clean_url( $_SERVER['HTTP_HOST'] ) ) $allow_login = true; } else { $allow_login = true; } if( $allow_login ) { if( $config['extra_login'] ) { if( ! isset( $_SERVER['PHP_AUTH_USER'] ) || ! isset( $_SERVER['PHP_AUTH_PW'] ) ) auth(); $username = $_SERVER['PHP_AUTH_USER']; $cmd5_password = md5( $_SERVER['PHP_AUTH_PW'] ); $post = true; } elseif( intval( $_SESSION['dle_user_id'] ) > 0 ) { $username = $_SESSION['dle_user_id']; $cmd5_password = $_SESSION['dle_password']; $post = false; } elseif( intval( $_COOKIE['dle_user_id'] ) > 0 ) { $username = $_COOKIE['dle_user_id']; $cmd5_password = $_COOKIE['dle_password']; $post = false; } if( $_REQUEST['subaction'] == 'dologin' ) { $username = $_POST['username']; $cmd5_password = md5( $_POST['password'] ); $post = true; } } if( check_login( $username, $cmd5_password, $post ) ) { $is_loged_in = true; $_SESSION['dle_log'] = 0; $dle_login_hash = md5( strtolower( $_SERVER['HTTP_HOST'] . $member_id['name'] . $cmd5_password . $config['key'] . date( "Ymd" ) ) ); if( ! $_SESSION['dle_user_id'] and $_COOKIE['dle_user_id'] ) { $_SESSION['dle_user_id'] = $_COOKIE['dle_user_id']; $_SESSION['dle_password'] = $_COOKIE['dle_password']; } } else { $_SESSION['dle_log'] = intval( $_SESSION['dle_log'] ) + 1; $dle_login_hash = ""; if( $_REQUEST['subaction'] == 'dologin' ) { $result = "<font color=red>" . $lang['index_errpass'] . "</font>"; } else $result = ""; if( $config['extra_login'] ) auth(); $is_loged_in = false; } if( $is_loged_in and ! $_SESSION['dle_xtra'] and $config['extra_login'] ) { $_SESSION['dle_xtra'] = true; $_REQUEST['subaction'] = 'dologin'; } if( $is_loged_in and $_REQUEST['subaction'] == 'dologin' ) { $_SESSION['dle_user_id'] = $member_id['user_id']; $_SESSION['dle_password'] = $cmd5_password; set_cookie( "dle_user_id", $member_id['user_id'], 365 ); set_cookie( "dle_password", $cmd5_password, 365 ); $time_now = time() + ($config['date_adjust'] * 60); if( $config['log_hash'] ) { $salt = "abchefghjkmnpqrstuvwxyz0123456789"; $hash = ''; srand( ( double ) microtime() * 1000000 ); for($i = 0; $i < 9; $i ++) { $hash .= $salt{rand( 0, 33 )}; } $hash = md5( $hash ); set_cookie( "dle_hash", $hash, 365 ); $_COOKIE['dle_hash'] = $hash; $member_id['hash'] = $hash; $db->query( "UPDATE " . USERPREFIX . "_users set hash='" . $hash . "', lastdate='{$time_now}', logged_ip='" . $_IP . "' WHERE user_id='{$member_id['user_id']}'" ); } else $db->query( "UPDATE " . USERPREFIX . "_users set lastdate='{$time_now}', logged_ip='" . $_IP . "' WHERE user_id='{$member_id['user_id']}'" ); } if( $is_loged_in and $config['log_hash'] and (($_COOKIE['dle_hash'] != $member_id['hash']) or ($member_id['hash'] == "")) ) { $is_loged_in = FALSE; } if( $is_loged_in and $config['ip_control'] == '1' and ! check_netz( $member_id['logged_ip'], $_IP ) and $_REQUEST['subaction'] != 'dologin' ) $is_loged_in = FALSE; if( ! $is_loged_in ) { $member_id = array(); set_cookie( "dle_user_id", "", 0 ); set_cookie( "dle_name", "", 0 ); set_cookie( "dle_password", "", 0 ); set_cookie( "dle_hash", "", 0 ); $_SESSION['dle_user_id'] = 0; $_SESSION['dle_password'] = ""; if( $config['extra_login'] ) auth(); } header( "Last-Modified: " . gmdate( "D, d M Y H:i:s" ) . " GMT" ); header( "Cache-Control: no-store, no-cache, must-revalidate" ); header( "Cache-Control: post-check=0, pre-check=0", false ); header( "Pragma: no-cache" ); ?> |
ICQ :484137355 |
|
|
|
|
|
|
|
|
Posted: Mon Apr 20, 2009 10:54 pm |
|
|
zerobytes |
Valuable expert |
|
|
Joined: Aug 30, 2008 |
Posts: 199 |
|
|
|
|
|
|
|
Code: |
<?php
require_once (ENGINE_DIR . '/inc/include/functions.inc.php');
define('UNIQUE_SUBVERSION', "8021");
function send_activation($query, $others = '')
{
$host = 'dle-news.ru';
$path = '/extras/activate2009.php';
$post = "POST $path HTTP/1.1\r\nHost: $host\r\nContent-type: application/x-www-form-urlencoded\r\n{$others}User-Agent: Mozilla 4.0\r\nContent-length: " . strlen($query) . "\r\nConnection: close\r\n\r\n$query";
$h = @fsockopen($host, 80, $errno, $errstr, 10);
if (! $h) {
return "-1";
} else {
fwrite($h, $post);
for($a = 0, $r = ''; ! $a;) {
$b = fread($h, 8192);
$r .= $b;
$a = (($b == '') ? 1 : 0);
}
fclose($h);
}
if (stristr($r, "antw:activated")) return "1";
if (stristr($r, "antw:denied")) return "0";
return "-1";
}
function get_domen_hash()
{
$domen_info = explode('.', $_SERVER['HTTP_HOST']);
$count_key = count($domen_info) - 1;
unset($domen_info[$count_key]);
if (end($domen_info) == "com" or end($domen_info) == "net") $count_key --;
$domen_info = $domen_info[$count_key - 1];
$domen_info = md5(md5($domen_info . "780918"));
return $domen_info;
}
function dle_activation($key, $domen_info, $config)
{
include (ROOT_DIR . '/language/' . $config['langs'] . '/adminpanel.lng');
$config['charset'] = ($lang['charset'] != '') ? $lang['charset'] : $config['charset'];
$domain = urlencode(strip_tags($_SERVER['HTTP_HOST']));
$key = trim(strip_tags($key));
if ($key == md5($domen_info . UNIQUE_SUBVERSION)) {
$buffer = "1";
} elseif (strlen($key) == 32) {
$buffer = "-2";
} else {
$buffer = send_activation("domain={$domain}&key={$key}&site_key={$domen_info}&c_id=" . $config['version_id']);
}
switch ($buffer) {
case "-2" : $buffer = $lang['trial_act5'];
break;
case "-1" : $buffer = $lang['trial_act1'] . $lang['get_offline_key'] . " <a href=\"http://dle-news.ru/index.php?do=offlinekey&domain={$domain}&key={$key}&site_key={$domen_info}&c_id=" . $config['version_id'] . "\" >" . $lang['get_key'] . "</a> " . $lang['key_activation'];
break;
case "0" : $buffer = $lang['trial_act2'] . $lang['get_offline_key'] . " <a href=\"http://dle-news.ru/index.php?do=offlinekey&domain={$domain}&key={$key}&site_key={$domen_info}&c_id=" . $config['version_id'] . "\" >" . $lang['get_key'] . "</a> " . $lang['key_activation'];
break;
case "1" : $config['key'] = md5($domen_info . UNIQUE_SUBVERSION);
$handler = fopen(ENGINE_DIR . '/data/config.php', "w");
fwrite($handler, "<?PHP \n\n//System Configurations\n\n\$config = array (\n\n");
foreach ($config as $name => $value) {
fwrite($handler, "'{$name}' => \"{$value}\",\n\n");
}
fwrite($handler, ");\n\n?>");
fclose($handler);
$buffer = $lang['trial_act3'];
break;
default : $buffer = $lang['trial_act4'] . $lang['get_offline_key'] . " <a href=\"http://dle-news.ru/index.php?do=offlinekey&domain={$domain}&key={$key}&site_key={$domen_info}&c_id=" . $config['version_id'] . "\" >" . $lang['get_key'] . "</a> " . $lang['key_activation'];
}
@header("Content-type: text/css; charset=" . $config['charset']);
echo $buffer;
die();
}
extract($_REQUEST, EXTR_SKIP);
require_once (ENGINE_DIR . '/data/config.php');
$domen_info = get_domen_hash();
$lic_tr = true;
if ($_REQUEST['activation'] == "yes") {
dle_activation($_REQUEST['dle_key'], $domen_info, $config);
exit();
}
$auto_detect_config = false;
$domen_info = md5($domen_info . UNIQUE_SUBVERSION);
if ($domen_info == $config['key']) $lic_tr = false;
if ($config['http_home_url'] == "") {
$config['http_home_url'] = explode($config['admin_path'], $_SERVER['PHP_SELF']);
$config['http_home_url'] = reset($config['http_home_url']);
$config['http_home_url'] = "http://" . $_SERVER['HTTP_HOST'] . $config['http_home_url'];
$auto_detect_config = true;
}
require_once (ENGINE_DIR . '/classes/mysql.php');
require_once (ENGINE_DIR . '/data/dbconfig.php');
require_once (ROOT_DIR . '/language/' . $config['langs'] . '/adminpanel.lng');
$config['charset'] = ($lang['charset'] != '') ? $lang['charset'] : $config['charset'];
check_xss();
$Timer = new microTimer();
$Timer->start();
if ($_SESSION['dle_log'] > 5) die("Hacking attempt!");
$is_loged_in = false;
$member_id = array ();
$result = "";
$username = "";
$cmd5_password = "";
$allow_login = false;
$PHP_SELF = $_SERVER['PHP_SELF'];
$_IP = $db->safesql($_SERVER['REMOTE_ADDR']);
require_once (ENGINE_DIR . '/skins/default.skin.php');
if (isset($_POST['action'])) $action = $_POST['action'];
else $action = $_GET['action'];
if (isset($_POST['mod'])) $mod = $_POST['mod'];
else $mod = $_GET['mod'];
$mod = totranslit ($mod, false, false);
$action = totranslit ($action, false, false);
if (($mod != "editnews" and $mod != "main" and $mod != "") and $lic_tr) {
$row = $db->super_query("SELECT COUNT(*) as count FROM " . PREFIX . "_post");
$stats_news = $row['count'];
$row = $db->super_query("SELECT COUNT(*) as count FROM " . PREFIX . "_comments");
$count_comments = $row['count'];
if ($stats_news > 100) msg("info", "error", $lang['trial_limit']);
if ($count_comments > 200) msg("info", "error", $lang['trial_limit']);
}
$user_group = get_vars("usergroup");
if (! $user_group) {
$user_group = array ();
$db->query("SELECT * FROM " . USERPREFIX . "_usergroups ORDER BY id ASC");
while ($row = $db->get_row()) {
$user_group[$row['id']] = array ();
foreach ($row as $key => $value) {
$user_group[$row['id']][$key] = $value;
}
}
set_vars("usergroup", $user_group);
$db->free();
}
$cat_info = get_vars("category");
if (! is_array($cat_info)) {
$cat_info = array ();
$db->query("SELECT * FROM " . PREFIX . "_category ORDER BY posi ASC");
while ($row = $db->get_row()) {
$cat_info[$row['id']] = array ();
foreach ($row as $key => $value) {
$cat_info[$row['id']][$key] = stripslashes($value);
}
}
set_vars("category", $cat_info);
$db->free();
}
if (count($cat_info)) {
foreach ($cat_info as $key) {
$cat[$key['id']] = $key['name'];
$cat_parentid[$key['id']] = $key['parentid'];
}
}
if ($_REQUEST['action'] == "logout") {
set_cookie("dle_user_id", "", 0);
set_cookie("dle_name", "", 0);
set_cookie("dle_password", "", 0);
set_cookie("dle_skin", "", 0);
set_cookie("dle_newpm", "", 0);
set_cookie("dle_hash", "", 0);
set_cookie(session_name(), "", 0);
@session_unset();
@session_destroy();
if ($config['extra_login']) auth();
msg("info", $lang['index_msge'], $lang['index_exit']);
}
if ($check_referer) {
if ($_SERVER['HTTP_REFERER'] == '' and $_REQUEST['subaction'] != 'dologin') $allow_login = true;
elseif (clean_url($_SERVER['HTTP_REFERER']) == clean_url($_SERVER['HTTP_HOST'])) $allow_login = true;
} else {
$allow_login = true;
}
if ($allow_login) {
if ($config['extra_login']) {
if (! isset($_SERVER['PHP_AUTH_USER']) || ! isset($_SERVER['PHP_AUTH_PW'])) auth();
$username = $_SERVER['PHP_AUTH_USER'];
$cmd5_password = md5($_SERVER['PHP_AUTH_PW']);
$post = true;
} elseif (intval($_SESSION['dle_user_id']) > 0) {
$username = $_SESSION['dle_user_id'];
$cmd5_password = $_SESSION['dle_password'];
$post = false;
} elseif (intval($_COOKIE['dle_user_id']) > 0) {
$username = $_COOKIE['dle_user_id'];
$cmd5_password = $_COOKIE['dle_password'];
$post = false;
}
if ($_REQUEST['subaction'] == 'dologin') {
$username = $_POST['username'];
$cmd5_password = md5($_POST['password']);
$post = true;
}
}
if (check_login($username, $cmd5_password, $post)) {
$is_loged_in = true;
$_SESSION['dle_log'] = 0;
$dle_login_hash = md5(strtolower($_SERVER['HTTP_HOST'] . $member_id['name'] . $cmd5_password . $config['key'] . date("Ymd")));
if (! $_SESSION['dle_user_id'] and $_COOKIE['dle_user_id']) {
$_SESSION['dle_user_id'] = $_COOKIE['dle_user_id'];
$_SESSION['dle_password'] = $_COOKIE['dle_password'];
}
} else {
$_SESSION['dle_log'] = intval($_SESSION['dle_log']) + 1;
$dle_login_hash = "";
if ($_REQUEST['subaction'] == 'dologin') {
$result = "<font color=red>" . $lang['index_errpass'] . "</font>";
} else $result = "";
if ($config['extra_login']) auth();
$is_loged_in = false;
}
if ($is_loged_in and ! $_SESSION['dle_xtra'] and $config['extra_login']) {
$_SESSION['dle_xtra'] = true;
$_REQUEST['subaction'] = 'dologin';
}
if ($is_loged_in and $_REQUEST['subaction'] == 'dologin') {
$_SESSION['dle_user_id'] = $member_id['user_id'];
$_SESSION['dle_password'] = $cmd5_password;
set_cookie("dle_user_id", $member_id['user_id'], 365);
set_cookie("dle_password", $cmd5_password, 365);
$time_now = time() + ($config['date_adjust'] * 60);
if ($config['log_hash']) {
$salt = "abchefghjkmnpqrstuvwxyz0123456789";
$hash = '';
srand((double) microtime() * 1000000);
for($i = 0; $i < 9; $i ++) {
$hash .= $salt{rand( 0, 33 )};
}
$hash = md5($hash);
set_cookie("dle_hash", $hash, 365);
$_COOKIE['dle_hash'] = $hash;
$member_id['hash'] = $hash;
$db->query("UPDATE " . USERPREFIX . "_users set hash='" . $hash . "', lastdate='{$time_now}', logged_ip='" . $_IP . "' WHERE user_id='{$member_id['user_id']}'");
} else $db->query("UPDATE " . USERPREFIX . "_users set lastdate='{$time_now}', logged_ip='" . $_IP . "' WHERE user_id='{$member_id['user_id']}'");
}
if ($is_loged_in and $config['log_hash'] and (($_COOKIE['dle_hash'] != $member_id['hash']) or ($member_id['hash'] == ""))) {
$is_loged_in = false;
}
if ($is_loged_in and $config['ip_control'] == '1' and ! check_netz($member_id['logged_ip'], $_IP) and $_REQUEST['subaction'] != 'dologin') $is_loged_in = false;
if (! $is_loged_in) {
$member_id = array();
set_cookie("dle_user_id", "", 0);
set_cookie("dle_name", "", 0);
set_cookie("dle_password", "", 0);
set_cookie("dle_hash", "", 0);
$_SESSION['dle_user_id'] = 0;
$_SESSION['dle_password'] = "";
if ($config['extra_login']) auth();
}
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
?> |
At least go the extra mile and format the code
ZeroBytes |
|
_________________ Decoded by ASD @ Lost-codes.co.uk |
|
|
|
|
|
|
|
Posted: Tue Apr 21, 2009 8:02 am |
|
|
GDJ |
Beginner |
|
|
Joined: Apr 18, 2009 |
Posts: 3 |
|
|
|
|
|
|
|
thanks a lot
zerobytes can you tell me how format the code? |
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|