Lukeidiot Posted March 31, 2013 Share Posted March 31, 2013 Hey guys, I have a competitor and I believe he's using something from my site. However he has "encrypted" some of his code. Here it is: <script language="JavaScript" type="text/javascript"> // shhh var i,y,x="20202020202020203c6c696e6b2072656c3d227374796c6573686565742220687265663d226373732f6e6f726d616c697a652e637373223e20202020202020203c6c696e6b2072656c3d227374796c6573686565742220687265663d226373732f6d61696e2e637373223e20202020202020203c6c696e6b2072656c3d227374796c6573686565742220687265663d22687474703a2f2f636f64652e6a71756572792e636f6d2f75692f312e31302e312f7468656d65732f626173652f6a71756572792d75692e637373223e20202020202020203c6c696e6b2072656c3d227374796c6573686565742220687265663d226373732f6a71756572792e6d696e69636f6c6f72732e637373223e20202020202020203c6c696e6b2072656c3d227374796c6573686565742220687265663d226373732f6a71756572792e73656c656374426f7849742e637373223e20202020202020203c6c696e6b2072656c3d227374796c6573686565742220687265663d226373732f6170702e637373223e20202020202020203c736372697074207372633d226a732f76656e646f722f6d6f6465726e697a722d322e362e322e6d696e2e6a73223e3c2f7363726970743e";y='';for(i=0;i<x.length;i+=2){y+=unescape('%'+x.substr(i,2));}document.write(y); </script> Can anyone unscramble this secret of a message? Thanks for the help guys. Quote Link to comment https://forums.phpfreaks.com/topic/276357-secret-javascript-code/ Share on other sites More sharing options...
Solution Lukeidiot Posted March 31, 2013 Author Solution Share Posted March 31, 2013 Nevermind. I got it now. Quote Link to comment https://forums.phpfreaks.com/topic/276357-secret-javascript-code/#findComment-1422141 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.