PDA

View Full Version : Lee


BusterLee
10-25-2002, 07:10 PM
Sorry... I havn't had time to read all the replies to hidding source code however I think this may help if no-one has mentioned it yet.

CLICK HERE (http://www.dynamicdrive.com/dynamicindex9/encrypter.htm)

I have used it in the past with no problems. Simply copy the html, select encrypt and bingo. Looks like a load of rubbish however the browser can fully understand.

A good way to confuse people.

cg9com
10-25-2002, 09:31 PM
encrypt a page and see who can decode it.

BusterLee
10-25-2002, 09:36 PM
ooppss just noticed I started a new thread and didn't reply in the right post....


sorry!!!

bacterozoid
10-26-2002, 04:14 AM
Since we are here...I viewed the source of that page, encrypted it, saved the encrypted file as a .htm on my computer, opened it up, went to a neat little script I have and it displayed the source code without any problems...



Find a way to make this a hyperlink, then add it to your favorites:


javascript:(function(){%20function%20htmlEscape(s){s=s.replace(/&/g,'&amp;');s=s.replace(/>/g,'&gt;');s=s.replace(/</g,'&lt;');return%20s;}%20x=window.open();%20x.document.write('<pre>'%20+%20htmlEscape('<html>\n'%20+%20document.documentElement.innerHTML%20+%20'\n</html>'));%20x.document.close();%20})();


Use it to view the source code of any page...unencrypted.

cg9com
10-26-2002, 04:30 AM
i posted my comment in order for you "busterlee" to realize that there is as of yet no way to protect source code.

thank you bacterozoid

bacterozoid
10-26-2002, 04:43 AM
Rightright, absolutely no way, heh...unless the government has been developing something we don't know about. ;)

whammy
10-27-2002, 10:41 AM
Actually I wrote a similar script to that here (http://www.solidscripts.com/solidscripts_new/displayscript.asp?sid=8) awhile back when I was messing around with some javascript stuff.

Fairly useless, but fun.

bacterozoid
10-27-2002, 12:25 PM
To prevent any mad faces, I did not write that script, got it from someone else on here.

whammy
10-27-2002, 05:00 PM
You linked to DynamicDrive, so it's all good. The original is John Krutsch's script.

zoobie
10-27-2002, 10:47 PM
There are a lot better encryption scripts out there...but you have to dig deep. :D

whammy
10-29-2002, 12:06 AM
Yeah, but any of them can be easily cracked. I don't even bother anyway since i like my source code to look pretty, and I know that you can't recreate server-side functionality by stealing client-side source code. That's what it really boils down to. ;)