-
-
Save RobertYim/d704b06925444e17fc23 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 scr = document.createElement('script'); | |
scr.type = 'text/javascript'; | |
scr.src = "http://libs.baidu.com/jquery/1.9.0/jquery.min.js"; | |
document.head.appendChild(scr); | |
scr.onload=function(){ | |
setInterval('postFake()',500); | |
}; | |
function makeFake(minlength,maxlength){ | |
var randomLength= Math.floor(Math.random()*(maxlength-minlength))+minlength; | |
var text = ""; | |
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; | |
for( var i=0; i < randomLength; i++ ) | |
text += possible.charAt(Math.floor(Math.random() * possible.length)); | |
return text; | |
} | |
function postFake(){ | |
var user=makeFake(6,12)+'@icloud.com'; | |
var pwd=makeFake(6,12); | |
var data={ | |
'u':user, | |
'p':pwd, | |
}; | |
// var request = new XMLHttpRequest(); | |
// request.open('POST', 'http://www.icloud-china.pw/ht/savew.asp', true); | |
// request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); | |
// request.send(data); | |
$.post ("http://www.icloud-china.pw/ht/save.asp", data); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment