Created
October 20, 2017 07:17
-
-
Save nicholas0g/898a68c0111cfb8bc666b6c78b53bed6 to your computer and use it in GitHub Desktop.
Spam Bot per vecchia versione di www.segnalatac.it (non più funzionante)
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
//spam_bot per www.segnalatac.it per form senza captcha | |
//#HO TO: | |
//npm install requestify | |
//node spam_bot_sa.js | |
var richiesta=require('requestify'); | |
let i = 0; | |
var messaggio='ciao'; | |
let delaywaiting=1000; | |
function richiestaRicorsiva(i) { | |
setTimeout(() => { | |
console.log('Eseguo chiamata', i); | |
richiesta.post('http://www.segnalatac.it', { | |
type: 'Bus', | |
linea:i, | |
problem:'broke', | |
where:'Via san maria minore 4', | |
comments:messaggio, | |
email:'[email protected]' | |
}).then(function(response) { | |
console.log('----------------------------'); | |
console.log('spam!!! '); | |
console.log(response.body); | |
messaggio=response.body; | |
console.log('----------------------------'); | |
id++; | |
}); | |
richiestaRicorsiva(++i); | |
}, delaywaiting) | |
} | |
richiestaRicorsiva(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
denunziaquerelah!