Reverse Engineer Packer javascript

June 11th, 2009   Filed Under Good to know, Javascript, Tips & Tricks, browser, debuggers, firefox, gyan  

Have you ever seen a code something like this:

eval(function(p,a,c,k,e,r){e=funct.... etc....

And you suffer reading the encoded code. No suffers now; because I am going to tell you a trick  that will convert your packer code in a readable script.

And it is really simple …. just replace the eval word with alert and refresh your page. You can now copy the code from the alert box.

If you face the problem of copying it from the alert box then open firefox browser with firebug pre-installed.

Open the console using F12 key and paste the code in the editable window.

Now replace the first word “eval” with “console.log” and hit run.

Probably you would need Javascript Tidy to make it properly readable.

Enjoy Madi!!

Firefox eats lot of memory?

April 2nd, 2009   Filed Under Good to know, Patch, Tips & Tricks, browser, firefox  

Great!!  that you came across the same road where I was chuckling for a while thinking and getting annoyed…

No doubt its a great browser; But the plugins eat a lots and tonnes of memory of your system and also by default it stores a lots of history for you…

So to lessload its history go to the Tools>Options>Privacy and reduce the history from 90(default) to 10 or less days.

But still, when you open multiple tabs you still find it hogging your system memory. To work with a different memory expensive application like Photoshop or Outlook or Eclipse.. you need a lot of memory…

So what to do?

No worries… open your firefox browser… type “about:config” (without quotes) in the address bar.

Hit enter. Now right click on the white space somewhere and choose New>Boolean
An input box will appear..

Put “config.trim_on_minimize” (without quotes)…. Hit enter

Now choose “true” from the list and hit enter.Restart your browser… it will only hog the memory when you are using firefox… otherwise when you minimize it… the system memory hogged by firefox is released.

Check the status of your memory by using the Windows Task Manager. Enjoy the great browser and its plugins.