Writing Filters

The forum for all discussion related to JavaScript Deobfuscator extension. It might not be as busy as the other forums but don't hesitate to come in and ask your question.

Writing Filters

Postby brock » Mon Jan 10, 2011 1:54 am

How do I write a filter to make the JavaScript Deobfuscator ignore scripts that come from a specific directory ?

Say that I have a directory referenced from the website root as : /js/tinymce/current_version/tiny_mce.js

And I want to ignore all scripts that came from the TinyMCE distribution. All of those script are under /js/tinymce/

How do I write the filter for that ?

*/tinymce/*
*/tinymce
/tinymce*
tinymce*

I have tried several and do not seem to be able to filter out the tinymce scripts.

Steps I follow to try the different filter attempts :
I pause the deobfuscator
I change the filter
I clear the Compiled Scripts tab
I un-pause the deobfuscator
I shift-refresh the page that I am interested in.

Help ?

Thanks
--Brock
brock
 

Re: Writing Filters

Postby Wladimir Palant » Mon Jan 10, 2011 11:08 am

Deobfuscator filters aren't very flexible, for reasons of performance. You can ignore any script where address *starts* with a particular string. So your filter has to be:

Code: Select all
http://example.com/js/tinymce/

Where example.com is the website you are looking at.
Wladimir Palant
ABP Developer
 
Posts: 8398
Joined: Fri Jun 09, 2006 6:59 pm
Location: Cologne, Germany

Re: Writing Filters

Postby brock » Mon Jan 10, 2011 12:07 pm

Thank you !
That cleared up my understanding a lot !
And, it solved my problem.
--Brock
brock
 

Re: Writing Filters

Postby pavshinAN » Thu Mar 28, 2013 6:01 pm

I clear the Compiled Scripts tab
I un-pause the deobfuscator
I shift-refresh the page that I am interested in.
pavshinAN
 
Posts: 1
Joined: Thu Mar 28, 2013 6:00 pm
Location: Россия Москва

Re: Writing Filters

Postby sofroneclaudiu » Thu Mar 19, 2015 3:06 pm

When i use it?
sofroneclaudiu
 
Posts: 1
Joined: Tue Mar 10, 2015 3:42 pm

Re: Writing Filters

Postby mapx » Thu Mar 19, 2015 3:18 pm

https://addons.mozilla.org/firefox/addo ... bfuscator/
This add-on shows you what JavaScript code runs on a web page, even if it is obfuscated and generated on the fly. Simply open JavaScript Deobfuscator from the Web Developer menu and watch the scripts being compiled/executed.
User avatar
mapx
 
Posts: 21947
Joined: Thu Jan 06, 2011 3:01 pm


Return to JavaScript Deobfuscator

Who is online

Users browsing this forum: No registered users and 1 guest