Skip to content

Instantly share code, notes, and snippets.

@Jubjub
Created March 22, 2022 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jubjub/707e4873c9eb31d71b47bdfda29ad075 to your computer and use it in GitHub Desktop.
Save Jubjub/707e4873c9eb31d71b47bdfda29ad075 to your computer and use it in GitHub Desktop.
app.justsketch.me validator/crack
// use with https://github.com/Lor-Saba/Code-Injector
const { fetch: originalFetch } = window;
// https://api.gumroad.com/v2/licenses/verify {"success":true}
// https://larry.justketch.me/validate/{licensekey}/ {"result": "valid"}}
window.fetch = async (...args) => {
let [resource, config ] = args;
const response = await originalFetch(resource, config);
if (resource.includes("larry.justsketch.me/validate/")) {
const json = () =>
response
.clone()
.json()
.then((data) => ({'result': 'valid'}));
response.json = json;
}
return response;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment