Skip to content

Instantly share code, notes, and snippets.

@yikZero
Last active June 17, 2023 10:49
Show Gist options
  • Save yikZero/c215a7ae081841c0a4c4d1e5b5bffdfa to your computer and use it in GitHub Desktop.
Save yikZero/c215a7ae081841c0a4c4d1e5b5bffdfa to your computer and use it in GitHub Desktop.
Hypermatic破解
let url = $request.url;
let obj = JSON.parse($response.body);
if (obj.hasOwnProperty('count')) {
obj['count'] = 9999;
} else {
console.log('Response body does not have a count property');
}
if (obj.hasOwnProperty('message')) {
obj['message'] = 9999;
} else {
console.log('Response body does not have a message property');
}
$done({body: JSON.stringify(obj)});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment