Skip to content

Instantly share code, notes, and snippets.

View mrsheepsheep's full-sized avatar

Alexandre S. mrsheepsheep

View GitHub Profile
@mrsheepsheep
mrsheepsheep / codesandbox-discord-token-leak.md
Last active January 25, 2023 15:01
Last token leak: 2021-10-05T09:56:19.678Z - 2 tokens, 947 users, 5 guilds, 5 admins

PLEASE READ BEFORE REPORTING THIS GIST

This gist has already been reported multiple times and it has already been recovered for legitimate reasons. This gist is not harmful in any way. Thank you. (Actually, you should probably thank me !)

Codesandbox Discord Bot token leak repository

This gist hosts leaked previously-active bot tokens found on https://codesandbox.io/.

These tokens were left by developers in a publicly available project.

@mrsheepsheep
mrsheepsheep / hook.js
Created October 16, 2019 01:29
Elite Dangerous Web Journal hook snippet
window.addEventListener("message", (message) => {
console.log(message)
if (message.source != window) {
return // Important, don't trust any other sources
}
if (message.data.origin && message.data.origin === 'Elite Dangerous Web Journal') { // Simple check
console.log('Received event:', message.data.eventName)
switch (message.data.eventName) {
case 'enabled': // Message received when the user clicks the extension. Script is injected and ready to communicate.
console.log('Enabled. Sending getJournal event')