问题
I'm performing a security analysis of my website and want to see how modified session data will effect my code. I can use Firefox's native Storage tab (on the developer tools menu) to view the cookie I want to change, but I can't edit it. Does Firefox allow this out of the box or do I need a plugin?
回答1:
This is not possible with the stock storage inspector as of Firefox 38.
It is planned to implement that feature, though: https://bugzilla.mozilla.org/show_bug.cgi?id=1031192
You can use the developer toolbar:
- Press Shift+F2
- Type
cookie list
, press return - Type
cookie remove PHPSESSID
, press return
来源:https://stackoverflow.com/questions/29347538/use-firefoxs-localstorage-inspector-to-edit-cookies