Documentation ¶
Index ¶
Constants ¶
View Source
const (
UnsupportedItem = "unsupported item"
)
item's default filename
Variables ¶
View Source
var DefaultChromiumTypes = []DataType{ ChromiumKey, ChromiumPassword, ChromiumCookie, ChromiumBookmark, ChromiumHistory, ChromiumDownload, ChromiumCreditCard, ChromiumLocalStorage, ChromiumSessionStorage, ChromiumExtension, }
DefaultChromiumTypes returns the default items for the chromium browser
View Source
var DefaultFirefoxTypes = []DataType{ FirefoxKey4, FirefoxPassword, FirefoxCookie, FirefoxBookmark, FirefoxHistory, FirefoxDownload, FirefoxCreditCard, FirefoxLocalStorage, FirefoxSessionStorage, FirefoxExtension, }
DefaultFirefoxTypes returns the default items for the firefox browser
View Source
var DefaultYandexTypes = []DataType{ ChromiumKey, ChromiumCookie, ChromiumBookmark, ChromiumHistory, ChromiumDownload, ChromiumExtension, YandexPassword, ChromiumLocalStorage, ChromiumSessionStorage, YandexCreditCard, }
DefaultYandexTypes returns the default items for the yandex browser
Functions ¶
This section is empty.
Types ¶
type DataType ¶
type DataType int
const ( ChromiumKey DataType = iota ChromiumPassword ChromiumCookie ChromiumBookmark ChromiumHistory ChromiumDownload ChromiumCreditCard ChromiumLocalStorage ChromiumSessionStorage ChromiumExtension YandexPassword YandexCreditCard FirefoxKey4 FirefoxPassword FirefoxCookie FirefoxBookmark FirefoxHistory FirefoxDownload FirefoxCreditCard FirefoxLocalStorage FirefoxSessionStorage FirefoxExtension )
func FilterSensitiveItems ¶
FilterSensitiveItems returns the sensitive items
func (DataType) Filename ¶
Filename returns the filename for the item, defined by browser chromium local storage is a folder, so it returns the file name of the folder
func (DataType) IsSensitive ¶
IsSensitive returns whether the item is sensitive data password, cookie, credit card, master key is unlimited
func (DataType) TempFilename ¶
TempFilename returns the temp filename for the item with suffix eg: chromiumKey_0.temp
Click to show internal directories.
Click to hide internal directories.