From: mistral on

Tom St Denis пиÑ?ал(а):

> mistral wrote:
> > some people consider that encoding of javascript code on html page is
> > very weak, easily crackable, and unreliable. May be. Nevertheless, what
> > data is encoded below, and what enctyption method used?
>
> It appears that you use MD5 to hash the password and then RC4 to
> decrypt the data.
>
> Assuming the password wasn't trivial why would you assume we could
> break this?
>
> BTW, if you use RC4 to encrypt the message you don't have to obfuscate
> your code since the secrecy lies in the key not the code.
>
> And your code is horrible btw ...
>
> Tom
---------------

Its not my code. Its just page sample, encrypted with HTML Password
Lock software. As it you can see, its strong enough, so can no break
password easily.

here is full page:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--Protected by HTML Password Lock, MTop Software Inc.--><!-- saved
from url=(0014)about:internet --><HTML><HEAD>
<SCRIPT language=javascript>window.onerror=null;</SCRIPT>

<SCRIPT language=JavaScript>
var
tab="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function
HHHHH(DDDDD,msg1){var NNNII=new
Array('suQvIsGK47/GwKz2wvvz0rtyOyABl2UrTkHN1Cu7PT0oY1SPIkvh4V7/LNSnymZkQJTfMCdn0P7ATyHos9TvOrxNhjkNNlGZBYqk2fQwnnb1WPxoPbXje763i5E+4Es9F/AcfqV23LTrw786KXAd3KIEIRcMT1S6oLCGjRXX0dcvvq12myw+Kw3SkAHncNKDzf91WV6s2K4yUpOJ+d1m+tSHKH51neRQOjld9qZ3NLBNU/LBQUTA6lSY0OYh/RO8ZtVAfhPDcA+8hltHO59p6U7MBLvQDR7H0dhKqndBJxsyDTVQJXImt4NAzmwgGSf1tHz/hhJyBqE7kuzuKPB8wB','xbEk0w1DdGoK57w4Yn44uOb5nGjJleA9IZiTjLNtJany+4kGyA8r2UP/vsWzDmM0d5ieMyNnu/eTIbTnWJz6323ZyyBOJZzG49vju+g12m55SL18WuiyeDuuzIBxvEc8bXUKfDHr7nCr73I7dLxO6OoBVVqadw3ooqTa2InTppN7hjRh1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fxsUA','aqQ2nhAXB6ofwq1rdepzE+KqiX2Zl+EocY3QmOY4APDwx9WVNE8o7oe8vsH0DucvuVnLEvNz66uDcuzlHtnvhH1Z5TlOEUWWP9/l8j03wSc/Uv1oW3HyT+50y8R3/ks9OyjS/+B/2Hypyq5vKOEZm7tWP4OOHgG71b2P+tTCks58jPF0s6wsf8SDwUx2fQbEof8yEsO61TtjYV/Y5AHy/oSAKzZ1lWxKAaBdo/MnIzweCq6HbwCTqZiRumImugvvHFALDELSZ968Vs4XA0o6zF+ZECaEDJPUmcRSl+IQbgp1g/xDZ/4n1IpAyaQiUjamqel6C1L/DHAuuKnkfvUssA','yqwnmsUGcyoC5fh6OfJoBjPqQqiKkHAr7NDD0TMqByyo1BGEvYJ9Z0eoTMXnrHO0eEGNYnp06K/TcOXxC0zojDzKpyxe
From: Tom St Denis on
mistral wrote:
> Its not my code. Its just page sample, encrypted with HTML Password
> Lock software. As it you can see, its strong enough, so can no break
> password easily.

So the user has to enter a password. Big deal. You don't need to
write shitty looking jscript to accomplish that. That is, trying to
hide that you used RC4/MD5 doesn't make it more secure.

Ok it's not your code, hmm why are you posting this? Suppose it is
something private and what not. Why would I try to break it and give
you the text?

Tom

From: TC on

mistral wrote:

> Code protection based on encoding of script and decrypting in browser
> with another script ('public' function) is intended for protection from
> robots(software) and for non tech users.

But if /that/ is your aim, then, the level of obfscation and
complexity, in your code, is completely unnecessary. You could protect
it from robots and non-technical users, by vastly simpler methods, such
as, expressing it in "hex ascii" form (61=A, 62=B etc.).

All of the extra obfuscation and complexity, gains nothing; it just
increases the chances of programming errors.

TC (MVP MSAccess)
http://tc2.atspace.com

From: mistral on

Tom St Denis пиÑ?ал(а):

> mistral wrote:
> > Its not my code. Its just page sample, encrypted with HTML Password
> > Lock software. As it you can see, its strong enough, so can no break
> > password easily.
>
> So the user has to enter a password. Big deal. You don't need to
> write shitty looking jscript to accomplish that. That is, trying to
> hide that you used RC4/MD5 doesn't make it more secure.
>
> Ok it's not your code, hmm why are you posting this? Suppose it is
> something private and what not. Why would I try to break it and give
> you the text?
>
> Tom
------------

its old page, encrypted with "HTML Password Lock", nothing private
there. Just clear sample that simple encryption software can provide a
good protection. As you can see, its not so easy to break even this
small page.

m.

From: TC on

mistral wrote:

> its old page, encrypted with "HTML Password Lock", nothing private
> there. Just clear sample that simple encryption software can provide a
> good protection. As you can see, its not so easy to break even this
> small page.

So to me you say the purpose is: (1) "protection from robots
(software) and for [from?] non tech users", but to Tom you say the
purpose is: (2) to show that "simple encryption software can provide a
good protection".

If the purpose is (1), then, the code is hopelessly over-complicated.
If the purpose is (2), then, no-one disagrees with that! (Of course you
can write strong encryption in javascript.)

Bye :-)
TC (MVP MSAccess)
http://tc2.atspace.com

First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5 6
Prev: M.peg biss key finder
Next: encrypt in c# and decrypt in c++