前往小程序,Get更优阅读体验!
立即前往
发布
社区首页 >专栏 >3DSCTF RE Scared Flag

3DSCTF RE Scared Flag

作者头像
用户1423082
发布2024-12-31 18:25:03
发布2024-12-31 18:25:03
3600
代码可运行
举报
文章被收录于专栏:giantbranch's bloggiantbranch's blog
运行总次数:0
代码可运行

一开始给了个hex文件,那就用hex2bin将其转化为bin。

直接strings有些东西,但并不是真正的flag

代码语言:javascript
代码运行次数:0
复制
strings ea137e7356e566945e51bbece00a22ad.bin 
#+$+%+a
f'w'
33 44 53 7B 62 79 20 4A 75 6C 69 6F 20 44 65 6C 6C 61 20 46 6C 6F 72 61 7D
33 44 53 7B 52 45 41 4C 4C 59 20 4D 52 2E 20 46 55 5A 5A 45 52 3F 20 49 73 20 74 68 61 74 20 61 6C 6C 20 79 6F 75 27 76 65 20 67 6F 74 3F 7D
if you can scare me...
I'll run away and leave the flag for you
not even close
I'm not scared yet
pretty scary, I left the flag here, you can catch

后来用ida打开,完全看不出来,因为ida以为是二进制文件

后来用radare2,其实是一个avr的文件

代码语言:javascript
代码运行次数:0
复制
[0x000000c4]> i -h
blksz    0x0
block    0x100
fd       3
file     ./ea137e7356e566945e51bbece00a22ad.bin
format   avr
iorw     false
mode     -r-x
size     0xbc6
humansz  2.9K
type     ROM
arch     avr
binsz    3014
bits     8
canary   false
crypto   false
endian   little
havecode true
linenum  false
lsyms    false
machine  ATmel
maxopsz  4
minopsz  2
nx       false
os       avr
pcalign  2
pic      false
relocs   false
static   true
stripped false
va       false

直接切换视图,拖到下面一点就可以看到了

3DS{youareabully}

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2017-12-31,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档