PDA

View Full Version : Admin.php question



BLieve
08-02-2007, 12:40 AM
Can anyone tell me if this is a file that Hostmonster provides or is it a custom code. I dont know much with codes but I have never seen one like this and i am not sure if my old webmaster put it in or we installed it thru some other program.

The script starts with this



<?PHP
/* WARNING: This script is protected. Any attempt to reverse engineer, debug or de-code this file or its dependent files is strictly prohibited */
$codelock_enc="aom.php"; $codelock_file="admin.php"; $codelock_filed=dirname(__FILE__); include("aom.php"); return; ?>

Thanks for any help you can give

PS Forgot to mention this was in the main domains public_html directory

mojojuju
08-02-2007, 05:47 PM
Hostmonster doesn't include a file with that code when setting up accounts.

It looks like that code references a file related to a php encryption method.

BLieve
08-02-2007, 11:05 PM
Are php encryptions widely used? It wouldnt be anything malicious would it?

mojojuju
08-03-2007, 12:32 AM
Are php encryptions widely used?

It depends. If you're like me and you mainly use open source or home brew scripts, then no. But many people buy scripts, and the person who wrote or sells the script has the right to use encryption to protect his intellectual property.

I personally haven't found a commercially available script that I needed which doesn't have a suitable open source substitute.

BTW, could you mention what the name of your script is or what it does?


It wouldnt be anything malicious would it?

It could be. It's possible for a script to send usage data to a "home server". It could possibly send information that you don't want the script vendor to know about.