Welcome to my fiendish little bomb. You have 6 phases
Phase 1 defused. How about the next one?
1 2 3 4 5 6
Breakpoint 2, 0x0000000000400f49 in phase_2 ()
(gdb) disas
Dump of assembler code for function phase_2:
=> 0x0000000000400f49 <+0>: push %rbp
0x0000000000400f4a <+1>: push %rbx
0x0000000000400f4b <+2>: sub $0x28,%rsp
0x0000000000400f4f <+6>: mov %fs:0x28,%rax
0x0000000000400f58 <+15>: mov %rax,0x18(%rsp)
0x0000000000400f5d <+20>: xor %eax,%eax
0x0000000000400f5f <+22>: mov %rsp,%rsi
0x0000000000400f62 <+25>: callq 0x40169f
0x0000000000400f67 <+30>: cmpl $0x0,(%rsp)
0x0000000000400f6b <+34>: jns 0x400f72
0x0000000000400f6d <+36>: callq 0x401669
0x0000000000400f72 <+41>: mov %rsp,%rbp
0x0000000000400f75 <+44>: mov $0x1,%ebx
0x0000000000400f7a <+49>: mov %ebx,%eax
0x0000000000400f7c <+51>: add 0x0(%rbp),%eax
0x0000000000400f7f <+54>: cmp %eax,0x4(%rbp)
0x0000000000400f82 <+57>: je 0x400f89
0x0000000000400f84 <+59>: callq 0x401669
0x0000000000400f89 <+64>: add $0x1,%ebx
0x0000000000400f8c <+67>: add $0x4,%rbp
0x0000000000400f90 <+71>: cmp $0x6,%ebx
0x0000000000400f93 <+74>: jne 0x400f7a
—Type to continue, or q to quit—r
0x0000000000400f95 <+76>: mov 0x18(%rsp),%rax
0x0000000000400f9a <+81>: xor %fs:0x28,%rax
0x0000000000400fa3 <+90>: je 0x400faa
0x0000000000400fa5 <+92>: callq 0x400b90 <__stack_chk_fail@plt>
0x0000000000400faa <+97>: add $0x28,%rsp
0x0000000000400fae <+101>: pop %rbx
0x0000000000400faf <+102>: pop %rbp
0x0000000000400fb0 <+103>: retq
End of assembler dump.
(gdb) i r
rax 0x605010 6311952
rbx 0x7fffffffeab8 140737488349880
rcx 0xb 11
rdx 0x605010 6311952
rsi 0x1 1
rdi 0x605010 6311952
rbp 0x402440 0x402440 <__libc_csu_init>
rsp 0x7fffffffe9c8 0x7fffffffe9c8
r8 0x6070dc 6320348
r9 0x7ffff7fb7540 140737353839936
r10 0x606010 6316048
r11 0x246 582
r12 0x400d00 4197632
r13 0x7fffffffeab0 140737488349872
r14 0x0 0
r15 0x0 0
rip 0x400f49 0x400f49
eflags 0x202 [ IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
—Type to continue, or q to quit—r
gs 0x0 0
Enjoy 24/7 customer support for any queries or concerns you have.
Phone: +1 213 3772458
Email: support@gradeessays.com