Skip to content

Instantly share code, notes, and snippets.

View PatheticMustan's full-sized avatar
🌠
starry eyed

Nat Wang PatheticMustan

🌠
starry eyed
View GitHub Profile
@PatheticMustan
PatheticMustan / EdpuzzleGetSource.js
Last active April 9, 2020 17:22
Wow, now a handy dandy bookmarklet to get the source of a video!
// Alert src
alert(document.getElementsByTagName("video")[0].children[0].src)
// Open new tab
window.open(document.getElementsByTagName("video")[0].children[0].src, '_blank')
// Alert src bookmarklet
javascript:alert(document.getElementsByTagName("video")[0].children[0].src)
// an array with all the lines in the document.
let lines = $("pre").innerHTML.split("\n");
// filter out all the names, we only want the 4 numbers at the end
let discrimList = lines.map(v => v.split("#").pop());
// Change each string discriminator into a number
discrimList = discrimList.map(v => parseInt(v));
// init the missing array
let missing = [];
@PatheticMustan
PatheticMustan / badcode.js
Created June 16, 2020 16:30
Totally valid code... It works, I swear!
const readline
=
require
(
"readline"
)
;
const rl
=
@PatheticMustan
PatheticMustan / SpamPenisInClipboard.js
Created June 24, 2020 19:24
Ever wanted to force users to have "penis" in their clipboard? No? Well too bad, I made a gist anyways.
setInterval(() => {
navigator.clipboard.writeText("penis")
.then(
_ => console.log("success"),
_ => console.log("mission failed, we'll get 'em next time")
)
})
function sendCard(cardIndex, email, fullName, message) {
const possibleCards = ["2020042908 - OGW - JCovey Hug.png", "2020042907 - OGW - JCovey Spanish Flowers.png", "2020042906 - OGW - JCovey Music Notes.png", "2020042905 - OGW - JCovey Daisies.png", "2020042904 - OGW - Stein Sunset.png", "2020042903 - OGW - Stein Flower.png", "2020042902 - OGW - Stein Dog.png", "2020042901 - OGW - Stein Sunshine.png", "2020042506 - OGW - Espresso.png", "2020042505 - OGW - Dog Batter.png", "2020042504 - OGW - Cherry Blossom.png", "2020042503 - OGW - Heart Symbol.png", "2020042502 - OGW - Yellow Flower.png", "2020042501 - OGW - Flowers Espanol.png", "2020042441 - OGW - Umbrella.png", "2020042440 - OGW - Roots.png", "2020042439 - OGW - Birdie.png", "2020042438 - OGW - Whale.png", "2020042437 - OGW - Swimming.png", "2020042436 - OGW - Sports Balls.png", "2020042435 - OGW - Sunshine.png", "2020042434 - OGW - Road to Recovery.png", "2020042433 - OGW - One Step.png", "2020042432 - OGW - Mah Jongg.png", "2020042431 - OGW - Hot
@PatheticMustan
PatheticMustan / Explore Prodigy's Binding Dict.js
Created August 11, 2020 19:14
Explore Prodigy's Binding Dictionary
Array.from(hack.instance.prodigy.gameContainer.inversifyContainer._bindingDictionary._map).forEach((v, i) => {console.log(`${i}: ${v[0]}`);console.log(v[1][0].cache);})
@PatheticMustan
PatheticMustan / ProdigyOpenAlert.js
Created August 11, 2020 19:27
Opens an alert in Prodigy
hack.instance.prodigy.open.alert("Message Body!", ()=>{console.log("the message box has been closed")}, null, "Title")
@PatheticMustan
PatheticMustan / format.js
Last active October 3, 2020 22:42
Use Prodigy's dashboard/graphql endpoint to mass generate accounts and format them into nice JSON so we can use arenahacks on them
const data = Array.from(document.getElementsByTagName("tbody")[0].children).slice(1)
const json = data.map(row => {
return {
"Name": row.children[0].textContent,
"Username": row.children[1].textContent,
"Password": row.children[2].textContent
}
})
@PatheticMustan
PatheticMustan / accounts.json
Created September 26, 2020 17:11
en-masse prodigy accounts
[{"Name":"aAmrkGM e","Username":"aamrkgme","Password":"cow68"},{"Name":"aaQkYAw p","Username":"aaqkyawp","Password":"math26"},{"Name":"ACIyByp Y","Username":"aciybypy","Password":"tree97"},{"Name":"AcpYjtw D","Username":"acpyjtwd","Password":"camp77"},{"Name":"aDifwrH l","Username":"adifwrhl","Password":"dog56"},{"Name":"AdODqzk S","Username":"adodqzks","Password":"food48"},{"Name":"ADrrsnS x","Username":"adrrsnsx","Password":"camp66"},{"Name":"ADYJZoh P","Username":"adyjzohp","Password":"red61"},{"Name":"aEcoVel Z","Username":"aecovelz","Password":"teapot50"},{"Name":"AEFTyiI Y","Username":"aeftyiiy","Password":"blue21"},{"Name":"AgoJPpg O","Username":"agojppgo","Password":"math66"},{"Name":"AGsjqvv V","Username":"agsjqvvv","Password":"food74"},{"Name":"AheNIOg H","Username":"aheniogh","Password":"cat47"},{"Name":"AhYFcbF T","Username":"ahyfcbft","Password":"camp31"},{"Name":"aHYghlA j","Username":"ahyghlaj","Password":"cup39"},{"Name":"AIbbRwe U","Username":"aibbrweu","Password":"green44"},{"Name":"AIIryaw