Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /****************************************** * @project: OMi Media Script v1.0 *..

Decoded Output download

?><?php

/******************************************
* @project: OMi Media Script v1.0
* @developer: OMi Shah
* @fb: https://fb.me/OmPrakash.RO
* @email: [email protected]
*******************************************/

///////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////  DO NOT MAKE ANY CHANGES BELOW. Please. //////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////

error_reporting(0);
// Required files
include 'dbSetup_OMi.php';

///////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Establishing database connection
$estbConnection_OMi = mysql_pconnect(''.dbHost_OMi.'', ''.dbUser_OMi.'', ''.dbPassword_OMi.''); // Establishing database connection

if(!$estbConnection_OMi) { die('Could not establish database connection: ' . mysql_error() . '. Please check settings.<br/>[ Script by: <a href="https://fb.me/OmPrakash.RO" 

target="_BLANK">OMi Shah</a> ]'); }

$dbConnect_OMi = mysql_select_db(''.dbName_OMi.'', $estbConnection_OMi); // Database connect 
if(!$dbConnect_OMi) { die('Could not select database: ' . mysql_error() . '. Please check settings.<br/>[ Script by: <a href="https://fb.me/OmPrakash.RO" target="_BLANK">OMi 

Shah</a> ]'); }
///////////////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////

$omi = mysql_fetch_array(mysql_query("SELECT * FROM `siteSetup_OMi`"));

// Licence Setup
define('licenseKey_OMi', $omi['licenseKey_OMi']);

// Site settings
define('siteName_OMi', $omi['siteName_OMi']); // Site name
define('siteURL_OMi', $omi['siteURL_OMi']); // Site url
define('siteLogo_OMi', $omi['siteLogo_OMi']); // Site logo url
define('siteFootText_OMi', $omi['siteFootText_OMi']); // Site copyright/footer text
define('keywords_OMi', $omi['keywords_OMi']); // Site keywords
define('description_OMi', $omi['description_OMi']); // Site description
define('siteSelectCat_OMi', $omi['siteSelectCat_OMi']); // Select category title text
define('updatesText_OMi', $omi['updatesText_OMi']); // Latest updates title text
define('categoriesPP_OMi', $omi['categoriesPP_OMi']); // Categories per page in number
define('updatesPP_OMi', $omi['updatesPP_OMi']); // Updates per page in number

// Video Thumb and Watermark Settings
define('thumbShotSec_OMi', $omi['thumbShotSec_OMi']); // Time in hour:min:sec format to generate thumb from a video
define('watermark_OMi', $omi['watermark_OMi']); // Watermark text for thumbs
define('watermarkSize_OMi', $omi['watermarkSize_OMi']); // Watermark font size

// Mp3 Settings
define('mp3Title_OMi', $omi['mp3Title_OMi']); // Text for Mp3 titles used in mp3 tagging

// Zip settings
define('tempFolder_OMi', $omi['tempFolder_OMi']); // Temp folder used while creating zip file
define('zipPrefix_OMi', $omi['zipPrefix_OMi']); // Prefix text for zip files name.. Leave empty to set null
define('zipSufix_OMi', $omi['zipSufix_OMi']); // Sufix text for zip files name.. Leave empty to set null

// File name settings
define('mediaPrefix_OMi', $omi['mediaPrefix_OMi']); // Prefix text for media filename.. Leave empty to set null
define('mediaSufix_OMi', $omi['mediaSufix_OMi']); // Sufix text for media filename.. Leave empty to set null

// Admin Settings
define('adminFN_OMi', $omi['adminFN_OMi']); // Admin folder name. Folder name should have sufix '_OMi'.
define('adminUser_OMi', $omi['adminUser_OMi']); // Admin username
define('adminPass_OMi', $omi['adminPass_OMi']); // Admin Pass

// Chat On Off Setting
define('userChat_OMi', $omi['userChat_OMi']); // User chat; Set 1 to ON, 0 to OFF

////////////////////////////////////////////////////////////////////////////////////////

if($_SERVER['HTTP_X_FORWARDED_FOR'])
{
$ip_OMi = mysql_escape_string($_SERVER['HTTP_X_FORWARDED_FOR']);
}
elseif($_SERVER['HTTP_CLIENT_IP'])
{
$ip_OMi = mysql_escape_string($_SERVER['HTTP_CLIENT_IP']);
}
elseif($_SERVER['REMOTE_ADDR'])
{
$ip_OMi = $_SERVER['REMOTE_ADDR'];
}

$exp_OMi = explode("/", $_SERVER['SCRIPT_NAME']);
$exp_OMi = $exp_OMi[1];

if($exp_OMi == "index_OMi.php" || basename($_SERVER['SCRIPT_NAME'])=="artist_OMi.php" || basename($_SERVER['SCRIPT_NAME'])=="category_OMi.php" || basename

($_SERVER['SCRIPT_NAME'])=="download_OMi.php" || basename($_SERVER['SCRIPT_NAME'])=="updates_OMi.php" || basename($_SERVER['SCRIPT_NAME'])=="search_OMi.php" 

|| basename($_SERVER['SCRIPT_NAME'])=="userChat_OMi.php" )
{
$pathLogin_OMi = "./sessions_OMi/omi_".$ip_OMi.".txt";
}
else
{
$pathLogin_OMi = "../sessions_OMi/omi_".$ip_OMi.".txt";
}

if(file_exists($pathLogin_OMi))
{
$login_OMi = explode(":", @file_get_contents($pathLogin_OMi));
$user_OMi = $login_OMi[0];
$pwd_OMi = $login_OMi[1];

if($user_OMi == adminUser_OMi && $pwd_OMi == adminPass_OMi)
{
$admin_OMi = "accessGranted_OMi";
}
else
{
$admin_OMi = false;
}
}
else
{
$admin_OMi = false;
}

// Required files
include 'functions_OMi.php';

?>

Did this file decode correctly?

Original Code

<?php

/******************************************
* @project: OMi Media Script v1.0
* @developer: OMi Shah
* @fb: https://fb.me/OmPrakash.RO
* @email: [email protected]
*******************************************/

eval("\x65\x76\x61\x6C\x28\x67\x7A\x69\x6E\x66\x6C\x61\x74\x65\x28\x62\x61\x73\x65\x36\x34\x5F\x64\x65\x63\x6F\x64\x65\x28'TVe3DsTIDf0XN7ahQnklwZWkVc454BrlnLO+3ns+A3ZBcJiAwYDD91icSf+Pv/1xf/A/buLz0/BP2D9uhPxp4uejf5r6CfeTz1+xP3MI7K+a/+Qh//Whf/nQXx76i+P8z/5v3ufP2P/ZCPn32y/Q7xYqbQmFOhizdaiwmCfHx7biztjo2YbHIUCt5mUQdxkdrKR2g8UzmVa9dzxCJXiq4lswICq4Nwd+TUAEDkZcZnIoW7CfgaZkXawCIxBkO70pY/CjWyDRWiAITS6ZAdPZYhsIfDEC84EXROgW9sEM/5ZZbX4oo3iIUIyJa1mnwPLPtS4J0z8N88Tr+XrlBfsyzNPE9a36nwVk5XOstOcglum7l0p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JuKdhv3tUx3qiEkUeOSB9xMeIxFeWB7apqeRqTP19qsfveduoDtT8hzRRoWpU3LgLEb4T5PRVDL4bHvNqmP/j6NXp1Ic6CdB1PeViGmcYEqox46zffxZvX9NELMMFLsC8YJktx3VpCGyq3aWBJ43h+VmuNEup5xlFMsnf+pq2JXPzt8HxaK2v0+xQyLjk5oYAughDabEtYLt6KMM4D0MTQBAZk6n+MS0T5xqYBAKxIj5JAbKHCWdcW0UA4e4o2xbABak56yEvYXjq8mcAuz4sXH/tNIXFLS5Yi9EdsKAUzGh1CALbOBbPhdunxabGkw02OeIo5gxeNPE+t4woFKKKXt1+PvQI2BBm2DroblfMEXzaUc8OCvCna7tGX59m0kVRraZpT0um0bwLkIo7+EOD8VzOZKVraonpPYS1AsjCUxXSRXcMRLiFvuf8Cj3gpMDcl7lqHh4MqCvAUPyKBs/1i2XCA/kgWQkgPokG+tmQdJxy923CgZrDmu+oIw4eq40ue1enV4Rna+dt+d/D8uCTz99/WTf1PUOZv//zXvwE='\x29\x29\x29\x3B");
?>

Function Calls

gzinflate 13
docgwk39292 1
dsmajq39291 1
dsqabh39293 1
base64_decode 13

Variables

$a base64_decode
$b gzinflate
$str xVjbcts2EH33jP9hq/FUciZDOZM3+ZIospRkottIStLW41EgciWy5i0AZFtJ..

Stats

MD5 34260f7381528ff7e8ad0939ebadceb7
Eval Count 23
Decode Time 141 ms