-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathWEBHOOK.html
More file actions
67 lines (66 loc) · 2.17 KB
/
WEBHOOK.html
File metadata and controls
67 lines (66 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Webhook Tools Online | HzzH-Tools</title>
<link href="webhook-style.css" rel="stylesheet">
</head>
<body>
<a href="index.html">Back</a>
<center>
<h1>Webhook Spammer</h1>
<input id="webhookurl" value="Webhook-URL"></input>
<input id="username" value="Username"></input>
<input id="avatar" value="https://i.pinimg.com/originals/7b/06/51/7b0651ae13f41c68cbd308a20d27caf8.jpg"></input>
<input id="message" value="Message"></input>
<br>
<br>
<button class="but" id="spammer" onclick="toggle()" value="OFF">Unlimeted Spam</button>
<div class="alert">
<h2>Refresh to stop Spamming!</h2>
<h1>Webhook Deleter</h1>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<input type="url" name = "deleteurl" id="deleteurl" value="Input Webhook URL">
<button onclick="deletewebhook()">Click to delete</button>
<script>
function deletewebhook() {
console.log(document.getElementsByName('deleteurl'))
var deleteurl = document.getElementById("deleteurl").value;
$.ajax({
type: "DELETE",
url: deleteurl,
});
}
</script>
</center>
</div>
</body>
<script>
function sending() {
var webhookk = document.getElementById('webhookurl').value
var Username = document.getElementById('username').value
var pic = document.getElementById('avatar').value
var msg = document.getElementById('message').value
const request = new XMLHttpRequest();
request.open("POST", webhookk);
request.setRequestHeader('Content-type', 'application/json');
const params = {
username: Username,
avatar_url: pic,
content: msg
}
request.send(JSON.stringify(params));
}
function toggle()
{
const int = setInterval(sending, 5)
function spam() {
int
}
if(document.getElementById("spammer").value=="OFF"){
document.getElementById("spammer").value="ON";
spam();}
}
</script>
</html>