Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #11171

Re: JS De-obfuscator

From GS <gs@v.invalid>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: JS De-obfuscator
Date 2015-11-02 14:42 -0500
Organization A noiseless patient Spider
Message-ID <n18e75$r0b$1@dont-email.me> (permalink)
References <mrsg7s$mtm$1@dont-email.me>

Show all headers | View raw


>   I've been working on a fun project lately that
> I though people might find useful. Maybe there
> will also be comments or suggestions:
>
> http://www.jsware.net/jsware/scrfiles.php5#jsdeob
>
>   It's an HTA. I've been finding that webpage code
> increasingly uses very bloated and obfuscated JS
> to create the page. In some cases I've even found
> JSON, embedded in script, which in turns embeds
> the HTML of the page! In some cases the idea seems
> to be to force people to enable script. In other cases
> it seems to be to either hide or protect the code.
>
>    In any case, I wanted to be able to dump the
> obfuscated script into a window and clean it up.
> The result is at the link above. It starts with an
> OSS script to format, then uses my own VBS to
> further clean up the code and add color syntax
> highlighting.

Interesting that not all browsers support vbs!

I built my website using Frontpage because it shipped with my Office 
2000 Developer Edition. I switched to using ExpressionWeb when M$ offer 
a cheap upgrade for FP users. (This has also been deprecated, and v4 is 
available free since there's no longer any support for it!)

I recently moved my website to a newer server (same host but 1/3 the 
annual cost) from an older 'legacy' server where I was making use of 
Frontpage Server Extensions. This, of course, was deprecated circa 2002 
and is not supported on the new server. I thought I'd have to implement 
some js to substitute the FSE features no longer available. I managed 
to replace my webform/webmail stuff with Perl scripts, though.

In my research I ran across Dojo. This is a heavy duty js package that 
also makes use of JSON and Regex. Older versions of the Dojo package 
apparently required lots of js scripting over what they're calling 
'Modern Dojo'. As far as I could see they're are millions of web 
developers using this stuff.

I also looked at Wordpress but passed since I like a WYSIWYG editor UI. 
I went with the newest version of EW since I'm familiar with it. Don't 
know how much js WP uses, but I suspect plenty since html alone can't 
do much of the features it offers.

I still have some js in place for parsing values passed in a URL. It 
would be nice, though, if I could replace it with html somehow!

-- 
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
  comp.lang.basic.visual.misc
  microsoft.public.vb.general.discussion

Back to microsoft.public.scripting.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

JS De-obfuscator "Mayayana" <mayayana@invalid.nospam> - 2015-08-29 10:44 -0400
  Re: JS De-obfuscator GS <gs@v.invalid> - 2015-11-02 14:42 -0500
    Re: JS De-obfuscator "Mayayana" <mayayana@invalid.nospam> - 2015-11-02 15:06 -0500
      Re: JS De-obfuscator GS <gs@v.invalid> - 2015-11-02 15:21 -0500

csiph-web