MozillaZine

Questions on SpiderMonkey

Closed Forum
Guest
Guest
 

Post Posted December 10th, 2006, 8:02 pm

My codes need to decrypt those self-decrypting scripts (malicious script authors love to encrypt their codes). To implement this goal, I'm planning to do the following things:
1) parse the html codes and generate a DOM tree using htmlcxx or tidy/Xerces
2) interpret/run javascript codes using SpiderMonkey
3) write a basic vbscript-to-javascript converter which can translate vbscript String and Math statements into equivalent javascript, so that SpiderMonkey can run the translated scripts

My questions are:
a) is my plan going to work?
b) how to give SpiderMonkey an opportunity to read/write my DOM tree?
c) is a vbscript-to-javascript converter a good solution to intepret vbscripts? I didn't find any open source vbscript interpreter/parser or lex/yacc source

any suggestions will be appreciated.

Daifne
Moderator

User avatar
 
Posts: 122994
Joined: July 31st, 2005, 9:17 pm
Location: Where the Waters Meet, Wisconsin

Post Posted December 10th, 2006, 8:58 pm

What is SpiderMonkey? There is no program connected to Mozilla that is named that.

Guest
Guest
 

Post Posted December 10th, 2006, 9:29 pm

Daifne wrote:What is SpiderMonkey? There is no program connected to Mozilla that is named that.


It's Mozilla's javascript interpreter.

"SpiderMonkey is the code-name for the Mozilla's C implementation of JavaScript." - from http://www.mozilla.org/js/spidermonkey/

Hope I post my question to the right place...

Daifne
Moderator

User avatar
 
Posts: 122994
Joined: July 31st, 2005, 9:17 pm
Location: Where the Waters Meet, Wisconsin

Post Posted December 10th, 2006, 9:40 pm

I don't know where else it would go, so I'll leave it here. If another mod has an idea they can move it for you.

Return to Miscellaneous Support


Who is online

Users browsing this forum: No registered users and 1 guest