Get values inside Javascript functions at runtime
Posted: Mon Mar 23, 2009 11:09 am
JavaScript Deobfuscator looks very useful. Where can I find the documentation about it?
The javascript code of the page I want to track (combined with Ajax queries) generates an URL, and I am interested in that URL. But Deobfuscator just displays the function code, I have no way of knowing the values generating inside the functions. For example, part of the code of the website is this:
I would like to know which location.href is generated. For example, when I hover with my mouse over "location.href" inside Deobfuscator, I would like to see the actual value at run time. Because looking at just pure code is kind of useless for me.
Is Deobfuscator not the right tool to do this? Is there an other tool?
The javascript code of the page I want to track (combined with Ajax queries) generates an URL, and I am interested in that URL. But Deobfuscator just displays the function code, I have no way of knowing the values generating inside the functions. For example, part of the code of the website is this:
Code: Select all
var B = JSON.stringify(v[F]);
if (F === 1) {
location.href = location.protocol + "//" + location.host + location.pathname + location.search + "#" + base64_url_encode(JSON.stringify(v[1]));
}
$.post(window.webpath + "/ajax/" + v[F].ajaxpage + ".php?" + C, {settings: B}, A, "json");
Is Deobfuscator not the right tool to do this? Is there an other tool?