Click here to Skip to main content
15,904,024 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hello coders

I was inspecting .js files of a website and got a strange looking js file i.e. editor-loader-1383346616.js[^]

I am talking about code which looks like
\x3c\x64\x69\x76\x20\x69\x64\x3d\x27\x73\x74\x61\x72\x74\x75\x70\x73\x70\x6c\x61\x73

I haven't seen such code before. I want to know if this code is encrypted? if yes then how to decrypt it? if not then what exactly it is?


I am not sure whether this title is OK or not as I don't know this file is encrypted or not. just consider it for now i will change it once know proper scenario.
Posted
Updated 21-Nov-13 13:21pm
v2

1 solution

I got the solution after Google a little bit and little past knowledge. the code is written in hexadecimal code and i have successfully decoded that suspeciously coded part of file using online code converter located at Hex to string converter[^]

and so following code:

\x3c\x64\x69\x76\x20\x69\x64\x3d\x27\x73\x74\x61\x72\x74\x75\x70\x73\x70\x6c\x61\x73\x68\x73\x63\x72\x65\x65\x6e\x27\x3e\x3c\x2f\x64\x69\x76\x3e


decoded as:
?<?d i?v? ?i?d?=?'?s?t?a?r?t?u?p?s?p?l?a?s?h?s?c?r?e?e?n?'??>?

removing those question marks question marks i get final output as follow
<div id="startupsplashscreen"></div>
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900