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: 66
Members: 0
Total: 66
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 -> Is it possible to decrypt these files?
Post new topicReply to topic View previous topic :: View next topic
Is it possible to decrypt these files?
PostPosted: Mon Feb 21, 2011 10:14 pm Reply with quote
FreedomFighter
Beginner
Beginner
Joined: Feb 21, 2011
Posts: 2




Hey guys,
I would like to know if anyone can decrypt these two files. If neded I can provide more details about what they'e from.
Just PM me if you need more info.

http://pastebin.com/W8jkQXWd
http://pastebin.com/ACbqn8gW
View user's profile Send private message
PostPosted: Tue Feb 22, 2011 2:50 am Reply with quote
tsabitah
Valuable expert
Valuable expert
Joined: Jul 07, 2010
Posts: 328
Location: surabaya




http://pastebin.com/W8jkQXWd
Code:
<?php
// Load PT Theme Options
require_once(PT_ADMIN . '/options-config.php');

// install PT Options for the first time
if ( get_option('pt_site_options') === FALSE && get_option('pt_design_options') === FALSE ) {
$pt_site = array();
foreach ( $pt_site_options as $value ) {
if( isset($value['id']) && isset($value['std']) ) {
$pt_site[] = array( 'id' => $value['id'], 'value' => $value['std'] );
}
}
update_option( 'pt_site_options', $pt_site );

$pt_design = array();
foreach ( $pt_design_options as $value ) {
if( isset($value['id']) && isset($value['std']) ) {
$pt_design[] = array( 'id' => $value['id'], 'value' => $value['std'] );
}
}

update_option( 'pt_design_options', $pt_design );

$pt_integrate = array();
foreach ( $pt_integrate_options as $value ) {
if( isset($value['id']) && isset($value['std']) ) {
$pt_integrate[] = array( 'id' => $value['id'], 'value' => $value['std'] );
}
}

update_option( 'pt_integrate_options', $pt_integrate );

$pt_page = array();
foreach ( $pt_generator_options as $value ) {
if( $value['type'] != 'instantpage' ) {
$pt_page[] = array( 'id' => $value['id'], 'value' => $value['std'] );
}
}

update_option( 'pt_generator_options', $pt_page );
}

if ( get_option('pt_version') === FALSE ) {
$pt_versions = array(
'current' => $pt_version,
'new' => $pt_version,
'update' => false,
);

update_option( 'pt_version', $pt_versions );
}

$pt_version_db = get_option('pt_version');
if ( $pt_version_db['current'] != $pt_version ) {
$pt_versions = array(
'current' => $pt_version,
'new' => $pt_version,
'update' => false,
);

update_option( 'pt_version', $pt_versions );
}

$membersite = false;
$site_options = maybe_unserialize(get_option('pt_site_options'));
$design_options = maybe_unserialize(get_option('pt_design_options'));
$page_options = maybe_unserialize(get_option('pt_generator_options'));
$integrate_options = maybe_unserialize(get_option('pt_integrate_options'));
$pt_all_options = array_merge($site_options, $design_options);

foreach ( $pt_all_options as $value ) {
$$value['id'] = $value['value'];
}

foreach ( $integrate_options as $value ) {
$$value['id'] = $value['value'];
}

if ( file_exists( PT_SKINS . '/' . $pt_theme['skins'] . '/layout.php' ) ) {
require_once( PT_SKINS . '/' . $pt_theme['skins'] . '/layout.php' );
}

// Load PT Classes
require_once(PT_CLASSES . '/API.php');
require_once(PT_CLASSES . '/Fonts.php');
require_once(PT_CLASSES . '/Fields.php');
require_once(PT_CLASSES . '/Options.php');
require_once(PT_CLASSES . '/Seo.php');
require_once(PT_CLASSES . '/Css.php');
require_once(PT_CLASSES . '/Widgets.php');
require_once(PT_CLASSES . '/Cloaker.php');

if ( is_admin() ) {
// Load PT Admin
require_once(PT_ADMIN . '/admin-init.php');
require_once(PT_ADMIN . '/admin-functions.php');
require_once(PT_ADMIN . '/control-panel.php');
}

$option_key = unique_option();

if ( get_option( $option_key ) && get_option( $option_key ) != '' ) {

// Load PT Custom Meta Box
require_once(PT_ADMIN . '/landing-page.php');
require_once(PT_ADMIN . '/meta-options.php');
require_once(PT_ADMIN . '/meta-boxes.php');

// Load PT TinyMce
require_once(PT_SCRIPTS . '/tinymce/pt-tinymce.php');
}

// Load PT Theme Library
require_once(PT_FUNCTIONS . '/theme.php');
require_once(PT_FUNCTIONS . '/comments.php');
if ( get_option( $option_key ) && get_option( $option_key ) != '' ) {
require_once(PT_FUNCTIONS . '/header.php');
}

require_once(PT_FUNCTIONS . '/pagenavi.php');
require_once(PT_FUNCTIONS . '/register.php');

// Load PT Layouts
require_once(PT_LAYOUTS . '/media.php');
require_once(PT_LAYOUTS . '/loops.php');
require_once(PT_LAYOUTS . '/sidebars.php');
require_once(PT_LAYOUTS . '/html.php');
require_once(PT_LAYOUTS . '/minisite.php');
require_once(PT_LAYOUTS . '/membership.php');
require_once(PT_LAYOUTS . '/site.php');


function unique_option() {
$domain = $_SERVER['HTTP_HOST'];
$dom_enc = md5( base64_encode( $domain ) );

$new_option = 'pt_' . $dom_enc;

return $new_option;
}

function pt_create_oto_table()
{
global $wpdb;
$table = $wpdb->prefix . 'profitstheme_oto';

if ($wpdb->get_var("SHOW TABLES LIKE '$table'") != $table) {
$create_table = "CREATE TABLE `$table` (
`oto_id` int(11) NOT NULL auto_increment,
`uv_id` varchar(225) NOT NULL,
`post_id` int(11) NOT NULL default '0',
PRIMARY KEY (`oto_id`)
) COLLATE utf8_general_ci;";
$wpdb->query($create_table);
}
}

function pt_check_requirement()
{
$errormsg = '';
$wp_dir = ABSPATH . '/wp-content/uploads/';
$thumb_dir = TEMPLATEPATH . '/cache/';
$custom_css = TEMPLATEPATH . '/lib/css/custom.css';

if ( is_dir($wp_dir) ) {
if ( !is_writeable( $wp_dir ) ) {
$errormsg .= '<p style="line-height:16px"><span style="color:#cc0000"><strong>' . str_replace('//', '/', $wp_dir) . '</strong> is NOT writeable.</span> To enable file uploading via WP dashboard, please chmod it to <strong>777</strong>.</p>';
}
}

if ( !is_writeable( $thumb_dir ) ) {
$errormsg .= '<p style="line-height:16px"><span style="color:#cc0000"><strong>' . str_replace('//', '/', $thumb_dir) . '</strong> is NOT writeable.</span> To enable dynamic thumbnails and image resizer, please chmod it to <strong>777</strong>.</p>';
}

if ( !is_writeable( $custom_css ) ) {
$errormsg .= '<p style="line-height:16px"><span style="color:#cc0000"><strong>' . str_replace('//', '/', $custom_css) . '</strong> is NOT writeable.</span> To enable Dynamic Layout and Design, please chmod it to <strong>666</strong>.</p>';
}

if ( $errormsg != '' ) {
echo '<div class="error fade"><p><strong>WARNING:</strong></p>' . $errormsg . '<p><a href="#" target="_blank">Click here</a> to learn more about how to chmod a file or directory (hint: You can do this in less than 2 minutes).</div>';
}
}

add_action( 'admin_notices', 'pt_check_requirement');


function pt_activation_notice()
{
global $option_key;

if ( get_option('pt_theme_trial') ) {
echo '<div class="updated fade"><p style="line-height:16px"><strong>You are using a trial version of Profits Theme.</strong> You can go to <a href="http://profitstheme.com/" target="_blank">http://profitstheme.com/</a> to obtain a full license.</p><p>Trial will be expired on <em>' . date(get_option('links_updated_date_format'), get_option('PT_pt_trial')) . '</em></p></div>';
} else if ( get_option('pt_theme_disable') ) {
echo '<div class="error fade"><p style="line-height:16px"><strong>Your Profits Theme\'s license has been disabled because one of the following reasons:</strong></p><p>&bull; You are using an invalid or blocked license,<br />&bull; Your license has expired, or<br />&bull; You asked for a refund.</p><p>You may reactivate Profits Theme by going to <a href="http://profitstheme.com/" target="_blank">http://profitstheme.com/</a> to obtain a new license.</p></div>';
} else {
if ( !get_option( $option_key ) ) {
echo '<div class="error fade"><p style="line-height:16px"><strong>You are using an unregistered version of Profits Theme.</strong> You can activate Profits Theme by <a href="' . get_bloginfo( 'wpurl' ) . '/wp-admin/admin.php?page=pt_register_options">clicking here</a>. If you need a license, please go to <a href="http://profitstheme.com/" target="_blank">http://profitstheme.com/</a>.</p></div>';
}
}
}

add_action( 'admin_notices', 'pt_activation_notice');

function pt_update_notice()
{
$get_version_info = get_option('pt_version');

$output = '';

if ( $get_version_info['update'] == true ) {
$output .= '<div class="updated fade"><p><strong>Profits Theme ' . $get_version_info['new'] . '</strong> is available! <a href="' . admin_url('admin.php?page=pt_update_options') . '">Please update now</a>.</p></div>';
}

echo $output;
}

add_action( 'admin_notices', 'pt_update_notice');

if ( is_admin() && get_option($option_key) !== FALSE ) {
//global $option_key;

$args = array(
'serial' => rtrim(get_option('pt_serial_key')),
'api' => trim(get_option('pt_api_key')),
'domain' => $_SERVER['HTTP_HOST'],
);

$request = new PtApiRequest( 'http://ptapi.getprofitsfast.com/' . trim(get_option('pt_email_address')) . '/validation', 'POST', $args );
$request->setAcceptType('application/json');
$request->execute();

$result = proccesAPI($request->getResponseBody());

if( $result['message'] == 'License Inactive' || $result['message'] == 'License Expired' || $result['message'] == 'License Not Found' ) {
delete_option($option_key);
delete_option('pt_serial_key');
delete_option('pt_api_key');
delete_option('pt_email_address');
delete_option('pt_theme_trial');

add_option('pt_theme_disable', 'true');
}

// check for PT update

$request = new PtApiRequest( 'http://ptapi.getprofitsfast.com/text/update', 'GET' );
$request->setAcceptType('application/json');
$request->execute();

$result = proccesAPI($request->getResponseBody(), 'version');

$get_version = get_option('pt_version');
if ( $get_version['current'] < $result['version'] ) {
// Add new version
$pt_versions = array(
'current' => $get_version['current'],
'new' => $result['version'],
'update' => true,
'url' => $result['url']
);

update_option( 'pt_version', $pt_versions );
}
}


_________________
http://sms-internet.biz
View user's profile Send private message Visit poster's website
PostPosted: Wed Feb 23, 2011 12:39 am Reply with quote
FreedomFighter
Beginner
Beginner
Joined: Feb 21, 2011
Posts: 2




Thank you so much. Any luck with the second file?
http://pastebin.com/ACbqn8gW
View user's profile Send private message
Is it possible to decrypt these files?
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.035 Seconds