Waraxe IT Security Portal
Login or Register
November 23, 2024
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: 41
Members: 0
Total: 41
Full disclosure
APPLE-SA-11-19-2024-5 macOS Sequoia 15.1.1
Local Privilege Escalations in needrestart
APPLE-SA-11-19-2024-4 iOS 17.7.2 and iPadOS 17.7.2
APPLE-SA-11-19-2024-3 iOS 18.1.1 and iPadOS 18.1.1
APPLE-SA-11-19-2024-2 visionOS 2.1.1
APPLE-SA-11-19-2024-1 Safari 18.1.1
Reflected XSS - fronsetiav1.1
XXE OOB - fronsetiav1.1
St. Poelten UAS | Path Traversal in Korenix JetPort 5601
St. Poelten UAS | Multiple Stored Cross-Site Scripting in SEH utnserver Pro
Apple web content filter bypass allows unrestricted access to blocked content (macOS/iOS/iPadOS/visionO S/watchOS)
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
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



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
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.045 Seconds