Skip to content

Instantly share code, notes, and snippets.

@x04
x04 / index.html
Created December 15, 2022 23:31
Discord Servers XSS
<!DOCTYPE html>
<!-- build:html -->
<!-- endbuild -->
<head>
<link rel="icon" href="/assets/favicon.ico"><link href="/assets/532.a6c149b131c45306b226.css" rel="stylesheet">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:type" content="website" /><meta property="og:url" content="https://discord.com/servers/bulls-and-apes-project-633616753095868422" />
page.Request += (sender, e) => {
if (e.Request.ResourceType.Equals(ResourceType.Image)
|| e.Request.ResourceType.Equals(ResourceType.StyleSheet)
|| e.Request.ResourceType.Equals(ResourceType.Font))
e.Request.AbortAsync();
else
e.Request.ContinueAsync();
};
await page.EvaluateFunctionOnNewDocumentAsync(@"function() {
delete navigator.__proto__.webdriver
/* global MimeType MimeTypeArray PluginArray */
// Disguise custom functions as being native
const makeFnsNative = (fns = []) => {
const oldCall = Function.prototype.call
function call () {
return oldCall.apply(this, arguments)
}
### Keybase proof
I hereby claim:
* I am x04 on github.
* I am reddington (https://keybase.io/reddington) on keybase.
* I have a public key ASBU4HppINO2pxGwn8TxE0nblqN8e1sjjgJ6ZkK0fPcCAgo
To claim this, I am signing this object: