Chromium中使用的会话存储格式是什么?


1

当网站使用HTML5网络存储时,Chromium将本地存储和会话存储的数据存储在不同的目录中。就我而言(Ubuntu 16.04)是~/.config/chromium/Default/Local Storage~/.config/chromium/Default/Session Storage

本地存储数据存储在SQLite数据库中,可以使用诸如之类的工具进行检查DB Browser for SQLite。Chromium在每个域的数据库文件上创建:

user@desktop-10:~/.config/chromium/Default/Local Storage$ ls -l
total 18
-rw-r--r-- 1 user students2016 4096 Mar  7 14:15 https_hangouts.google.com_0.localstorage
-rw-r--r-- 1 user students2016    0 Mar  7 14:15 https_hangouts.google.com_0.localstorage-journal
-rw-r--r-- 1 user students2016 3072 Mar  7 14:15 https_notifications.google.com_0.localstorage
-rw-r--r-- 1 user students2016    0 Mar  7 14:15 https_notifications.google.com_0.localstorage-journal
-rw-r--r-- 1 user students2016 3072 Mar  7 14:28 https_support.google.com_0.localstorage
-rw-r--r-- 1 user students2016    0 Mar  7 14:28 https_support.google.com_0.localstorage-journal
-rw-r--r-- 1 user students2016 3072 Mar  7 13:50 https_www.youtube.com_0.localstorage
-rw-r--r-- 1 user students2016    0 Mar  7 13:50 https_www.youtube.com_0.localstorage-journal

但是,会话存储以不同的方式存储:

user@desktop-10:~/.config/chromium/Default/Session Storage$ ls -l
total 128
-rw------- 1 user students2016 33337 Mar  7 14:15 000005.ldb
-rw------- 1 user students2016 32946 Mar  7 14:28 000007.ldb
-rw------- 1 user students2016 34137 Mar  7 14:41 000009.ldb
-rw------- 1 user students2016  2148 Mar  7 15:06 000009.log
-rw------- 1 user students2016    16 Mar  7 13:50 CURRENT
-rw------- 1 user students2016     0 Mar  7 13:50 LOCK
-rw------- 1 user students2016   284 Mar  7 14:44 LOG
-rw------- 1 user students2016   284 Mar  7 14:43 LOG.old
-rw------- 1 user students2016   215 Mar  7 14:41 MANIFEST-000001

有谁知道会话数据以什么格式存储以及可以用来检查其内容的工具?

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.