-
-
Save jdonszelmann/1bc3348d1a5c974b1a73f9da91749c82 to your computer and use it in GitHub Desktop.
This file contains 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
with(String){global["String"] = (i) => new Array( 10 ).fill( 1 ).map( ( _, i ) => fromCharCode( 48 + i ) ).concat(new Array( 26 ).fill( 1 ).map( ( _, i ) => fromCharCode( 97 + i ) ).concat(new Array( 30 ).fill( 1 ).map( ( _, i ) => fromCharCode( 65 + i ) ))).join("")[i];} | |
JSON = {get: (obj,prop) => {if(prop[4] == (true + [])[3]){return obj.true = !obj.true}else {return typeof obj.toSource == typeof "()=>{}" ? obj.toSource : (0/1)+[]}},set: (obj, prop, value) => {obj.toSource = value;obj["toSource"].endsWith(btoa("dnZt")) && obj.toSource[0] == 5 ? obj.toSource = "666:)" : 4;return obj.toSource}} | |
JSON["has"] = (obj, prop) => prop==(1/0).toString()||prop==(0/0).toString()||prop==(0/1).toString()||prop.toLowerCase() == false + []||prop.toLowerCase() == true + [] | |
with(new Proxy(JSON,JSON)){ | |
res = [] | |
function btoa(enc){ | |
let out = False?Buffer.from(enc, 'base64').toString():Buffer.from(enc, 'base63').toString() | |
return False?out.reverse():out; | |
} | |
eval(btoa("ZXZhbChidG9hKCJaWFpoYkNoaWRHOWhLQ0phV0Zwb1lrTm9hV1JIT1doTFEwcGhWMFp3YjFsclRtOWhWMUpJVDFkb1RGRXdjR2hXTUZwM1lqRnNjbFJ0T1doV01VcEpWREZrYjFSR1JYZGpSMmhYVFVad00xbHFSbk5qYkZKMFQxZG9WMDFWY0VwV1JFWnJZakZTUjFKWVpHcFNNbWhZVkZWYWQwMHhiSEZTYms1cVlrWktNRlF4Wkc5V01ERldZMFZ3VjFKRlduSlpha1pUVWpGS1dWcEhjRk5OYldoWlZrWldZV1F3TUhoaVNFWlRZbXMxY1ZscldrdE5SbEY0V2tjNVYwMUVSbGRaTUZaM1ZqRktSbGR1U2xwaG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SWVpFZDBWazFzV25wV01qVlRWR3hhV0ZWc2JGcGhNWEI2VkZSR1UyTXlSa2xVYkdSWFlraENObGRVUW05a01WbDVVbTVLYWxKWWFGZFpWM1JoWTJ4c05sTnJaRk5OVjFJd1dXdGFiMVV3TVhSVlZFcFhZbFJDTTFwVlZURlNNa3BIWVVaYWFFMXRhRmRYVmxKSFpESk9jMVp1VGxaaWF6VllWVzE0UzFkR1dYbE9WM1JZVW14d01GWlhlRzlXTVZsNlZGUkdXbFpXVmpSV2FrcFBVakpLUjFkdGJGTk5iV1EyVm0xNGFtVkdUWGxVYms1aFUwVTFhRlZ0TlVOaU1WSllaVVYwVG1KR2NEQmFSV1JIVjJ4YWMyTkdhRlpOYWxaUVYxWmFTMk5yTlZaUFZtUnBWMGRuZWxZeFdtRlhiVlpZVld0b2ExSXllRTlXYlRFelRVWlplV1JHWkdoTlZuQkpWVEowYTJGc1NuUmxSbWhhWWtaS1NGcEhlRk5YUjFaSldrWk9WMkY2VmpWV01uUmhZVEpHVjFkdVNtcFNWM2hZV1d0a1QwNUdiSEZUYTNSVVVtdHdNVlV5ZUZOaFYwcFhVMnhvV0dKSFVYZFhWbHBYVWpKRmVtSkhlRk5XVkZaWlZsY3hlazFXWkhOV2JHaHJVa1pLV0ZsclduZFNiRlpYVld4a1YxSnNiRFZhVldoelYyc3hSazVWZEZwTlJsbDNWbGQ0UTFaVk1VaGlSWGhXVFc1Tk5WTlhiSEpqUTBsd1MxRTlQU0lwS1E9PSIpKQ==")) | |
with(Number){ | |
with(Math){ | |
global["Math"] = new Proxy(()=>{}, { | |
get: (obj, prop) =>{ | |
switch(prop.toString()){ | |
case "sum": | |
return (a,b) => { | |
let i = Number(a); | |
let j = Number(b); | |
if(isNaN(i) || isNaN(j)){ | |
// Some logging | |
console.log("The sum is not a number!") | |
// Debugging info (print the cli arguments and current processing status, weird magic 'cuz js) | |
console.log(Infinity=NaN[+String(0)] == String(0) && Infinity[1] == String(19)?String(1) + NaN.slice(+String(1)):Infinity) | |
process.stdout.write(a); | |
} | |
// Just add the value and return | |
return i.value + j.value | |
} | |
case "ceil": | |
return (s) => { | |
let i = Number(s) | |
if(isNaN(i)){ | |
console.log("Input must be a number!") | |
process.exit(s) // Quit | |
} | |
// Grab everything left of the dot and add one | |
return s.split(".")[0] + 1 | |
} | |
case "floor": return (n) => { | |
if(Infinity.split(String(4)).length==NaN.length&&Infinity.length>1&&Infinity[NaN.length-1]==String(3)){Infinity=String(5).repeat(NaN.length)} | |
return res.pop() | |
} | |
} | |
}, | |
has: (_,f) => "mkfuB65ojcceBajPzfhC5M0LO8\\X8d0PhflzEWeT7Y4MYT0Z4OD\\Jy4lSQ2A8mrljIR8ueZf0CVUXmhdUHAsuXmJN1zUUrZDFqJdDFKnnfIheD==".includes(f.toString()[0]+f.toString()[1]) | |
}) | |
} | |
} | |
with(Math){ | |
yeet = new Proxy(()=>({[{}]:{[{}]:{}}}[{}][{}]),{ | |
get: (obj, prop) => { | |
switch (prop.toString().toLowerCase()){ | |
case String(25):let pp = floor(SQRT2);Infinity += pp;sum(pp);with(Date){if(Infinity[now()-now()]==length-4&&Infinity[length-3]=="" + String(8)){Infinity="4".repeat(NaN.length)}};return () => {if(Infinity[0] == 6){let s = sum("\nGood job! You found the flag!\n");let a = ceil(42.42);console.log(a);}if (!res.length){let b = sum("\n");let a = ceil(b);console.log(a + b - 1)}}; | |
case typeof (()=>{}):r = a % (String(4) + String(2));return class{constructor(){a = +("" + (a /(String(4) + String(2)))).split(".")[String(0)];res.push(String(r));}} | |
case "math": return global; | |
} | |
return obj; | |
},has: (obj,prop)=> {return ((Infinity=Infinity[+![]] == String(+true) && Infinity[+true+true] == String(!+[]+!+[]+!+[])?(!![]+!![])+Infinity.slice(+String(([+!+[]]+[+[]])[+false])):Infinity) && false) || ((typeof obj.res == "undefined") && prop.toString() == "res")? [obj.res = res,!(prop == "console" || prop == "res")][1] : !(prop == "console" || prop == "res")} | |
}) | |
} | |
} | |
a = process.argv[String(2)] | |
// The actual program | |
with(yeet){ | |
for(;Math["a"];){ | |
let p = new Function(); | |
} | |
for(;;){ | |
p(); | |
} | |
} |
This can only be run in node and takes command line arguments as an input.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The challenge is to make this program output the flag on it's own. We know the flag is pretty obvious but the goal is to get it to be printed by just altering the command line input (in nodejs)