Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Mozilla サポートの検索

サポート詐欺に注意してください。 私たちはあなたに通話やショートメッセージの送信、個人情報の共有を求めることはありません。疑わしい行為を見つけたら「迷惑行為を報告」からご報告ください。

詳しく学ぶ
Solved

How can i view all cookies or site data of all sites conveniently?

p+firefox

Is there a way to view all cookies or all site data for _all_ sites in a central location? I have a malware compromised computer that I took off the network and want to check which sites have auth information stored in cookies (or maybe local storage).

I cannot use the developer tools as those require a tab where a page of an origin is already loaded, which is of course not possible since the computer is now offline. Just the cookie count and storage amount is not sufficient because most pages store something, even if there was not login.

Is there a way to view all cookies or all site data for _all_ sites in a central location? I have a malware compromised computer that I took off the network and want to check which sites have auth information stored in cookies (or maybe local storage). I cannot use the developer tools as those require a tab where a page of an origin is already loaded, which is of course not possible since the computer is now offline. Just the cookie count and storage amount is not sufficient because most pages store something, even if there was not login.

すべての返信 (4)

Please disregard / see next reply

To view this information:

  • host name
  • cookie count
  • local storage size

you can go to

Settings > Privacy and security > Browsing data > Clear data for specific sites

However, if you need to see the actual cookies, I'm not aware of any centralized place to view those.

この投稿は jscher2000 - Support Volunteer により に変更されました

選ばれた解決策

p+firefox said

I have a malware compromised computer that I took off the network and want to check which sites have auth information stored in cookies (or maybe local storage).

Okay, now that I read more carefully.

Maybe there is an add-on that can search cookies for the ones you want to find, although I'm not aware of any convention for cookie names, so you may have to actually look at all of them.

If there's no add-on, it's more challenging:

Cookies

An external utility could read the cookies.sqlite database file.

Local storage

Firefox uses per-site SQLite database files under /Mozilla/Firefox/Profiles/profile.folder/storage which probably would not be very efficient to search. Conversely, these might not be a high value target for exfiltration.

Hm, I feared as much. Your hint about cookie.sqlite is helpful though. I'll see if I can find my way around that database with the sqlite3 CLI tool. Thank you for the quick response :)

As an addendum for people that want to achieve a similar thing: The sqlite3 CLI has a really nice feature to show data in a spreadsheet. So after locating your cookies.sqlite you can follow the follwing steps to show them in your spreadsheet software (libre office in my case):

  • sqlite3 <path_to_cookies.sqlite>
  • .excel
  • select host, name, value from moz_cookies;
質問する

投稿に返信するには あなたのアカウントにログイン する必要があります。まだアカウントをお持ちでなければ、新しい質問を開始 してください。