parse cookies, bookmarks, history Closes #9

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2020-07-07 20:27:14 +08:00
parent 425f816d59
commit 0bfc68f896
3 changed files with 145 additions and 33 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
package cmd
import (
"fmt"
"hack-browser-data/core"
"hack-browser-data/log"
"hack-browser-data/utils"
@@ -70,16 +71,16 @@ func Execute() {
core.ParseResult(dst)
}
} else {
fileList := utils.GetDBPath(browserDir, "key4.db", "logins.json", utils.FirefoxCookie)
fileList := utils.GetDBPath(browserDir, utils.FirefoxLoginData, utils.FirefoxKey4DB, utils.FirefoxCookie, utils.FirefoxData)
for _, v := range fileList {
dst := filepath.Base(v)
fmt.Println(dst)
err := utils.CopyDB(v, dst)
if err != nil {
log.Println(err)
continue
}
core.ParseResult(dst)
core.DecodeKey4()
}
}