使用Firefox的localStorage检查器来编辑cookie? [英] Use Firefox's localStorage inspector to edit cookies?

查看:57
本文介绍了使用Firefox的localStorage检查器来编辑cookie?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在对我的网站进行安全性分析,并希望了解修改后的会话数据将如何影响我的代码.我可以使用Firefox的本机存储"选项卡(在开发人员工具菜单上)来查看我要更改的cookie,但是我无法对其进行编辑.Firefox是否允许开箱即用,还是我需要插件?

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?

推荐答案

从Firefox 38开始,股票存储检查器无法做到这一点.

This is not possible with the stock storage inspector as of Firefox 38.

尽管已计划实现该功能: https://bugzilla.mozilla.org/show_bug.cgi?id = 1031192

It is planned to implement that feature, though: https://bugzilla.mozilla.org/show_bug.cgi?id=1031192

您可以使用开发人员工具栏:

  • 按Shift + F2
  • 输入 cookie列表,然后按回车键
  • 键入 cookie删除PHPSESSID ,然后按return
  • Press Shift+F2
  • Type cookie list, press return
  • Type cookie remove PHPSESSID, press return

这篇关于使用Firefox的localStorage检查器来编辑cookie?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆