Last active
March 3, 2024 10:14
-
-
Save liamg/e505a85205743385c9dc to your computer and use it in GitHub Desktop.
Export all lastpass passwords, including hidden. If you're sick of lastpass failing to fill inputs properly, just paste this in the console on the extension vault page.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var q, p = ['Username', 'Password', 'URL'], m = LPProxy.getAllModelItems(), o = []; | |
for(var i in m){ | |
q = []; | |
for(var j in p) q.push([p[j], m[i]['get' + p[j]]()].join(': ')); | |
o.push(q.join('<br/>')); | |
} | |
window.location.href="data:text/html;charset=utf-8," + escape(o.join('<hr/>')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment