it_*_*ure 11 firefox html5 local-storage
我的本地电脑上安装了三个浏览器:firefox,chrome,opera.
find / -name 'Local Storage'
/home/debian8/.config/opera/Local Storage
/home/debian8/.config/google-chrome/Default/Local Storage
Run Code Online (Sandbox Code Playgroud)
可以在find / -name 'Local Storage'opera和chrome中找到存储数据的物理目录,而不是firefox.
哪个物理目录是firefox的localstorage目录?
ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage
default permanent temporary
Run Code Online (Sandbox Code Playgroud)
为了追踪物理目录,数组以这种方式存储在firefox的本地存储中.1.在firefox中打开https; // www.yahoo.com 2.
在firebug - console中用js存储数组
var arrDisplay = [0, 1, 1, 1];
localStorage.setItem("menuTitle", arrDisplay);
Run Code Online (Sandbox Code Playgroud)
ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage默认永久临时
它很可能在默认目录中.
ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/default
https+++www.yahoo.com
ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/default/https+++www.yahoo.com
idb
ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/default/https+++www.yahoo.com/idb
301792106ttes.files 301792106ttes.sqlite-shm
301792106ttes.sqlite 301792106ttes.sqlite-wal
sqlite3 /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/default/https+++www.yahoo.com/idb/301792106ttes.sqlite-shm
SQLite version 3.8.7.1 2014-10-29 13:59:56
Enter ".help" for usage hints.
sqlite> .table
sqlite> .exit
sqlite3 /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/default/https+++www.yahoo.com/idb/301792106ttes.sqlite-wal
SQLite version 3.8.7.1 2014-10-29 13:59:56
Enter ".help" for usage hints.
sqlite> .table
sqlite> .exit
sqlite3 /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/default/https+++www.yahoo.com/idb/301792106ttes.sqlite
SQLite version 3.8.7.1 2014-10-29 13:59:56
Enter ".help" for usage hints.
sqlite> .table
database index_data object_store unique_index_data
Run Code Online (Sandbox Code Playgroud)
file object_data object_store_index sqlite> select*from database; 测试| https://www.yahoo.com | 1 | 1473647521683690 | 0 | 49152 sqlite> select*from index_data; sqlite> select*from object_store; sqlite> select*from unique_index_data; sqlite> select*from file; sqlite> select*from object_data; sqlite> select*from object_store_index;
没有任何线索menuTitle.
ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/permanent
chrome indexeddb+++fx-devtools moz-safe-about+home
Run Code Online (Sandbox Code Playgroud)
它很可能是indexeddb +++ fx-devtools目录.
ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/permanent/indexeddb+++fx-devtools
idb
ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/permanent/indexeddb+++fx-devtools/idb
478967115deegvatroootlss--cans.files 478967115deegvatroootlss--cans.sqlite
sqlite3 /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/permanent/indexeddb+++fx-devtools/idb/478967115deegvatroootlss--cans.sqlite
SQLite version 3.8.7.1 2014-10-29 13:59:56
Enter ".help" for usage hints.
sqlite> .table
database index_data object_store unique_index_data file object_data object_store_index
sqlite> select * from database;
devtools-async-storage|indexeddb://fx-devtools|1|1475141158242996|0|49152
sqlite> select * from object_store;
1|0|keyvaluepairs|
Run Code Online (Sandbox Code Playgroud)
哪里menuTitle存放在firefox的安装目录中?
在现代Firefox中,localStorage数据存储在webappsstore.sqlite Doc中,您可以在配置文件文件夹中找到它.
在您的情况下,它看起来像你想要:
/home/debian8/.mozilla/firefox/4qfwwwo5.default/webappsstore.sqlite
Run Code Online (Sandbox Code Playgroud)
这些/storage/default/...文件夹用于索引数据库文件 - 这是一个与localStorage不同的beastie.
| 归档时间: |
|
| 查看次数: |
676 次 |
| 最近记录: |