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 $evalue = "PD8NCnJlcXVpcmUoImNvbmZpZy5pbmMiKTsNCnJlcXVpcmUoImNoa3Nlc3Npb24ucGhwIik7D..
Decoded Output download
?>b'<?
require("config.inc");
require("chksession.php");
$msizename=$_REQUEST["msizename"];
if($msizename<>""){
$qryMSecID=mysql_query("select sizeid from tbl_sizes order by sizeid desc") or die("Invalid Values: " . mysql_error());
if($qryMSecID){
$rows=mysql_num_rows($qryMSecID);
if($rows>0){
$data=mysql_fetch_row($qryMSecID);
$msizeid=$data[0]+1;
}else{
$msizeid=1;
}
}
$qry=mysql_query("insert into tbl_sizes(sizeid,sizename) values(\'".$msizeid."\',\'".$msizename."\')") or die("Invalid Values: " . mysql_error());
}
header(\'Location:mmainsizes.php?mess=A+New+Size+has+been+added\');
?>
'<?php
Did this file decode correctly?
Original Code
<?php $evalue = "PD8NCnJlcXVpcmUoImNvbmZpZy5pbmMiKTsNCnJlcXVpcmUoImNoa3Nlc3Npb24ucGhwIik7DQokbXNpemVuYW1lPSRfUkVRVUVTVFsibXNpemVuYW1lIl07DQoNCmlmKCRtc2l6ZW5hbWU8PiIiKXsNCg0KJHFyeU1TZWNJRD1teXNxbF9xdWVyeSgic2VsZWN0IHNpemVpZCBmcm9tIHRibF9zaXplcyBvcmRlciBieSBzaXplaWQgZGVzYyIpIG9yIGRpZSgiSW52YWxpZCBWYWx1ZXM6ICIgLiBteXNxbF9lcnJvcigpKTsNCmlmKCRxcnlNU2VjSUQpew0KCSRyb3dzPW15c3FsX251bV9yb3dzKCRxcnlNU2VjSUQpOw0KCWlmKCRyb3dzPjApew0KCQkkZGF0YT1teXNxbF9mZXRjaF9yb3coJHFyeU1TZWNJRCk7DQoJCSRtc2l6ZWlkPSRkYXRhWzBdKzE7DQoJfWVsc2V7DQoJCSRtc2l6ZWlkPTE7DQoJfQ0KfQ0KJHFyeT1teXNxbF9xdWVyeSgiaW5zZXJ0IGludG8gdGJsX3NpemVzKHNpemVpZCxzaXplbmFtZSkgdmFsdWVzKCciLiRtc2l6ZWlkLiInLCciLiRtc2l6ZW5hbWUuIicpIikgb3IgZGllKCJJbnZhbGlkIFZhbHVlczogIiAuIG15c3FsX2Vycm9yKCkpOw0KfQ0KaGVhZGVyKCdMb2NhdGlvbjptbWFpbnNpemVzLnBocD9tZXNzPUErTmV3K1NpemUraGFzK2JlZW4rYWRkZWQnKTsNCj8+DQo=";eval(" ?>".base64_decode($evalue) . "<?php ");
?>
Function Calls
base64_decode | 1 |
Stats
MD5 | ea86ff1033da39cb7cc007ee97074afa |
Eval Count | 1 |
Decode Time | 54 ms |