CTF Wargame
Hack The Box - Invitation code
진욱.
2019. 9. 23. 18:34
https://www.hackthebox.eu/invite
Hack The Box :: Penetration Testing Labs
An online platform to test and advance your skills in penetration testing and cyber security.
www.hackthebox.eu
eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('1 i(4){h 8={"4":4};$.9({a:"7",5:"6",g:8,b:\'/d/e/n\',c:1(0){3.2(0)},f:1(0){3.2(0)}})}1 j(){$.9({a:"7",5:"6",b:\'/d/e/k/l/m\',c:1(0){3.2(0)},f:1(0){3.2(0)}})}',24,24,'response|function|log|console|code|dataType|json|POST|formData|ajax|type|url|success|api|invite|error|data|var|verifyInviteCode|makeInviteCode|how|to|generate|verify'.split('|'),0,{}))
data: {data: "Va beqre gb trarengr gur vaivgr pbqr, znxr n CBFG erdhrfg gb /ncv/vaivgr/trarengr", enctype: "ROT13"}
curl -XPOST ❯ curl -XPOST https://www.hackthebox.eu/api/invite/generate
{"success":1,"data":{"code":"TU9WWlItWVZVWlUtWVJBSVUtR1ZQQ1ItWk1VUVY=","format":"encoded"},"0":200}
~
❯
base64 decode
MOVZR-YVUZU-YRAIU-GVPCR-ZMUQV