From 951dd28b6faee24a3b5f555fc813a3f2fbd1c6b8 Mon Sep 17 00:00:00 2001 From: Costas K <11378310+kacos2000@users.noreply.github.com> Date: Wed, 8 Aug 2018 02:34:05 +0300 Subject: [PATCH] Add files via upload --- firefox_favicons.sql | 4 +++- firefox_formhistory.sql | 12 ++++++++++++ firefox_places.sql | 1 + 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 firefox_formhistory.sql diff --git a/firefox_favicons.sql b/firefox_favicons.sql index a1ca057..cbab7d9 100644 --- a/firefox_favicons.sql +++ b/firefox_favicons.sql @@ -1,3 +1,5 @@ +-- \AppData\Roaming\Mozilla\Firefox\Profiles\ + select moz_icons.id as 'IconId', moz_pages_w_icons.id as 'PageID', @@ -8,7 +10,7 @@ moz_icons.icon_url as 'IconUrl', moz_icons.width as 'Width', moz_icons.root as 'Root', moz_icons.color as 'Color', -case when moz_icons.expire_ms <> 0 then datetime(moz_icons.expire_ms/1000,'unixepoch') else '' end as 'Expire', +case when moz_icons.expire_ms <> 0 then datetime(moz_icons.expire_ms/1000,'unixepoch','localtime') else '' end as 'Expire', hex(moz_icons.fixed_icon_url_hash) as 'IconHash', hex(moz_pages_w_icons.page_url_hash) as 'UrlHash' diff --git a/firefox_formhistory.sql b/firefox_formhistory.sql new file mode 100644 index 0000000..b220a1e --- /dev/null +++ b/firefox_formhistory.sql @@ -0,0 +1,12 @@ +-- \AppData\Roaming\Mozilla\Firefox\Profiles\ + +select +moz_formhistory.id as 'Id', +moz_formhistory.fieldname as 'FieldName', +moz_formhistory.value as 'Value', +moz_formhistory.timesUsed as 'TimesUsed', +datetime(moz_formhistory.firstUsed/1000000,'unixepoch','localtime') as 'FirstUsed', +datetime(moz_formhistory.lastUsed/1000000,'unixepoch','localtime') as 'LastUsed', +moz_formhistory.guid as 'Guid' +from moz_formhistory +order by LastUsed desc \ No newline at end of file diff --git a/firefox_places.sql b/firefox_places.sql index 96d882b..dda4bc4 100644 --- a/firefox_places.sql +++ b/firefox_places.sql @@ -1,5 +1,6 @@ -- https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Places/Database -- https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Places/Frecency_algorithm +-- \AppData\Roaming\Mozilla\Firefox\Profiles\ select moz_places.id as 'Id',