fix: filter result if exported data is empty

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-06-05 15:27:14 +08:00
parent d1ae09d9e4
commit 7b8e2a3fd2
9 changed files with 85 additions and 11 deletions
+8
View File
@@ -93,6 +93,10 @@ func (c *ChromiumCookie) Name() string {
return "cookie"
}
func (c *ChromiumCookie) Length() int {
return len(*c)
}
type FirefoxCookie []cookie
const (
@@ -137,3 +141,7 @@ func (f *FirefoxCookie) Parse(masterKey []byte) error {
func (f *FirefoxCookie) Name() string {
return "cookie"
}
func (f *FirefoxCookie) Length() int {
return len(*f)
}