iGuest 3 Report post Posted November 29, 2004 Try going to http://www.cyberiapc.com/aascripter/samples/Security/encrypter.htm and use the HTML encrypter there; it will scramble the source code into an unreadable mess. The page can be saved for use offline 8).can you point me to a page encrypted with that? Share this post Link to post Share on other sites
iGuest 3 Report post Posted November 30, 2004 Aggressiveskating wrote: Smoothie wrote: Try going to http://www.cyberiapc.com/aascripter/samples/Security/encrypter.htm and use the HTML encrypter there; it will scramble the source code into an unreadable mess. The page can be saved for use offline . Very Useful thanks. Not very useful at all, i'm afraid. Here's why!For the purpose of this exercise i put this very simplesource code thru the script!<HTML><HEAD><TITLE>Homepages</TITLE><META NAME="Description" CONTENT=""><META NAME="Keywords" CONTENT=""></HEAD><BODY BACKGROUND="bgn.gif" BGCOLOR="#FFFFFF" TEXT="#000080" LINK="#0000FF" BGPROPERTIES="fixed"><P><br><br>Bob's homepage<br><br><br><br></P><P ALIGN="center"><A HREF="javascript:history.back()"><IMG SRC="arrowbak.gif" ALT="Back" BORDER="0" WIDTH="19" HEIGHT="16"></A> <A HREF="mailto:mail@website.com"><IMG SRC="mailbox2.gif" ALT="Email"BORDER="0" WIDTH="16" HEIGHT="17"></A></P><br></BODY></HTML> This is what it looked like after the encryption!<script><!--document.write(unescape("%0D%0A%3CHTML%3E%0D%0A%3CHEAD%3E%0D%0A%3CTITLE%3EHomepages%3C/TITLE%3E%0D%0A%3CMETA%20NAME%3D%22Description%22%20CONTENT%3D%22%22%3E%0D%0A%3CMETA%20NAME%3D%22Keywords%22%20CONTENT%3D%22%22%3E%0D%0A%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%20BACKGROUND%3D%22bgn.gif%22%20BGCOLOR%3D%22%23FFFFFF%22%20TEXT%3D%22%23000080%22%20LINK%3D%22%230000FF%22%20BGPROPERTIES%3D%22fixed%22%3E%0D%0A%0D%0A%3CP%3E%3Cbr%3E%3Cbr%3E%0D%0ABob%27s%20homepage%3Cbr%3E%3Cbr%3E%0D%0A%3Cbr%3E%3Cbr%3E%0D%0A%3C/P%3E%0D%0A%0D%0A%3CP%20ALIGN%3D%22center%22%3E%3CA%20HREF%3D%22javascript%3Ahistory.back%28%29%22%3E%3CIMG%20SRC%3D%22arrowbak.gif%22%20ALT%3D%22Back%22%20BORDER%3D%220%22%20WIDTH%3D%2219%22%20HEIGHT%3D%2216%22%3E%3C/A%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CA%20HREF%3D%22mailto%3Amail@website.com%22%3E%3CIMG%20SRC%3D%22mailbox2.gif%22%20ALT%3D%22Email%22%0D%0ABORDER%3D%220%22%20WIDTH%3D%2216%22%20HEIGHT%3D%2217%22%3E%3C/A%3E%3C/P%3E%3Cbr%3E%0D%0A%3C/BODY%3E%0D%0A%3C/HTML%3E"));//--></script> For the sake of this exercise, we will just assume we know where the natural breaks, in the code, is and divide the script along the same lines.It will then look like this!<script><!--document.write(unescape("%0D%0A%3CHTML%3E%0D%0A%3CHEAD%3E%0D%0A%3CTITLE%3EHomepages%3C/TITLE%3E%0D%0A%3CMETA%20NAME%3D%22Description%22%20CONTENT%3D%22%22%3E%0D%0A%3CMETA%20NAME%3D%22Keywords%22%20CONTENT%3D%22%22%3E%0D%0A%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%20BACKGROUND%3D%22bgn.gif%22%20BGCOLOR%3D%22%23FFFFFF%22%20TEXT%3D%22%23000080%22%20LINK%3D%22%230000FF%22%20BGPROPERTIES%3D%22fixed%22%3E%0D%0A%0D%0A%3CP%3E%3Cbr%3E%3Cbr%3E%0D%0ABob%27s%20homepage%3Cbr%3E%3Cbr%3E%0D%0A%3Cbr%3E%3Cbr%3E%0D%0A%3C/P%3E%0D%0A%0D%0A%3CP%20ALIGN%3D%22center%22%3E%3CA%20HREF%3D%22javascript%3Ahistory.back%28%29%22%3E%3CIMG%20SRC%3D%22arrowbak.gif%22%20ALT%3D%22Back%22%20BORDER%3D%220%22%20WIDTH%3D%2219%22%20HEIGHT%3D%2216%22%3E%3C/A%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CA%20HREF%3D%22mailto%3Amail@website.com%22%3E%3CIMG%20SRC%3D%22mailbox2.gif%22%20ALT%3D%22Email%22%0D%0ABORDER%3D%220%22%20WIDTH%3D%2216%22%20HEIGHT%3D%2217%22%3E%3C/A%3E%3C/P%3E%3Cbr%3E%0D%0A%3C/BODY%3E%0D%0A%3C/HTML%3E"));//--></script> As you can see, it aint rocket science.You simply start with the denominators common to all webpages i. e.%0D%0A%3C HTML %3E = <HTML>%0D%0A%3C HEAD %3E = <HEAD>etc.Of course, if you find this too cumbersome, you can always put the encrypted text back thru the converter script. :wink: Share this post Link to post Share on other sites
iGuest 3 Report post Posted December 18, 2004 Why would you want to encrypt your HTML?Seriously, what's the point?If somebody wants to steal what you've done, they'll be able to if they have any knowledge of HTML, even if they can't get direct access to your code. It's fairly easy to build a site that looks like the original once you've seen it; I completely copied the style of Gmail without bothering to go into the inner-workings thereof, just to prove I could do it. When I build a site I borrow ideas from several; we take inspiration where we can get it.As for the Javascript right-click . . . it can be turned off. It's off by default on some browsers (Firefox), and there're other ways of viewing the source (toolbars, etc.).The best idea is just not to bother about it. Concentrate on making a good site rather than worrying about thieves who might copy it. Share this post Link to post Share on other sites
iGuest 3 Report post Posted December 19, 2004 Try going to http://www.cyberiapc.com/aascripter/samples/Security/encrypter.htm and use the HTML encrypter there; it will scramble the source code into an unreadable mess. The page can be saved for use offline 8).ehh, put this in a php script and give it the "encrypted" html...<?php if (isset($_POST['enc'])) { echo urldecode($_POST['enc']); } else { echo "<HTML><BODY><CENTER><FORM METHOD='POST' ACTION='".$PHP_SELF."'><TEXTAREA style='WIDTH: 95%; BACKGROUND-COLOR: #ebebeb' name='enc' rows=11 cols=58></TEXTAREA><INPUT TYPE='SUBMIT' NAME='DO IT!'></FORM></CENTER></BODY></HTML>"; } ?>it will make quick work of your "Encrypted" HTML Share this post Link to post Share on other sites
iGuest 3 Report post Posted December 22, 2004 For IPB people really cant view anything but the posts since the php is parsed at the server it justs sends all the data in HTML so not neccesary and it is just pointless. Share this post Link to post Share on other sites
iGuest 3 Report post Posted January 14, 2005 why do people want them anyway?If your site isnt in plain html, then the worst someone can do is steal your layout...but if they havnt got the backend, their layout wont get much traffic, and everyone will knwo that yours was the original.If they make a backend, then they can make their own layout...I mean, if you can make a backend, then copying someone elses site layout takes no time at all - so long as you can work out the colours. Share this post Link to post Share on other sites