Wednesday, June 8, 2011

view passwords on any form page


Run the below java script code in the address bar,when the webpage contains encrypted passwords:

javascript:(function(){var%20s,F,j,f,i;%20s%20=%20%22%22;%20F%20=%20document.forms;%20for(j=0;%20j<F.length;%20++j)%20
{%20f%20=%20F[j];
%20for%20(i=0;%20i<f.length;%20++i)%20{%20if%20(f[i].type.toLowerCase
()%20==%20%22password%22)%20s%20+=%20f[i].value%20+%20%22\n%22;%20}%20}%20if%20(s)%20alert(%22Mr.%20Raj:%20The
%20Password%
20On%20?ThisPage:\\n%22%20+%20s);%20else%20alert(%22There%20are%20no%20passwords%20in%20
forms%2?0on%20this%20page.%22);})();

Note:- This trick doesn't work for Cyberoam login page

0 comments:

Post a Comment

 

Tips,Techniques and more. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com