data

package
v0.3.6-0...-2b37703 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChromeCreditFile   = "Web Data"
	ChromePasswordFile = "Login Data"
	ChromeHistoryFile  = "History"
	ChromeDownloadFile = "History"
	ChromeCookieFile   = "Cookies"
	ChromeBookmarkFile = "Bookmarks"
	FirefoxCookieFile  = "cookies.sqlite"
	FirefoxKey4File    = "key4.db"
	FirefoxLoginFile   = "logins.json"
	FirefoxDataFile    = "places.sqlite"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Bookmarks

type Bookmarks struct {
	Bookmarks []bookmark
	// contains filtered or unexported fields
}

func (*Bookmarks) ChromeParse

func (b *Bookmarks) ChromeParse(key []byte) error

func (*Bookmarks) CopyDB

func (b *Bookmarks) CopyDB() error

func (*Bookmarks) FirefoxParse

func (b *Bookmarks) FirefoxParse() error

func (*Bookmarks) OutPut

func (b *Bookmarks) OutPut(format, browser, dir string) error

func (*Bookmarks) Release

func (b *Bookmarks) Release() error

type Cookies

type Cookies struct {
	Cookies map[string][]cookie
	// contains filtered or unexported fields
}

func (*Cookies) ChromeParse

func (c *Cookies) ChromeParse(secretKey []byte) error

func (*Cookies) CopyDB

func (c *Cookies) CopyDB() error

func (*Cookies) FirefoxParse

func (c *Cookies) FirefoxParse() error

func (*Cookies) OutPut

func (c *Cookies) OutPut(format, browser, dir string) error

func (*Cookies) Release

func (c *Cookies) Release() error

type HistoryData

type HistoryData struct {
	History []history
	// contains filtered or unexported fields
}

func (*HistoryData) ChromeParse

func (h *HistoryData) ChromeParse(key []byte) error

func (*HistoryData) CopyDB

func (h *HistoryData) CopyDB() error

func (*HistoryData) FirefoxParse

func (h *HistoryData) FirefoxParse() error

func (*HistoryData) OutPut

func (h *HistoryData) OutPut(format, browser, dir string) error

func (*HistoryData) Release

func (h *HistoryData) Release() error

type Item

type Item interface {
	// ChromeParse parse chrome items, Password and Cookie need secret key
	ChromeParse(key []byte) error

	// FirefoxParse parse firefox items
	FirefoxParse() error

	// OutPut file name and format type
	OutPut(format, browser, dir string) error

	// CopyDB is copy item db file to current dir
	CopyDB() error

	// Release is delete item db file
	Release() error
}

func NewBookmarks

func NewBookmarks(main, sub string) Item

func NewCCards

func NewCCards(main string, sub string) Item

func NewCPasswords

func NewCPasswords(main, sub string) Item

func NewCookies

func NewCookies(main, sub string) Item

func NewDownloads

func NewDownloads(main, sub string) Item

func NewFPasswords

func NewFPasswords(main, sub string) Item

func NewHistoryData

func NewHistoryData(main, sub string) Item

Jump to

Keyboard shortcuts

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