Queries/firefox_favicons.sql

20 lines
775 B
MySQL
Raw Normal View History

2018-08-07 23:34:05 +00:00
-- \AppData\Roaming\Mozilla\Firefox\Profiles\
2018-08-07 23:24:33 +00:00
select
moz_icons.id as 'IconId',
moz_pages_w_icons.id as 'PageID',
moz_icons_to_pages.icon_id as 'iId',
moz_icons_to_pages.page_id as 'pID',
moz_pages_w_icons.page_url as 'Url',
moz_icons.icon_url as 'IconUrl',
moz_icons.width as 'Width',
moz_icons.root as 'Root',
moz_icons.color as 'Color',
2018-08-07 23:34:05 +00:00
case when moz_icons.expire_ms <> 0 then datetime(moz_icons.expire_ms/1000,'unixepoch','localtime') else '' end as 'Expire',
2018-08-07 23:24:33 +00:00
hex(moz_icons.fixed_icon_url_hash) as 'IconHash',
hex(moz_pages_w_icons.page_url_hash) as 'UrlHash'
from moz_icons_to_pages
left join moz_icons on moz_icons.id = moz_icons_to_pages.icon_id
left join moz_pages_w_icons on moz_pages_w_icons.id = moz_icons_to_pages.page_id
order by Expire desc