mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
feat: add firefox parse and output
This commit is contained in:
@@ -42,6 +42,7 @@ const (
|
||||
History = "History"
|
||||
Cookies = "Cookies"
|
||||
Bookmarks = "Bookmarks"
|
||||
FirefoxCookie = "cookies.sqlite"
|
||||
)
|
||||
|
||||
func ListBrowser() []string {
|
||||
|
||||
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user