使用javascript获取HttpOnly Cookie [英] Get HttpOnly cookies with javascript
问题描述
您知道使用javascript访问HttpOnly Cookie的任何方法。我知道这些cookie的观点是,你不能够得到他们这样(出于安全原因)。但是,还有,是否有绝对现在的方式来实现这一点?有没有一些黑客在世界各地找到一种方法来实现呢?我真的需要通过javascript(而不是任何其他方式)获得这些cookie。如果你知道如何,这将是非常有益的。谢谢。
do you know of any way to get access to HttpOnly cookies using javascript. I know that the point of those cookies is that you won't be able to get them this way (for security reasons). But still, is there absolutely now way to achieve this? Hasn't some hacker around the world found a way to achieve this? I really need to get those cookies through javascript (not any other means). If you know how, it would be very helpful. Thank you.
推荐答案
从javascript只有加密版本的HttpOnly-cookies可用,每台计算机,其他计算机上的Cookie不能使用(除非破解)。
From javascript only the encrypted version of the HttpOnly-cookies are available, and since the key is generated uniquely for each computer, the cookies cannot be used (unless cracked) on other computers.
这篇关于使用javascript获取HttpOnly Cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!