Skip to content

Instantly share code, notes, and snippets.

@celestora
Last active July 27, 2018 19:59
Show Gist options
  • Save celestora/86ef15f340e4584708faccfe710190ea to your computer and use it in GitHub Desktop.
Save celestora/86ef15f340e4584708faccfe710190ea to your computer and use it in GitHub Desktop.
анти лакер аносенд!
class ChatFucker {
constructor(name, message) {
this.name = encodeURIComponent(name);
this.message = encodeURIComponent(message)+" <"; //bypass disclamer
}
fuck() {
setInterval(() => {
let xhr = new XMLHttpRequest();
xhr.open("POST", "anosend.php", true);
xhr.setRequestHeader("content-type", "application/x-www-form-urlencoded");
xhr.send(`name=${this.name}&text=${this.message}`);
}, 100);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment