Duskystar 2015. 12. 1. 12:54
반응형

http://codeengn.com/challenges/malware/05


Problem : This file is a source code of a malware. 

What does this function do 
(Answer must be all in lowercase, with no spaces) 

전체적으로 buffer값이 어떻게 정해지는지에 따라 그 값으로 고른 Table데이터를 통해 Output을 채우고 있습니다.  76 위치마다 13과 10을 넣고 있고요.

 이는 전형적인 Base64 인코딩 방식입니다.  6비트씩 나누어서 base64 table에서 캐릭터를 추출해내고 있으며 76길이가 될 때마다 carriage return을 포함합니다.  

답은 base64