• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

megmage/chrome-export-passwords: Show all your chromium passwords in format read ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

megmage/chrome-export-passwords

开源软件地址:

https://github.com/megmage/chrome-export-passwords

开源编程语言:

JavaScript 100.0%

开源软件介绍:

Instructions:

I found a decision how to show all your passwords from Chromium. Tested on Chromium:

Version 40.0.2214.111 Ubuntu 14.04 (64-bit) - Passed

Version 43.0.2357.65 Built on 8.0, running on Debian 8.1 (64-bit) - Passed

Version 48.0.2564.82 Built on 8.3, running on Debian 8.3 (64-bit) - Passed

Version 50.0.2661.102 Ubuntu 16.04 (64-bit) - Passed

Version 51.0.2704.79 Built on 8.4, running on Debian 8.5 (64-bit) - Passed

Version 55.0.2883.75 Built on 8.6, running on Debian 8.6 (64-bit) - Passed

Version 60.0.3112.78 (Developer Build) built on Debian 9.1, running on Debian 9.1 (64-bit) - Passed

Output format changed for ready to use in FireFox Export plugin Please install this plugin from https://addons.mozilla.org/en-Us/firefox/addon/password-exporter/

Output made in format: "hostname","username","password","formSubmitURL","httpRealm","usernameField","passwordField"

Last 3 fields "httpRealm","usernameField","passwordField" filled empty because Chrome has no information about in his Chrome Password Manager.

1.Open in Chromium browser link to Chrome password manager: (chrome://settings-frame/passwords)

2.Open console (F12) and insert this js code:

Minified version

var d=document,out="",out2="",pm=PasswordManager.getInstance(),pl=pm.savedPasswordsList_,model=pl.dataModel,version=loadTimeData.data_.browserVersion,timelag=model.length>100?15e3:5e3;for(d.getElementById("saved-passwords-list").scrollTop=d.getElementById("saved-passwords-list").scrollHeight,i=0;i<model.length;i++)chrome.send("requestShowPassword",[i]);setTimeout(function(){for(out2+="# Generated by Password Exporter; Export format 1.1; Encrypted: false\n",out2+='"hostname","username","password","formSubmitURL","httpRealm","usernameField","passwordField"',i=0;i<model.length;i++){var e=pl.getListItemByIndex(i),o=version.substring(8,10)>=51?model.array_[i].url:model.array_[i].origin;out+="\n"+o+"	"+model.array_[i].username+"	"+e.childNodes[0].childNodes[2].childNodes[0].value,out2+='\n"'+o+'","'+model.array_[i].username+'","'+e.childNodes[0].childNodes[2].childNodes[0].value.replace(/"/g,'""')+'","'+o+'"," "," "," "'}console.log(out),d.body.innerText=out2},timelag);

full version

var out = "";
var out2 = "";
var pm = PasswordManager.getInstance();
var pl = pm.savedPasswordsList_;
var model = pl.dataModel;
var version = loadTimeData.data_.browserVersion;
var timelag = (model.length > 100) ? 15000 : 5000;
document.getElementById("saved-passwords-list").scrollTop = document.getElementById("saved-passwords-list").scrollHeight;
for (i = 0; i < model.length; i++) {
	chrome.send('requestShowPassword', [i]);
};
setTimeout(
		function() {
			out2 += '# Generated by Password Exporter; Export format 1.1; Encrypted: false\n';
			out2 += '"hostname","username","password","formSubmitURL","httpRealm","usernameField","passwordField"';
			for (i = 0; i < model.length; i++) {
				var item = pl.getListItemByIndex(i);
				var UrlOrigin = (version.substring(8, 10) >= 51 ) ? model.array_[i].url : model.array_[i].origin;
				out += "\n" + UrlOrigin
						+ "	" + model.array_[i].username
						+ "	" + item.childNodes[0].childNodes[2].childNodes[0].value;
				out2 += '\n"' + UrlOrigin + '","'
						+ model.array_[i].username + '","'
						+ item.childNodes[0].childNodes[2].childNodes[0].value.replace(/"/g, '""')
						+ '","' + UrlOrigin + '"," "," "," "';
			}
			console.log(out);
			document.body.innerText = out2;
		}, timelag);

3.Now you see all your passwords in format i described early.

4.Copy all data to csv file and import to FireFox :)

5.Profit




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap