Ariel Popovsky's Blog

Aventuras y desventuras con .net
posts - 9, comments - 146, trackbacks - 0

My Links

News

Locations of visitors to this page

Twitter












Tag Cloud

Archives

Post Categories

My Sites

March 2011 Entries

Finding an alert in the middle of your javascript
I was debugging a script injection issue the other day using some sample code with an alert in it. The alert was popping out meaning the code got executed leaving open the possibility for a hacker to put there some nasty malicious code. I knew my alert was being executed but didn’t know how. So I tried something that worked perfectly for this problem, replaced the native alert function with my own one. All I had to do in Chrome was open the javascript console and type: alert = function(msg){ console.log(msg);...

Posted On Friday, March 11, 2011 6:40 PM | Feedback (0) | Filed Under [ Otros ]

Powered by: