![]() |
|
#1
|
||||
|
||||
A way to hide JavaScript CodeThis is pretty interesting.... Although for a determined user, you could figure it out. Anyone care to try?
View it in IE6.0 before any other browsers. Here is the page: http://hideit.siteexperts.com/ Far more challenging than any I have seen.... __________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
||||
|
#2
|
||||
|
||||
|
That's interesting... NOT!
Frankly, why people bother to disable right-click, hide their HTML source or even JavaScript is beyond me. Maybe they need to get a reality check soon. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
||||
|
||||
|
lol...
Did you find the code? It isn't just a disabled right click... __________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
|
#4
|
||||
|
||||
|
Quote:
What are you smoking Bobby? Of course I know this has nothing to do with 'disabling the right-click' but to me, the people who waste their time doing stuff like these belong in the same category. There are better ways to encrypt something; HTML and javascript are not one of those. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#5
|
||||
|
||||
|
What would be a better way to encrypt Javascript code?
By the way, it isn't just HTML and Javascript. If you were able to see the code, you would know. But to me and you, it is still "hidden". From what I understood, there is another asp file that writes out the encrypted code. If you look, the page keeps trying to load and load. It basically just goes back and forth and never stops. __________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
|
#6
|
||||
|
||||
|
OK, you're missing my point... You cannot encrypt javascript without the browser being able to decrypt it. Using JavaScript to send you to another page that encrypts and decrypts something is a whole different ball game.
So, NO you can't encrypt JavaScript period. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#7
|
||||
|
||||
|
Well of course the browser will have to read it in order for it to work.
Are you able to find the javascript code for the specific alert? __________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
|
#8
|
||||
|
||||
|
No... I don't bother with stuff like this. I have my own encryption classes to refine. Look at the ones I used to re-direct users off each link on GIDWebHosts. It's the preferred way... the encrypted string is just not a URL, it contains an entire array of information/data that you wouldn't be able to decrypt no matter how much you try since the KEY is on the server and not on the client (i.e. the browser).
If you want to to 'break' that hidden javascript, all you have to do is focus on the headers being sent and received I would suspect... because at some point, the (hidden) javascript is sent to the browser in plain text! __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#9
|
||||
|
||||
|
I cant even tell that something is being encrypted lol.
Care to explain a little bit more about this? I find these type of things interesting, but lack the knowledge of PHP to do it. __________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
|
#10
|
||||
|
||||
|
I just created a very basic encryption / decryption class in php (using the mcrypt functions) that allows me to encrypt (or decrypt) anything I pass through it. I love it... it's actually one of the handful of scripts that survived my Linux 'melt-down' last year.
If you refer to the PHP Manual, they have some very simple examples there that you can easily follow. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| We're looking for JavaScript codes / mini tutorials. | JdS | Web Design Forum | 8 | 23-Nov-2008 04:27 |
| Re: Formatting C / C++ code | WaltP | C Programming Language | 1 | 07-Jan-2008 00:59 |
| [Tutorial] How to hide e-mail address from SPAM Bots | BobbyDouglas | Web Design Forum | 40 | 13-Feb-2006 10:44 |
| JavaScript Tutorial Part 1 | pcxgamer | Web Design Forum | 2 | 01-Dec-2003 10:16 |
| This JavaScript doesn't work on Mozilla. | JdS | Web Design Forum | 8 | 02-Jul-2003 15:08 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The