English 中文(简体)
文件. 脆弱能做什么?
原标题:What does document.vulnerable do?

我越来越深入地预防xs攻击,而我这样做的方式之一是寻找和修补漏洞。我注意到我看到很多我所记录的攻击中的文件.脆弱。

我似乎找不到很多关于这个的文件,所以我就不禁要问它做什么,或者它是为了什么?

最佳回答

AFAIK 它只是测试攻击是否起作用的一种方法。 您试图将包含 < code> document. vulnerable = true 的脚本输入到页面中, 然后到页面上查看是否设置了文档 。

问题回答

根据我所能找到的,这只是由 XSS 脆弱性测试设定的标志。 我以我所看到的所有测试为基础,

... 结果的 HTML 页面设置了特定的 JavaScript 值( document. vulnerable= true), 然后工具将页面标记为易受给定 XSS 影响...

本FF 添加的文档中显示:https://addons.mozilla.org/en-US/firefox/addon/xss-me/

我不认为它有什么作用, 它只是设置了一个属性 在名为 < code> vulnerable 的文档对象上。

当您看到 HTML 代码如 :





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签