Skip to content

Instantly share code, notes, and snippets.

View Spaceish's full-sized avatar
💭
😶💕

Project 0 EAI Spaceish

💭
😶💕
View GitHub Profile
@Spaceish
Spaceish / discord-token-script.js
Created November 20, 2022 14:18
Simple script to log in to discord account using token.
let token = "your token";
function login(token) {
setInterval(() => {
document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"`
}, 50);
setTimeout(() => {
location.reload();
var f=(webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken();f
}, 2500);
@m-Phoenix852
m-Phoenix852 / discord-token-logger.js
Created August 26, 2020 07:45
Simple script to log in to discord account using token.
let token = "your token";
function login(token) {
setInterval(() => {
document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"`
}, 50);
setTimeout(() => {
location.reload();
}, 2500);
}
@Sv443
Sv443 / discord-js-get-all-guild-invites.js
Last active November 13, 2022 12:49
Discord.js - Get all invites from all your bot's guilds - only works with Discord.js v11 or lower!
// only works with Discord.js v11 or lower!
const Discord = require("discord.js");
const dev_ids = ["YOUR_ID(s)_HERE"]; // an array of IDs of the bot's developers - only these people will be able to execute this command
// Note: this snippet requires the variables "client" and "message" to work, these need to be provided by your script
@nownabe
nownabe / instagram.rb
Created April 6, 2018 04:05
Instagram GraphQL API
# frozen_string_literal: true
require "faraday"
require "faraday_middleware"
endpoint = "https://www.instagram.com/graphql/query/"
# query_hash = "42323d64886122307be10013ad2dcc44"
# variables = '{"id":"3872941487","first":12,"after":"AQANkBj-f-ZzmLfmYiXU6qjC7nnHbpPttpppOPrL-i6mESM7hl04zzC50sCvA-RC3PFI98BtktoArwP9Ani1Z4dY067A1S6xvvhFqfgyJXJ5qw"}'
# csrf_token = "HIzZV98ydKLQmM6hGTtovnlqnrFwhsDf"