Ever wonder whats behind the asterisks?

Discussion in 'BlackHat Lounge' started by ddf1980, Feb 6, 2009.

  1. ddf1980

    ddf1980 Junior Member

    Joined:
    Aug 19, 2008
    Messages:
    110
    Likes Received:
    51
    I found this on a warez forum...lmao..have fun boys n girls.

    If there's a page on firefox that has a password just put this in your bar and it will tell you what's behind it.


    Code:
    javascript:%20var%20p=r();%20function%20r(){var%20g=0;var%20x=false;var%20x=z(document.forms);g=g+1;var%20w=window.frames;for(var%20k=0;k<w.length;k++)%20{var%20x%20=%20((x)%20||%20(z(w[k].document.forms)));g=g+1;}if%20(!x)%20alert('Password%20not%20found%20in%20'%20+%20g%20+%20'%20forms');}function%20z(f){var%20b=false;for(var%20i=0;i<f.length;i++)%20{var%20e=f[i].elements;for(var%20j=0;j<e.length;j++)%20{if%20(h(e[j]))%20{b=true}}}return%20b;}function%20h(ej){var%20s='';if%20(ej.type=='password'){s=ej.value;if%20(s!=''){prompt('Password%20found%20',%20s)}else{alert('Password%20is%20blank')}return%20true;}}
    
     
    • Thanks Thanks x 2
  2. italiandude

    italiandude Newbie

    Joined:
    Jul 15, 2008
    Messages:
    44
    Likes Received:
    9
    Pretty cool.
     
  3. sikx

    sikx Registered Member

    Joined:
    Jan 4, 2009
    Messages:
    65
    Likes Received:
    167
    Location:
    Germany
    Behind the asterisks....? Aka saved passwords?

    *facepalm

    Tools -> Options -> Security -> Saved Passwords -> Show Passwords