~ overflow ~

Tag: wordpress

How to decrypt reviewitonline.net themes

by z3n on May.03, 2010, under Coding, Tips & Hints, lol

Problem:

Somehow there are people so desperated to have their links on free themes they developed that they generated their own method of ecryption, although this one is pretty plain and simple, it really annoyed me to know that it was overloading the server due it’s stupidness.

The “Protection”:

eval(gzinflate(base64_decode(<code>)));

That’s 90 times inside each other, how lame is that?

Solution:

// (c) z3n - R1V1@100503 - www.overflow.biz - rodrigo.orph@gmail.com

if (!isset($argv[1]))
	die("Usage: ".$_SERVER['PHP_SELF']." <input.ext>");

$x=file_get_contents($argv[1]);

for ($i=0;strpos($x,"eval(") !== false;$i++) {
	file_put_contents("x".$i.".php",str_replace("eval(","file_put_contents('y".$i.".php',",$x));
	exec("php x".$i.".php");
	$x=file_get_contents("y".$i.".php");
}

Run this and grab the latest y##.php file, that’s your unecrypted file.

Leave a Comment :, , , , , more...

Adding RAR to allowed upload types of wordpress

by z3n on Mar.26, 2010, under Tips & Hints

Problem:

I can’t upload rars to wordpress.

Solution:

Edit wp-includes/functions.php,

search for:

'exe' => 'application/x-msdownload'

add a line after it:

'rar' => 'application/x-rar-compressed',

Done!

You may want to add other filetypes you also enjoy here.

Source:

Chis Meller

2 Comments :, , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!