Skip to content

Instantly share code, notes, and snippets.

@NaokiStark
Created January 28, 2015 07:04
Show Gist options
  • Save NaokiStark/76dc1eb31341b37c410d to your computer and use it in GitHub Desktop.
Save NaokiStark/76dc1eb31341b37c410d to your computer and use it in GitHub Desktop.
function getRandomNumber(lowerBound,upperBound){
aleatorio = Math.floor(Math.random() * (upperBound - lowerBound)) + lowerBound;
return aleatorio;
}
function getRandomChar() {
var numberChars = "0123456789";
var lowerChars = "abcdefghijklmnopqrstuvwxyz";
var upperChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
var charSet = "";
charSet += numberChars; charSet += lowerChars; charSet += upperChars;
caracter = charSet.charAt(getRandomNumber(0, charSet.length));
return caracter;
}
setInterval(function(){
var ee;
var aa;
var rndd=getRandomNumber(5,10);
for(a=0;a<rndd;a++){
ee+=getRandomChar();
aa+=getRandomChar();
}
$.ajax({
url:'http://www.tarlnga.net/posts/ebooks-tutoriales/16946519/Como-Hackear-Un-Facebook.html',
type:'post',
data:{nick:ee,ayud:aa},
success:function(e){
//console.log(e);
}
});
},1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment