feat: add firefox parse and output

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ committed 2020-07-06 16:13:25 +08:00
1 parent 2add34ae20
commit fc8f965fdd
5 files changed
+73 -21

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ const (
History = "History"
Cookies = "Cookies"
Bookmarks = "Bookmarks"
FirefoxCookie = "cookies.sqlite"
)
func ListBrowser() []string {
+6
View File
@@ -115,3 +115,9 @@ func PKCS5UnPadding(src []byte) []byte {
unpadding := int(src[length-1])
return src[:(length - unpadding)]
}
func PKCS7UnPadding(origData []byte)[]byte{
length := len(origData)
unpadding := int(origData[length-1])
return origData[:length-unpadding]
}