Skip to content

Commit 736237e

Browse files
authored
[*] Thanks for Abusing the Webhook :)
due to abuse from the webhook itself, ive temporarily added very slight, simple encoding to the webhook, which will prevent a few of the 12 year old skids from being successful, but will take anyone who has the slightest clue what theyre doing a total of 2 seconds to figure out and decode anyway, but jokes on you, i was and will always be the only one in the channel where the hook is set, meaning all your attempts to @everyone and spam the n word, did nothing but ping someone on dnd with plugins to prevent mention spam anyway, so it was hardly even noticed :)
1 parent 1883e3a commit 736237e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

suggestions.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
<a href="index.html">Home</a>
117117
<a href="projects.html">Projects</a>
118118
<a href="contact.html">Contact</a>
119-
<a href="suggestions.html">Suggestions</a>
119+
<a href="suggestions.html">Suggestions</a>
120120
</div>
121121

122122
<!-- Main Content -->
@@ -138,6 +138,10 @@ <h1>We Value Your Suggestions!</h1>
138138
</div>
139139

140140
<script>
141+
function decodeWebhook(encoded) {
142+
return atob(encoded.split('').reverse().join(''));
143+
}
144+
141145
function sendSuggestion() {
142146
const username = document.getElementById('username').value;
143147
const suggestion = document.getElementById('suggestion').value;
@@ -147,7 +151,9 @@ <h1>We Value Your Suggestions!</h1>
147151
return;
148152
}
149153

150-
const webhookUrl = 'https://discord.com/api/webhooks/1345301848793288734/e79qjoOa4xiBg4kV1otjx5Fn7WtQPtmxXjmAXJlORBwo3tvNTM_dYd96i5KyGvtNbEVT';
154+
const encodedWebhook = '==Qex0iTqJEMfZnNQ9VQI92b50SWw4WZqJTT41mMpBlNfN2b0gkV0RGeR50aU1CbyQWV1R2RtEUcwJmTExGTyhkRxsUZX9SNwITO2IjNwEzN0ATOxEDM1MTMvM3av9GaiV2dvkGch9SbvNmLkJ3bjNXak9yL6MHc0RHa';
155+
const webhookUrl = decodeWebhook(encodedWebhook);
156+
151157
const payload = JSON.stringify({
152158
content: `Suggestion from [${username}]: ${suggestion}`
153159
});
@@ -176,4 +182,4 @@ <h1>We Value Your Suggestions!</h1>
176182
</script>
177183

178184
</body>
179-
</html>
185+
</html>

0 commit comments

Comments
 (0)