[精品]CSAPP Bomb Lab 解题报告(七)——隐藏关卡

接上篇[精品]CSAPP Bomb Lab 解题报告(六)

gdb常用指令

设置Intel代码格式:set disassembly-flavor intel

查看反汇编代码:disas phase_1

查看字符串:(gdb) x/s 0x402800

0x402800:	"Gunston"

7. 结束了吗

在 bomb.c 文件的最后,留下了这样一句耐人寻味的话:·

/* Wow, they got it!  But isn't something... missing?  Perhaps
 * something they overlooked?  Mua ha ha ha ha! */

这是因为,本 Lab 还有一个隐藏关!

8. Secret phase

8.1 本关密码

8.1.1 开启隐藏关的方法

Phase 4 输入的 2 个整数后再额外输入 1 个字符串

猜你喜欢

转载自blog.csdn.net/wlwdecs_dn/article/details/109575660
今日推荐