root-me

Web - client : Javascript - Native code

ddanss 2019. 10. 15. 22:23
728x90

여길보면 이런식으로 뭔가 암호화된것같은 script가 있다.

 

이걸 개발자도구 콘솔에 넣으면

이렇게 a=prompt(~~~~)나오는데

if(a=='toto123lol'){alert('bravo');}else{alert('fail...');}

 

이렇게 나온다.

답은 toto123lol 이다.

반응형