Hacky Easter 2017 Teaser Solution

CTF Page: Hacky Easter 2017 - Teaser


Riddle 1

MBD2A !ysaep ,ysaE

Easy, peasy! A2DMB

Ref: String reverse

Riddle 2

UGllY2Ugb2YgY2FrZSEgWlhHSUQ=

Piece of cake! ZXGID

Re: Base64 Decode

Riddle 3

查看 HTML, 密文隐藏在其中 (color:transparent)

document.write(String.fromCharCode(88, 73, 90, 76, 83));

XIZLS

Riddle 4

eval(function(p,a,c,k,e,d){e=function(c){return c};if(!''.replace(/^/,String)){while(c--){d[c]=k[c]||c}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}('0(\'1\');',2,2,'alert|VYGY6'.split('|'),0,{}))

VYGY6

Riddle 5

3a3ea00cfc35332cedf6e5e9a32e94da
9d5ed678fe57bcca610140957afab571
f09564c9ca56850d4cd6b3319e541aee
5dbc98dcc983a70728bd082d1a47546e
7fc56270e7a70fa81a5935b72eacbe29

EBQSA

Ref: MD5 Decryptor

Riddle 6

--- -. . / -- --- .-. . / .... . .-. . ---... / .--- .- --- -- -.--

O N E / M O R E / H E R E ? / J A O M Y
JAOMY

Ref: morsecode

Riddle 7

Hwldp wx, Euxwh! QYAVL

NVXSI

Ref: Caesar cipher

Riddle 8

84 97 107 101 32 116 104 105 115 58 32 71 89 53 84 70
String.fromCharCode(84,97,107,101,32,116,104,105,115,58,32,71,89,53,84,70)

T a k e t h i s : G Y 5 T F
GY5TF

Riddle 9 - Yet to be solved

Just a bit:
/2mi4AMj

Riddle 10

隐藏在 HTML comment 中

No comment.<!-- A43JN -->

A43JN

Riddle 11 - Yet to be solved

将emoji 转为0和1.

1010 0101 0000 1010 -> A5 0A
0010 1000 1010 1010 -> 28 AA
1010 1010 1010 1001 -> AA A9
0101 0101 0001 0010 -> 55 12
1010 1001 0100 0101 -> A9 45
0100                -> 4

half way to go.... Or flip the wrong bit.

Riddle 12 - Yet to be solved

697c611778601371647d12177e7d060572
3133333731333337313333373133333731
加法?减法?

Riddle 13 - Yet to be solved

URER LBH TB: MJX4E

Riddle 14

Hex to base64

89504E470D0A1A0A0000000D494844520000001D0000000708020000007BBCD1A5000000017352474200AECE1CE90
000000467414D410000B18F0BFC6105000000097048597300000EC300000EC301C76FA8640000001874455874536F
667477617265007061696E742E6E657420342E302E36FC8C63DF000001AA4944415428534D513DC8416118BD7E4A1
9180C0665A0582C8C7E22DF20C5480A130629060CF29792C16CB06293C82283C2F0C562540693C94F297F2983FB9D
EBF9BEDB77A673CE7DEE799FF3BE0CFB81C160904824C4098542C1E17098CDE672B90C399D4E9D4EA740208846A39
BCD2693C9300CF3F5079A29168B56ABD5E572B5DBEDDF5C954A85B9D3E944D2EBF5D66AB5DBEDF67EBF5BADD6EBF5
1A8D4676BB1D9F7ABD9EDFEF877FBFDFE3F1782E97BB5EAFF0B1473A9D063F1C0E1A8D86CB1D8FC7D8CBE3F1341A0
DC8C964A2502840FE83CF050987C3642693C96AB54A1C558810B8DC4824321C0E178B85CD66836C369BD80244A7D3
A194DBED7E3C1E8893CBE5E804743A1DEE57964DA552F57A1D64B7DB994C2632095CAE4C260B8542C160502A95AED
7EBC160100804E05F2E97E3F1882054E6F7DDEFF770CEE73378369BA5DCE7F3899B04E1C174BBDD582CF6FD01162F
954AD84EA9542E974B9A108BC5FF7301AD564B2F91CFE729174033BC1BF17EBFCFF87CBEF97C4E7ABBDDEAF57A90D
96C66341A3FA519FE5AD56A35A44824C2D99F71B652A9F0B9ABD5CA62B1604028142612891FA2F7838B729D41E800
00000049454E44AE426082

Ref:ascii to hex

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAHCAIAAAB7vNGlAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNvyMY98AAAGqSURBVChTTVE9yEFhGL1+ShkYDAZloFgsjH4i3yDFSAoTBikGDPKXksFssGKTyCKDwvDFYlQGk8lPKX8pg/ud6/m+23emc8597nmf874M+4HBYJBIJMQJhULB4XCYzeZyuQw5nU6dTqdAIIhGo5vNJpPJMAzz9QeaKRaLVqvV5XK12+3fXJVKhbnT6UTS6/XWarXb7fZ+v1ut1uv1Go1Gdrsdn3q9nt/vh3+/3+PxeC6Xu16v8LFHOp0GPxwOGo2Gyx2Px9jL4/E0Gg3IyWSiUChA/oPPBQmHw2Qmk8lqtUocVYgQuNxIJDIcDheLhc1mg2w2m9gCRKfToZTb7X48HoiTy+XoBHQ6He5Xlk2lUvV6HWS325lMJjIJXK5MJguFQsFgUCqVrtfrwWAQCATgXy6X4/GIIFTm993v93DO5zN4Npul3OfziZsE4cF0u91YLPb9ARYvlUrYTqlULpdLmhCLxf9zAa1WSy+Rz+cpF0AzvBvxfr/P+Hy++XxOervd6vV6kNlsZjQaP6UZ/lrVajWkSCTC2Z9xtlKp8Lmr1cpisWBAKBQmEokfoveDi3KdQegAAAAASUVORK5CYII=" />

AGBTC

Riddle 15

FRIDAY THE THIRTEENTH, 4:00 PM
/([FOR]*)([ID]{2})([^N]*)(.)(.*)/g
$2E$44
var re = /([FOR]*)([ID]{2})([^N]*)(.)(.*)/g;
var str = 'FRIDAY THE THIRTEENTH, 4:00 PM';
alert(str.replace(re, "$2, $4"));

IDEN4

Riddle 16 - Yet to be solved

<~<+oue+DGm>FD,5.CghC,+E)./+Ws0B9h&:~>
Show Comments