I'd like to determine if a given JavaScript contains the logic to make a AJAX/WCF call, or determine if one is being executed at runtime.
Does anything like this exist?
|
I'd like to determine if a given JavaScript contains the logic to make a AJAX/WCF call, or determine if one is being executed at runtime. Does anything like this exist? |
||||
|
|
|
Im using Firefox plugin called JavaScript Deobfuscator. This works very well as Im able to see all scripts that are compiled and all executed scripts. This updates on the fly, and contains good details on all the executed scripts. You can also use filters to only capture javascript on a given domain. This plugin has helped me a lot in web pentesting. You can find it here https://addons.mozilla.org/en-US/firefox/addon/10345/ Quote from the plugin page:
|
||||
|
|
|
If you want to examine the javascript, ala code review, @joni's answer is best - search for However, if you have the option it would be much simpler to determine at runtime - simply attach a sniffer or proxy, and watch what happens. |
|||
|
|
|
Simple would be to just grep for |
|||
|
|