item

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnknownItem     = "unknown item"
	UnsupportedItem = "unsupported item"
)
View Source
const (
	TempChromiumKey            = "chromiumKey"
	TempChromiumPassword       = "password"
	TempChromiumCookie         = "cookie"
	TempChromiumBookmark       = "bookmark"
	TempChromiumHistory        = "history"
	TempChromiumDownload       = "download"
	TempChromiumCreditCard     = "creditCard"
	TempChromiumLocalStorage   = "localStorage"
	TempChromiumSessionStorage = "sessionStorage"
	TempChromiumExtension      = "extension"

	TempYandexPassword   = "yandexPassword"
	TempYandexCreditCard = "yandexCreditCard"

	TempFirefoxKey4           = "firefoxKey4"
	TempFirefoxPassword       = "firefoxPassword"
	TempFirefoxCookie         = "firefoxCookie"
	TempFirefoxBookmark       = "firefoxBookmark"
	TempFirefoxHistory        = "firefoxHistory"
	TempFirefoxDownload       = "firefoxDownload"
	TempFirefoxLocalStorage   = "firefoxLocalStorage"
	TempFirefoxSessionStorage = "firefoxSessionStorage"
	TempFirefoxCreditCard     = ""
	TempFirefoxExtension      = "firefoxExtension"
)

Variables

DefaultChromium returns the default items for the chromium browser

DefaultFirefox returns the default items for the firefox browser

DefaultYandex returns the default items for the yandex browser

Functions

This section is empty.

Types

type Item

type Item int
const (
	ChromiumKey Item = iota
	ChromiumPassword
	ChromiumCookie
	ChromiumBookmark
	ChromiumHistory
	ChromiumDownload
	ChromiumCreditCard
	ChromiumLocalStorage
	ChromiumSessionStorage
	ChromiumExtension

	YandexPassword
	YandexCreditCard

	FirefoxKey4
	FirefoxPassword
	FirefoxCookie
	FirefoxBookmark
	FirefoxHistory
	FirefoxDownload
	FirefoxCreditCard
	FirefoxLocalStorage
	FirefoxSessionStorage
	FirefoxExtension
)

func FilterSensitiveItems

func FilterSensitiveItems(items []Item) []Item

FilterSensitiveItems returns the sensitive items

func (Item) FileName

func (i Item) FileName() string

func (Item) IsSensitive

func (i Item) IsSensitive() bool

IsSensitive returns whether the item is sensitive data password, cookie, credit card, master key is unlimited

func (Item) String

func (i Item) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL