add firefox parser and output

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2020-07-06 16:13:25 +08:00
parent 45dc39d552
commit 425f816d59
5 changed files with 73 additions and 21 deletions
+2 -1
View File
@@ -70,7 +70,7 @@ func Execute() {
core.ParseResult(dst)
}
} else {
fileList := utils.GetDBPath(browserDir, "key4.db", "logins.json")
fileList := utils.GetDBPath(browserDir, "key4.db", "logins.json", utils.FirefoxCookie)
for _, v := range fileList {
dst := filepath.Base(v)
err := utils.CopyDB(v, dst)
@@ -78,6 +78,7 @@ func Execute() {
log.Println(err)
continue
}
core.ParseResult(dst)
core.DecodeKey4()
}
}