Waraxe IT Security Portal
Login or Register
April 19, 2025
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 185
Members: 0
Total: 185
Full disclosure
83 vulnerabilities in Vasion Print / PrinterLogic
[CVE-2025-32102, CVE-2025-32103] SSRF and Directory Traversal in CrushFTP 10.7.1 and 11.1.0 (as well as legacy 9.x)
Re: APPLE-SA-03-11-2025-2 iOS 18.3.2 and iPadOS 18.3.2
[KIS-2025-01] UNA CMS <= 14.0.0-RC4 (BxBaseMenuSetAclLevel.ph p) PHP Object Injection Vulnerability
OXAS-ADV-2025-0001: OX App Suite Security Advisory
APPLE-SA-04-01-2025-1 watchOS 11.4
APPLE-SA-03-31-2025-11 visionOS 2.4
APPLE-SA-03-31-2025-10 tvOS 18.4
APPLE-SA-03-31-2025-9 macOS Ventura 13.7.5
APPLE-SA-03-31-2025-8 macOS Sonoma 14.7.5
APPLE-SA-03-31-2025-7 macOS Sequoia 15.4
APPLE-SA-03-31-2025-6 iOS 15.8.4 and iPadOS 15.8.4
APPLE-SA-03-31-2025-5 iOS 16.7.11 and iPadOS 16.7.11
APPLE-SA-03-31-2025-4 iPadOS 17.7.6
APPLE-SA-03-31-2025-3 iOS 18.4 and iPadOS 18.4
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> request for decode and info if possible
Post new topicReply to topic View previous topic :: View next topic
request for decode and info if possible
PostPosted: Fri Jun 10, 2011 5:23 am Reply with quote
vertygo
Beginner
Beginner
Joined: Jun 10, 2011
Posts: 1




I have this file I need decoded. More so, I'd really appreciate insight into how I can do it myself (otherwise I will have to post other files from this script). Thank you VERY much for your time and skills, it is much appreciated.

http://www.mediafire.com/?v10uv4jo2jo9xd2
View user's profile Send private message
PostPosted: Fri Jun 10, 2011 10:58 am Reply with quote
zerobytes
Valuable expert
Valuable expert
Joined: Aug 30, 2008
Posts: 199




Code:

<?php
require_once("phpGrid.php");
if (!session_id()) {
session_start();
}
if (!isset($HTTP_POST_VARS) && isset($_POST)) {
$HTTP_POST_VARS = $_POST;
}
$_172986260A6873B0E5F8827404569808 = isset($_GET['gn']) ? $_GET['gn'] : die('phpGrid fatal error: URL parameter "gn" is not defined');
$dg = unserialize($_SESSION[GRID_SESSION_KEY . '_' . $_172986260A6873B0E5F8827404569808]);
$cn = $dg->get_db_connection();
if (empty($cn)) {
$db = new C_DataBase(DB_HOSTNAME, DB_USERNAME, DB_PASSWORD, DB_NAME, DB_TYPE, DB_CHARSET);
} else {
$db = new C_DataBase($cn["hostname"], $cn["username"], $cn["password"], $cn["dbname"], $cn["dbtype"], $cn["dbcharset"]);
}
$src = isset($_GET['src']) ? $_GET['src'] : '';
$arrFields = array();
$pk = $dg->_EAF91A76D2EBC75341ED210ECD71E9CD();
$_EDF4EF8F38C3A0CAF14D3364EE6D4DF2 = $_POST[JQGRID_ROWID_KEY];
$oper = isset($_POST['oper']) ? $_POST['oper'] : '';
$_0D09B8F56814DE2BDD2FACC5E4A90215 = '';
if ($oper != '') {
$rs = $db->_1073E9B7D7A594FA6E97725BD9AFB006($dg->_1F6B1150DA4DFCF58BB4867F0E13DE6F(), 1, 1);
foreach ($HTTP_POST_VARS as $key => $value) {
if ($key != 'oper') {
$_983B14829C3910F2FDB9FC989413C5F4 = $db->_CF05CA46DE9700C38BF982F2D4720A32($dg->_6AE66738C0C349B89E91EA1ECA280278(), $key);
if ($_983B14829C3910F2FDB9FC989413C5F4) {
if (!$_983B14829C3910F2FDB9FC989413C5F4->auto_increment) {
$arrFields[$key] = $value;
}
} else {
$arrFields[$key] = $value;
}
}
}
if ($dg->debug)
print_r($arrFields);
$_6F10A7522E4AF3F1A82E22377BF7E073 = $db->_A4DE945E6ABB339A4058E6639015DAD5($rs, $db->_D1866CCE4059DE4AF09AACD11738FCB1($rs, $pk));
if ($dg->has_multiselect()) {
$_525B112795DCB645713D6FB09699A269 = explode(',', $_EDF4EF8F38C3A0CAF14D3364EE6D4DF2);
$_53DDDFDF9E063934DABCE483FEA075D6 = '';
foreach ($_525B112795DCB645713D6FB09699A269 as $key => $value) {
if ($_6F10A7522E4AF3F1A82E22377BF7E073 != 'I' && $_6F10A7522E4AF3F1A82E22377BF7E073 != 'N' && $_6F10A7522E4AF3F1A82E22377BF7E073 != 'R')
$_53DDDFDF9E063934DABCE483FEA075D6 .= "'" . trim($value) . "',";
else
$_53DDDFDF9E063934DABCE483FEA075D6 .= $value . ',';
}
$_53DDDFDF9E063934DABCE483FEA075D6 = substr($_53DDDFDF9E063934DABCE483FEA075D6, 0, -1);
} else {
if ($_6F10A7522E4AF3F1A82E22377BF7E073 != 'I' && $_6F10A7522E4AF3F1A82E22377BF7E073 != 'N' && $_6F10A7522E4AF3F1A82E22377BF7E073 != 'R')
$_EDF4EF8F38C3A0CAF14D3364EE6D4DF2 = "'" . $_EDF4EF8F38C3A0CAF14D3364EE6D4DF2 . "'";
}
switch ($oper) {
case 'add':
$_0D09B8F56814DE2BDD2FACC5E4A90215 = $db->db->GetInsertSQL($rs, $arrFields, get_magic_quotes_gpc(), true);
break;
case 'edit':
$_0D09B8F56814DE2BDD2FACC5E4A90215 = $db->db->GetUpdateSQL($rs, $arrFields, get_magic_quotes_gpc(), true) . ' AND ' . $pk . '=' . $_EDF4EF8F38C3A0CAF14D3364EE6D4DF2;
break;
case 'del':
preg_match("/FROM\s+" . ADODB_TABLE_REGEX . "/is", $dg->_1F6B1150DA4DFCF58BB4867F0E13DE6F(), $tableName);
$tableName = $tableName[1];
if ($dg->has_multiselect()) {
$_0D09B8F56814DE2BDD2FACC5E4A90215 = 'DELETE FROM ' . $tableName . ' WHERE ' . $pk . ' IN(' . $_53DDDFDF9E063934DABCE483FEA075D6 . ')';
} else {
$_0D09B8F56814DE2BDD2FACC5E4A90215 = 'DELETE FROM ' . $tableName . ' WHERE ' . $pk . '=' . $_EDF4EF8F38C3A0CAF14D3364EE6D4DF2;
}
break;
}
if ($dg->debug)
echo 'SQL: ' . $_0D09B8F56814DE2BDD2FACC5E4A90215 . '<br /><br />';
if ($_0D09B8F56814DE2BDD2FACC5E4A90215 != '')
$db->_C007473CA699AA6751E07CCDFF8959F0($_0D09B8F56814DE2BDD2FACC5E4A90215);
}
$dg = null;
$db = null;
?>


ZeroBytes

_________________
Decoded by ASD @ Lost-codes.co.uk
View user's profile Send private message Visit poster's website
request for decode and info if possible
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

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



PCWizardHub - Helping you fix, build, and optimize your PC life
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.036 Seconds