Created
September 3, 2019 21:04
-
-
Save jakic12/ca9f678742a21aae7d6c4a443ed5bbda 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>ctf</title> | |
</head> | |
<body> | |
<input type="text" name="test" onchange="submit(this.value)"> | |
<p id="result"></p> | |
<script> | |
function submit(e){ | |
const result = X(e) | |
if(result == true) | |
document.getElementById("result").innerHTML = "good job" | |
else{ | |
console.log(result) | |
} | |
} | |
E = /ไํҢӾѣӡФ҃ЍѸӡӥӨѼѡҗค๘่ฟ็บฮฎธฐดถะຽິึ๋๋າ๛คຉ໎ѭЛҋӏӱӀМҗӤӎлҺғў༬ຯཀཇཾ༕ༀ༩༨༩ཱླྀ༚༮༖༡ོཕ༿སབཝೕ༓ཞ༎ཀཎ֎ԪֿՂסֳս֬༽༴ཅཆཆཀྵཪ༘༗༘ཀ༗༞༎མཛ྾༈ྮཛఢ༃ྑ༨֛֘ԑֽԆԉԄԤךղֶՇ༏ཝག༚ཆༀ༓༎ླྛ༑ྰ༚ྦཔྐྵ༾ཊྵྲྀఇྗྞ࿉ྉ࿗ׂ֤֍ԅנׯ֬ԺԐԩսרկྡྜ྿ྡ྿ှတဨ၊ျ၁ၯၨၿ၎ၤ၂ဘ၎ဍᏚၚ၃ၐၽဤ᪕ᫀ᪈ᫎᩓᨙᩛᩲ᪪ဉၲႦၶလမဓဖဪဇဗ၂ၙဓ၀ဏၚၑტႭၚၒᏞၥၴဥၪჺ᪂᩿ᨵ᪦᪸ᨭᨑ᪩᩷ᩐးႝႿთၡნဠჱငწႠစჲაဒႸႭႥ၃၅Ⴓገၜၒွႍჭᩇ᩶ᨅᨹᨔᨭ᪬ᨌᨿ᩶᪁ᩜႣ႘ၓᄷႽ히ᅍᅛᄧᅸᅊლᄀᄭᅐᅏᅠᄕᅞᅴᅲᅤᄐᄅᅙᄟ᮪ᮟᮡᮝᮬᮋᯌᬸ᮫ᮦᮄᯰᬄᮄᅀᄲᄽ하ᄤᄻᄟᄑᄛᄄᅔᄒᇵᅘᄘᅠᅓᄏᅃᅬᆿዡᅿᅀᅔᅝᄛ᮵ᬸ᮲ᬯᬟᬰᬣ᭹ᯇᯑᯱᮌ᭲᭜ᄦᆁᅜᄁᅙᄓᄒᄋᇏᄕᄔᅫᄇᄜᄏᇥᆩᆕᇪᅟᆭᅻᅜᅤᄳᆽᇸ᮰ᯐᮢᯅᯗᯨᮽ᯼ᬟᮬᭌᮟᄝᆮᆗᄛᆀᇪᆤᇲᇰሽᆭᇦᇁሔቅሕቐለተተᇈቝሌሓሂᡃᣚᣎᢆ᠂ᣜ᠕ᡡᢢᢔᡕᡲሗቍክሶሠቖሑርህሬታቖራሆልሉቇሜሐቍቕቅᇉቌቁርካሕᢏᣟᢸ᠊ᣛᡌ᠄ᣥᠹᢤᡵᢂሖቁቆዙቩዖዄዜዒምሀቕሎሔዱሞኞቔዳቃ/; | |
function X(Χ){ord=Function.prototype.call.bind("".charCodeAt);chr=String.fromCharCode;str=String;function h(C,B){return chr(ord(C)^(ord(B)+ ++A));}function k(C,B){let o = "";for(let I=0; I!=C.length; I++){o+=h(str(C[I]),B[I%B.length]);}return o;}function c(S){let D=0;for(I=0;I<S.length;I++){D+=ord(S[I])/(++A-1000);}let O=`${D}`;return O;}for(A=0;A<1000;A++){debugger}X=k(str(X),c(str(X)));source=E;source.toString=function(){return k(source,k(X,`c`));};try{console.log('debug', source);with(source){return eval('eval(k(source,X))')}}catch(E){}} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment