writeup-RrEeGgEeXx EKOPARTY

来源:互联网 发布:iphone解锁mac 编辑:程序博客网 时间:2024/04/29 13:22

State-of-the-art on authentication mechanisms.
题目如上,下载完附件,扔进IDA,发现又是c#的。。。于是又扔进reflector反编译一下
分析了下发现有一个对字符串进行正则的判断

if(check_regex("^.{40}$", input) && check_regex(@"\w{3}\{.*\}", input)) && (check_regex("_s.*e_", input) && check_regex(@"\{o{2}O{2}o{2}", input))) && (check_regex(@"O{2}o{2}O{2}\}", input) && check_regex("sup3r_r3g3x_challenge", input)))

分析了下,然后就构造出flag了

EKO{ooOOoo_sup3r_r3g3x_challenge_OOooOO}

0 0