Re: This is clever



"Wally" <not@xxxxxxxxxxxx> wrote in message
news:esvfkg$gpl$1@xxxxxxxxxxxxxxxxxxxx

Spose some clever ********** will know
how it's done :o)

http://members.shaw.ca/anabw/magic.htm

Do you mean how is the Page made up (from the Obfuscated Script)?

I dunno why Web Pages are written like that, cos it doesn't stop
anybody looking at it & seeing what the HTML Code of the Page is.

Or do you mean how does the Number guessing thing in the .SWF ShockWave
Flash Movie on the Page works?

The Page is done simply by using a Script that has various Characters
substituted (represented) by their Hexadecimal equivalents ("Escaped")
So the "unescape()" Script Function is used to decode it.

& that's done 3 times. (in a rather vain attempt to make it more
difficult to Read the HTML Code of the Page).

So the Script "unescapes" part of the stuff, then "unescapes" the
result & then it unescapes it again, to give the resulting HTML Code.
& it's all written into the Page, using the "document.write()" Function
to write the HTML into the Page.

But the main bits of the Page are actually left "in the clear"
(which rather defeats the idea of all that "Obfuscating" of it all)...

Even without doing the "unescape" thing on it, you can see the words
"embed" (which is the bit which puts the .SWF ShockWave Flash Movie
on the Page.
& you can see the FileName of it - "magno/magicnumber.swf", so that
means the URL of the .SWF File is...

http://members.shaw.ca/anabw/magno/magicnumber.swf

When you Click that, it Fetches the .SWF File & it Opens up directly
in the Browser Window & it Fits in whatever Size the Window is,
rather than being constrained to only 480 x 340 Pixels like it is
on that Web Page.

HTH

--
pmj


.



Relevant Pages

  • Re: Decoding html pages
    ... the HTML code that the PHP engine produces *from* the raw html code and that ... That's the case with practically any PHP "page" (or any by a ... server-side script generated page for that matter). ... Of course the script does load, when you load the proper page (else it would ...
    (comp.lang.javascript)
  • Re: HTML Code Produced by FP
    ... The OP is not using a script - he is designing a page that will be ... In pages I write that will be parsed by a Perl script I do not allow ... FrontPage to write any code. ... FP puts breaks (inserts html code) in places in the actual ...
    (microsoft.public.frontpage.programming)
  • Re: Deadlock -- a Webmasters Tool -- password protection
    ... I must be completely misunderstanding what this is supposed to do, ... copy and paste encrypted html code that appears in box 2 to a NEW ... This script requires no server side intervention, ... with any java enabled web browser. ...
    (comp.sys.cbm)
  • Parsing Links
    ... Hi I have a script that someone helped me make. ... The players data still has the html code around it. ... Set objFile = objFSO.GetFile) ...
    (microsoft.public.scripting.vbscript)