Tuesday, July 27, 2010

Javascript Decoding using Browser

function WriteToFile(sText){
var fso = new ActiveXObject("Scripting.FileSystemObject");
var FileObject = fso.OpenTextFile("C:\\LogFile.txt", 8, true,0); // 8=append, true=create if not exist, 0 = ASCII

There might be times where you are forced to decode the obfuscated javascript from your browser session. During times like that you may take advantage of the above pasted code to write the decoded javascript to a file on your computer. I will come up with a video post later. binaryhax0r.

1 comment: