攻防世界crypto部分ecb,_it’s_easy_as_123的writeup

15 篇文章 0 订阅

Somebody leaked a still from the upcoming Happy Feet Three movie, which will be released in 4K, but Warner Bros. was smart enough to encrypt it. But those idiots used a black and white bmp format, and that wasn't their biggest mistake. Show 'em who's boss and get the flag.

创建3840×2160的分辨率,16色深的bm的头,替换掉原来的头即可,

分析详见:https://github.com/ctfs/write-ups-2014/tree/master/tinyctf-2014/ecb-its-easy-as-123

即将前面的字节码

53 61 6c 74 65 64 5f 5f  ab 31 b5 e5 ca 3d b9 4d
f4 09 1a a5 df 88 b7 2c  0e bd 8a 73 98 15 ba 69
a2 24 3e 09 94 cb 79 1e  ea a1 ad 33 c8 17 66 63
78 98 23 0b f0 af 20 38  f1 aa 0b f4 69 1c ec cf
fc d8 8e 3d 45 2a 99 b0  53 6b 50 0d 8a 3d c4 b7
62 9c 6a 54 f0 59 20 13  22 4f b6 e2 b6 aa 0a 8b
5e 21 1a 9d cf 8c a2 f6  45 80 cb 9b b7 37 da 7f
73 50 88 cb df 63 ee 22  d4 24 b3 b9 f4 24 ad 40

替换成

424d 7648 3f00 0000 0000 7600 0000 2800
0000 000f 0000 7008 0000 0100 0400 0000
0000 0048 3f00 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 8000 0080
0000 0080 8000 8000 0000 8000 8000 8080
0000 8080 8000 c0c0 c000 0000 ff00 00ff
0000 00ff ff00 ff00 0000 ff00 ff00 ffff
0000 ffff ff00 ffff ffff ffff ffff ffff

即可看见:

flag就是

flag{no_penguin_here}

 

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值