2 ms·
>The issue is that normally a user has to enter their password in Chrome or, if you want their cookies, you need to modify the chrome binary itself to steal the
by gruez 8y ago
>The issue is that normally a user has to enter their password in Chrome or, if you want their cookies, you need to modify the chrome binary itself to steal them
or you could go to the site, autofill the password, then extract the password input's value using the dev console.
- lurktheweb 8y ago'cause that wouldn't be hacking ;)) kidding aside, this could be run from a USB key, automatically, in a very stealthy way. so yeah, worse.
- 3pt14159 8y agoI just tested this and it doesn't work for me (macOS / Chrome). Are you actually able to reproduce? Edit: It works if you change the input type. Sigh. The web is brutal.
- chairmanmow 8y agoTo reproduce, or utilize [it's a feature not a bug ;)] Whenever I forget my password to enter on a secondary device and don't want to unlock the keychain, I just go the site, logout, let it autofill the password and paste my lame script in the console. Whee! var inputs = document.getElementsByTagName('input'); for(var i = 0; i < inputs.length; i++) { if(inputs[i].type.toLowerCase() == 'password') { alert(inputs[i].value); } }