Deep
Deep

Reputation: 347

php files encrypted need help decrypting them

I have got a new client who has a website developed on php.

I don't know which framework was used or anything nor the client knows as he got it developed from some one else.

Now when I started looking in to the code, I saw all php files were encrypted.

Now even the client does not know which encryption method was used to encrypt the php files.

Point is I never used encryption methodology to encrypt any php files and hence this is quite new to me as I saw this for the first time.

Here is the sample code from one of the php files. I would greatly appreciate it if any one can help me through finding a method to decrypt the code so that I can start working on the project.

<?php ${"\x47LO\x42\x41\x4c\x53"}["\x62\x6b\x71\x74g\x66\x65vt"]="\x41\x44M\x49N\x49\x53T\x52A\x54OR";${"\x47\x4c\x4fBA\x4cS"}["y\x70\x69ae\x6c\x62\x74l\x69w"]="\x66\x69\x72\x73\x74\x49\x6e\x4c\x69\x73\x74";${"GLO\x42A\x4c\x53"}["\x6ekev\x70\x77\x62\x68\x79\x7a"]="i\x6d\x61g\x65L\x69s\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}

Upvotes: 0

Views: 2171

Answers (1)

Dave Chen
Dave Chen

Reputation: 10975

Decoded looks like:

<?php

${"GLOBALS"}["bkqtgfevt"]   = "ADMINISTRATOR";
${"GLOBALS"}["ypiaelbtliw"] = "firstInList";
${"GLOBALS"}["nkevpwbhyz"]  = "imageList";
${"GLOBALS"}

Looks like part of a template. You can use this site to decode the rest of the script.

Upvotes: 3

Related Questions