Zend-Decoder icon indicating copy to clipboard operation
Zend-Decoder copied to clipboard

How does it work?

Open kevin25 opened this issue 7 years ago • 35 comments

Hey there,

Thanks for sharing this code. I wonder how I can decrypt the files?

Best Regards, Kevin

kevin25 avatar Sep 09 '18 04:09 kevin25

It seemed not to work. I tried to decode this file but got the hex

init.php.zip

kevin25 avatar Sep 09 '18 07:09 kevin25

And here is the result.

test.php.zip

kevin25 avatar Sep 09 '18 07:09 kevin25

While EasyToYou decoded like this

<?php
/**
 * @ PHP 5.6
 * @ Decoder version : 1.0.0.4
 * @ Release on : 24.03.2018
 * @ Website    : http://EasyToYou.eu
 *
 * @ Zend guard decoder PHP 5.6
 **/

function ads_the_title_filter($title, $id = NULL)
{
	if (!is_admin()) {
		$status = get_post_status($id);

		if (ads_check_status_access($status)) {
			$title = '<strong>' . ads_name_status_access($status) . ':</strong> ' . $title;
		}
	}

	return $title;
}

function ads_test_queries()
{
	if (current_user_can('level_9')) {
		printf('<!-- %s queries in %s seconds.-->', get_num_queries(), timer_stop(0));
	}
}

function ads_set_rewrite()
{
	add_rewrite_tag('%buy%', '([0-9]{1,})');
	add_rewrite_rule('cart/?$', 'index.php?pagename=cart', 'top');
	add_rewrite_rule('cart/([^/]+)/?$', 'index.php?pagename=cart&buy=$matches[1]', 'top');
	add_rewrite_rule('account/?$', 'index.php?pagename=account', 'top');
	add_rewrite_rule('orders/?$', 'index.php?pagename=orders', 'top');
	add_rewrite_rule('userlogin/?$', 'index.php?pagename=userlogin', 'top');
	add_rewrite_rule('register/?$', 'index.php?pagename=register', 'top');
	add_rewrite_rule('confirmation/?$', 'index.php?pagename=confirmation', 'top');
	add_rewrite_rule('customersgallery/?$', 'index.php?pagename=customersgallery', 'top');
	add_rewrite_rule('thankyou/?$', 'index.php?pagename=thankyou', 'top'

kevin25 avatar Sep 09 '18 08:09 kevin25

could you tell me the specific operation you decode the 'init.php' to 'test.php'? and...Are you sure you did use 'Zend-Decoder' to decode? I had also try to decode 'init.php', but the result is different with yours 'test.php'

Tools2 avatar Sep 10 '18 15:09 Tools2

@Tools2 Thank you for your reply. I used the command line:

php index.php init.php

Then I saved the result and sent you.

Are you sure you did use 'Zend-Decoder' to decode?

How can I confirm that?

kevin25 avatar Sep 10 '18 15:09 kevin25

Here is my php module output

kevin@ubuntu:~/Zend-Decoder$ php -m [PHP Modules] calendar Core ctype date ereg exif fileinfo filter ftp gettext hash iconv json libxml mhash openssl pcntl pcre PDO Phar posix readline Reflection session shmop sockets SPL standard sysvmsg sysvsem sysvshm tokenizer XCache XCache Cacher XCache Disassembler Zend OPcache zlib

[Zend Modules] XCache XCache Cacher Zend OPcache

kevin25 avatar Sep 10 '18 15:09 kevin25

you can install 'Zend Guard Loader' and try again

Tools2 avatar Sep 10 '18 16:09 Tools2

@Tools2 That's what i missed. Thank you. However, i saw this error in the decoded output:

PHP Catchable fatal error: Object of class Decompiler_Fetch could not be converted to string in /home/kevin/Zend-Decoder/Decompiler4.class.php on line 2204

kevin25 avatar Sep 10 '18 17:09 kevin25

And can you make it work with ioncube?

kevin25 avatar Sep 10 '18 17:09 kevin25

are you sure your file is encrypt by ‘Zend Guard'? i find it's format is similar to encrypt by ioncube

Tools2 avatar Sep 10 '18 17:09 Tools2

@Tools2 Yes, the init.php is encrypted with Zend Guard.

kevin25 avatar Sep 10 '18 17:09 kevin25

@Tools2 Can you please write another one for ioncube? Thank you!

kevin25 avatar Sep 10 '18 18:09 kevin25

@Tools2

I created a file Decompiler5.class.php and decoded the ion.php (encoded by ioncube) and it was promising. I'm not good at this. Can we make a full decoder then?

function adsw_config_menu() { }

function adsw_admin_init() { }

function adsw_wp_loader() { }

function adsw_admin_init_content() { }

function ads_admin_activities() { }

function ads_admin_tracking() { }

function adsw_admin_ali_import() { }

function adsw_admin_ali_review() { }

function adsw_admin_ali_settings() { }

function adsw_admin_ali_updates() { }

function adsw_admin_pricing() { }

function adsw_admin_currency() { }

function adsw_admin_attributes() { }

function adsw_license() { }

function adsw_manage_posts() { }

function adsw_pays_init_handler_too() { }

function adsw_init_product() { }

function adsw_delete_product($pid) { }

function adsw_init_footer() { }

?>

ion.php.zip Decompiler5.class.php.zip

kevin25 avatar Sep 13 '18 08:09 kevin25

You can also get the function name via 'Decompiler4.class' or 'Decompiler3.class'。 my work is busy recently, I will study this issue in depth after a while.

Tools2 avatar Sep 13 '18 11:09 Tools2

@Tools2 Thank you. Please don't forget it.

kevin25 avatar Sep 13 '18 12:09 kevin25

there a project for ioncube, but it private, xdasm

bzy39 avatar Oct 03 '18 06:10 bzy39

@bzy39 How to join it?

kevin25 avatar Oct 03 '18 17:10 kevin25

@bzy39 really, how? I need to decode some code encoded by ioncube.

bruno-args avatar Oct 03 '18 23:10 bruno-args

well, same, i'm also still finding out how to join it, the first thread about it is on russian forum, nulled.cc

bzy39 avatar Oct 04 '18 01:10 bzy39

work in ioncube encryption ?

mdecoder avatar Oct 09 '18 15:10 mdecoder

work in ioncube encryption ?

decode ioncube? yes, but still have alot of bug.

bzy39 avatar Oct 10 '18 03:10 bzy39

yes, i try install more zend loader error...

mdecoder avatar Oct 10 '18 12:10 mdecoder

decrypt files ioncube with v9 or v10 with license?

mdecoder avatar Oct 10 '18 12:10 mdecoder

decrypt files ioncube with v9 or v10 with license?

text file license? not sure, send me the link sample, with the license file, i will check it.

bzy39 avatar Oct 10 '18 12:10 bzy39

ok! functions.zip

mdecoder avatar Oct 10 '18 13:10 mdecoder

error. `Fatal error: The encoded file E:\xcache\functions.php has been included by the unauthorised file ƒÄÇG in Unknown on line 0 error compling E:\decoder\xcache\decoder/functions.php

`

bzy39 avatar Oct 10 '18 13:10 bzy39

dezend ioncube php7.1?

mdecoder avatar Oct 10 '18 13:10 mdecoder

dinamyc keys...

mdecoder avatar Oct 10 '18 13:10 mdecoder

nope, this repo only for php 5.6

bzy39 avatar Oct 10 '18 13:10 bzy39

this file i send for you is no decryptable is php5.6 more is dynamic keys ...

mdecoder avatar Oct 10 '18 13:10 mdecoder