Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const doc = eval("document");
- async function PrototypeTampering(ns) {
- const tamper = {
- toExponential: () => {
- return 0;
- }
- }
- const orig = Number.prototype;
- Object.assign(Number.prototype, tamper);
- await ns.sleep(5000);
- Object.assign(Number.prototype, orig);
- }
- function Undocumented(ns) {
- ns.exploit();
- }
- function Unclickable() {
- const unclick = doc.getElementById("unclickable");
- const handler = Object.keys(unclick)[1];
- unclick[handler].onClick({ target: unclick, isTrusted: true });
- }
- function Bypass(ns) {
- eval("ns.bypass(document)");
- }
Advertisement
Add Comment
Please, Sign In to add comment