README ¶
SQL schemes of file Cookies, table cookies
extracted with sqlitebrowser
-- chromium 99 Linux
CREATE TABLE cookies(creation_utc INTEGER NOT NULL,
top_frame_site_key TEXT NOT NULL,
host_key TEXT NOT NULL,
name TEXT NOT NULL,
value TEXT NOT NULL,
encrypted_value BLOB DEFAULT '',
path TEXT NOT NULL,
expires_utc INTEGER NOT NULL,
is_secure INTEGER NOT NULL,
is_httponly INTEGER NOT NULL,
last_access_utc INTEGER NOT NULL,
has_expires INTEGER NOT NULL DEFAULT 1,
is_persistent INTEGER NOT NULL DEFAULT 1,
priority INTEGER NOT NULL DEFAULT 1,
samesite INTEGER NOT NULL DEFAULT -1,
source_scheme INTEGER NOT NULL DEFAULT 0,
source_port INTEGER NOT NULL DEFAULT -1,
is_same_party INTEGER NOT NULL DEFAULT 0,
UNIQUE (top_frame_site_key, host_key, name, path)
)
-- chrome 80
CREATE TABLE cookies(
creation_utc INTEGER NOT NULL,
host_key TEXT NOT NULL,
name TEXT NOT NULL,
value TEXT NOT NULL,
path TEXT NOT NULL,
expires_utc INTEGER NOT NULL,
is_secure INTEGER NOT NULL,
is_httponly INTEGER NOT NULL,
last_access_utc INTEGER NOT NULL,
has_expires INTEGER NOT NULL DEFAULT 1,
is_persistent INTEGER NOT NULL DEFAULT 1,
priority INTEGER NOT NULL DEFAULT 1,
encrypted_value BLOB DEFAULT '',
samesite INTEGER NOT NULL DEFAULT -1,
source_scheme INTEGER NOT NULL DEFAULT 0,
UNIQUE (host_key, name, path)
)
Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CookieStore ¶
type CookieStore struct { cookies.DefaultCookieStore Database *sqlite3.DbFile KeyringPasswordBytes []byte PasswordBytes []byte DecryptionMethod func(data, password []byte) ([]byte, error) // contains filtered or unexported fields }
func (*CookieStore) Close ¶
func (s *CookieStore) Close() error
func (*CookieStore) Open ¶
func (s *CookieStore) Open() error
func (*CookieStore) SetKeyringPassword ¶
func (s *CookieStore) SetKeyringPassword(password []byte) []byte
returns the previous password for later restoration used in tests
func (*CookieStore) SetSafeStorage ¶ added in v0.2.3
func (s *CookieStore) SetSafeStorage(account, name string)
func (*CookieStore) TraverseCookies ¶ added in v0.2.3
func (s *CookieStore) TraverseCookies(filters ...kooky.Filter) kooky.CookieSeq
Source Files ¶
Click to show internal directories.
Click to hide internal directories.