web data.pdf

download web data.pdf

of 21

Transcript of web data.pdf

  • 8/18/2019 web data.pdf

    1/21

    SQLite format 3 @

    û û E 5 ñ ¼ Ã õ ˆ Ä Ä

    /C indexsqlite_autoindex_web_apps_1web_apps

    '' _tableweb_app_iconsweb_app_iconsCREATE TABLE web_app_icons (url LONGVARCHAR,width int,heightint,image BLOB, UNIQUE (url, width, height))9

    M' indexsqlite_autoindex_web_app_icons_1web_app_icons

    1

  • 8/18/2019 web data.pdf

    2/21

    Z +! windexie7_logins_hashie7_loginsCREATE INDEX ie7_logins_hash ON ie7_logins (url_hash) !!

    tableie7_loginsie7_logins CREATE TABLE ie7_logins (url_hashVARCHAR NOT NULL, password_value BLOB, date_created INTEGER NOTNULL,UNIQUE (url_hash))3 G! indexsqlite_autoindex_ie7_logins_1ie7_logins R ' sindexlogins_signonlogins CREATE INDEX

    logins_signon ON logins (signon_realm) ƒm‡5tableloginslogins CREATE TABLE logins (origin_url VARCHARNOT NULL, action_url VARCHAR, username_element VARCHAR,username_value VARCHAR, password_element VARCHAR, password_valueBLOB, submit_element VARCHAR, signon_realm VARCHAR NOTNULL,ssl_valid INTEGER NOT NULL,preferred INTEGER NOTNULL,date_created INTEGER NOT NULL,blacklisted_by_user INTEGERNOT NULL,scheme INTEGER NOT NULL,UNIQUE (origin_url,username_element, username_value, password_element,submit_element, signon_realm))+ ?

    indexsqlite_autoindex_logins_1logins „‡atablekeywordskeywords CREATE TABLE keywords (id INTEGER

    PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT

    NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOTNULL,show_in_default_list INTEGER,safe_for_autoreplaceINTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT0,usage_count INTEGER DEFAULT 0,input_encodingsVARCHAR,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT0,autogenerate_keyword INTEGER DEFAULT 0,logo_id INTEGER DEFAULT0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR)e

    - tablemetameta CREATE TABLE meta(key LONGVARCHAR NOT NULLUNIQUE PRIMARY KEY,valueLONGVARCHAR)' ; indexsqlite_autoindex_meta_1meta

    Ô òÔ

    2

  • 8/18/2019 web data.pdf

    3/21

    ; last_compatible_version29

    3

  • 8/18/2019 web data.pdf

    4/21

    version29 Ø Øô

    ; last_compatibl e_versionversion

    4

  • 8/18/2019 web data.pdf

    5/21

    5

  • 8/18/2019 web data.pdf

    6/21

    6

  • 8/18/2019 web data.pdf

    7/21

  • 8/18/2019 web data.pdf

    8/21

    8

  • 8/18/2019 web data.pdf

    9/21

    9

  • 8/18/2019 web data.pdf

    10/21

    10

  • 8/18/2019 web data.pdf

    11/21

    ù ù ` ‰ “ ƒ ° ¡ Ö 2 Å bÏ e

    - tablemetameta CREATE TABLE meta(key LONGVARCHAR NOT NULLUNIQUE PRIMARY KEY,valueLONGVARCHAR)' ; indexsqlite_autoindex_meta_1meta „

    ‡atable - tablemetameta CREATE TABLE meta(keyLONGVARCHAR NOT NULL UNIQUE PRIMARY KEY,valueLONGVARCHAR)' ; indexsqlite_autoindex_meta_1meta „

    ‡atablekeywordskeywords CREATE TABLE keywords (id INTEGERPRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOTNULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOTNULL,show_in_default_list INTEGER,safe_for_autoreplaceINTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT0,usage_count INTEGER DEFAULT 0,input_encodingsVARCHAR,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT0,autogenerate_keyword INTEGER DEFAULT 0,logo_id INTEGER DEFAULT0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR) ƒm

    ‡5tableloginslogins CREATE TABLE logins (origin_url VARCHARNOT NULL, action_url VARCHAR, username_element VARCHAR,username_value VARCHAR, password_element VARCHAR, password_valueBLOB, submit_element VARCHAR, signon_realm VARCHAR NOTNULL,ssl_valid INTEGER NOT NULL,preferred INTEGER NOTNULL,date_created INTEGER NOT NULL,blacklisted_by_user INTEGERNOT NULL,scheme INTEGER NOT NULL,UNIQUE (origin_url,username_element, username_value, password_element,submit_element, signon_realm))+ ?

    indexsqlite_autoindex_logins_1logins R ' sindexlogins_signonlogins CREATE INDEX

    11

  • 8/18/2019 web data.pdf

    12/21

    logins_signon ON logins (signon_realm) !! tableie7_loginsie7_logins CREATE TABLE ie7_logins (url_hash VARCHAR NOTNULL, password_value BLOB, date_created INTEGER NOT NULL,UNIQUE(url_hash))3 G! indexsqlite_autoindex_ie7_logins_1ie7_logins

    Z +! windexie7_logins_hashie7_loginsCREATE INDEX ie7_logins_hash ON ie7_logins (url_hash)

    '' _tableweb_app_iconsweb_app_iconsCREATE TABLE web_app_icons (url LONGVARCHAR,width int,heightint,image BLOB, UNIQUE (url, width, height))9

    M' indexsqlite_autoindex_web_app_icons_1web_app_icons

    12

  • 8/18/2019 web data.pdf

    13/21

    á ' U Â ó L ê : ° 4 ¦ — å ' ¦ 2 }'' 9tabletoken_servicetoken_service CREATE TABLE token_service

    (service VARCHAR PRIMARY KEY NOT NULL,encrypted_tokenBLOB)9 M' indexsqlite_autoindex_token_service_1token_service n =%indexcredit_cards_label_indexcredit_cards CREATE INDEXcredit_cards_label_index ON credit_cards (label)k

    13

  • 8/18/2019 web data.pdf

    14/21

    )tableweb_appsweb_appsCREATE TABLE web_apps (url LONGVARCHAR UNIQUE,has_all_imagesINTEGER NOT NULL)/

    C indexsqlite_autoindex_web_apps_1web_apps W 1 oindexweb_apps_url_indexweb_apps CREATE INDEXweb_apps_url_index ON web_apps (url) ‚

    tableautofillautofill CREATE TABLE autofill (name VARCHAR,value VARCHAR, value_lower VARCHAR, pair_id INTEGER PRIMARY KEY,count INTEGER DEFAULT 1)N ' gindexautofill_nameautofill CREATEINDEX autofill_name ON autofill (name)t ?

    indexautofill_name_value_lowerautofill CREATE INDEXautofill_name_value_lower ON autofill (name, value_lower) ))

    =tableautofill_datesautofill_dates CREATE TABLE autofill_dates( pair_id INTEGER DEFAULT 0, date_created INTEGER DEFAULT 0)p

    9)indexautofill_dates_pair_idautofill_dates CREATE INDEXautofill_dates_pair_id ON autofill_dates (pair_id)‚i

    // … tableautofill_profilesautofill_profiles CREATE TABLEautofill_profiles ( label VARCHAR, unique_id INTEGER PRIMARY KEY,

    first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, emailVARCHAR, company_name VARCHAR, address_line_1 VARCHAR,address_line_2 VARCHAR, city VARCHAR, state VARCHAR, zipcodeVARCHAR, country VARCHAR, phone VARCHAR, fax VARCHAR)

    G/ indexautofill_profiles_label_indexautofill_profiles CREATEINDEX autofill_profiles_label_index ON autofill_profiles (label)‚f %% … tablecredit_cardscredit_cards CREATE TABLE credit_cards( label VARCHAR, unique_id INTEGER PRIMARY KEY, name_on_cardVARCHAR, type VARCHAR, card_number VARCHAR, expiration_monthINTEGER, expiration_year INTEGER, verification_code VARCHAR,billing_address VARCHAR, shipping_address VARCHAR,card_number_encrypted BLOB, verification_code_encrypted BLOB)

    14

  • 8/18/2019 web data.pdf

    15/21

    15

  • 8/18/2019 web data.pdf

    16/21

    16

  • 8/18/2019 web data.pdf

    17/21

    17

  • 8/18/2019 web data.pdf

    18/21

    18

  • 8/18/2019 web data.pdf

    19/21

    19

  • 8/18/2019 web data.pdf

    20/21

    20

  • 8/18/2019 web data.pdf

    21/21

    21