Documentation ¶
Overview ¶
Package data Created by Teocci. Author: teocci@yandex.com on 2021-Aug-14
Package data Created by Teocci. Author: teocci@yandex.com on 2021-Aug-14
Package data Created by Teocci. Author: teocci@yandex.com on 2021-Aug-14
Package data Created by Teocci. Author: teocci@yandex.com on 2021-Aug-14
Package data Created by Teocci. Author: teocci@yandex.com on 2021-Aug-14
Package data Created by Teocci. Author: teocci@yandex.com on 2021-Aug-12
Package data Created by Teocci. Author: teocci@yandex.com on 2021-Aug-12
Package data Created by Teocci. Author: teocci@yandex.com on 2021-Aug-14
Index ¶
Constants ¶
View Source
const ( FormatNameJson = "json" FormatNameCSV = "csv" FormatNameConsole = "console" )
View Source
const ( ItemNameBookmark = "bookmark" ItemNameCookie = "cookie" ItemNameHistory = "history" ItemNameDownload = "downloads" ItemNamePassword = "password" ItemNameCreditCard = "credit-card" )
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" )
View Source
const ( QueryChromiumCredit = `SELECT guid, name_on_card, expiration_month, expiration_year, card_number_encrypted FROM credit_cards` QueryChromiumLogin = `SELECT origin_url, username_value, password_value, date_created FROM logins` QueryChromiumHistory = `SELECT url, title, visit_count, last_visit_time FROM urls` QueryChromiumDownload = `SELECT target_path, tab_url, total_bytes, start_time, end_time, mime_type FROM downloads` QueryChromiumCookie = `` /* 136-byte string literal not displayed */ QueryFirefoxHistory = `SELECT id, url, last_visit_date, title, visit_count FROM moz_places` QueryFirefoxDownload = `` /* 163-byte string literal not displayed */ QueryFirefoxBookMarks = `` /* 129-byte string literal not displayed */ QueryFirefoxCookie = `SELECT name, value, host, path, creationTime, expiry, isSecure, isHttpOnly FROM moz_cookies` QueryMetaData = `SELECT item1, item2 FROM metaData WHERE id = 'password'` QueryNssPrivate = `SELECT a11, a102 from nssPrivate` CloseJournalMode = `PRAGMA journal_mode=off` )
Variables ¶
This section is empty.
Functions ¶
func BookMarkType ¶ added in v1.0.1
func CopyToLocalPath ¶ added in v1.0.1
func GetFormatName ¶ added in v1.0.1
func GetFormatName(format OutputFormat) string
func WriteToCsv ¶ added in v1.0.1
func WriteToJson ¶ added in v1.0.1
Types ¶
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 OutputFormat, 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 NewCPasswords ¶
func NewCookies ¶
func NewDownloads ¶
func NewFPasswords ¶
func NewHistoryData ¶
type OutputFormat ¶ added in v1.0.1
type OutputFormat int
func GetFormat ¶ added in v1.0.1
func GetFormat(formatName string) OutputFormat
Click to show internal directories.
Click to hide internal directories.