abhaythehero
06-10-2013, 01:50 PM
Here is a neat trick (according to me) for people who are analyzing a suspected malicious website/watering hole attack. To fetch the source html/js code of the website, mostly we do wget and then read the code in a text editor.
In chrome, by doing
view-source:URL in the address bar, chrome will directly display the html/js source code of the website, and will NOT render or run anything. So no chance of anything getting executed and you being infected.
Eg. I suspect google.com to be malicious. So initial forensics to view source code then and there in chrome browser :
view-source:http://www.google.com
In chrome, by doing
view-source:URL in the address bar, chrome will directly display the html/js source code of the website, and will NOT render or run anything. So no chance of anything getting executed and you being infected.
Eg. I suspect google.com to be malicious. So initial forensics to view source code then and there in chrome browser :
view-source:http://www.google.com