Question: phase_6 binary bomb .. anyone can help me debugg this? I know I have to put in 6 six numbers and from 1-6. I have

phase_6 binary bomb .. anyone can help me debugg this? I know I have to put in 6 six numbers and from 1-6. I have found values from the greatest to the lowest but somehow i keep exploding Idk what I'm doing wrong here. I have tried [5 4 6 3 4 1] [4 5 6 3 1 2] [4 5 6 3 2 1]

phase_6 binary bomb .. anyone can help me debugg this? I know

I have to put in 6 six numbers and from 1-6. I

Good work! On to the next... 4 5 6 3 2 1 Breakpoint 1, 0x00000000004010df in phase_6 () (gdb) disas Dump of assembler code for function phase 6: > 0x00000000004010df push push push push push sub lea mov %r14 %r13 %r12 %rbp %rbx $0x50,%rsp 0x30(%rsp),%r13 %r13, %rsi 0x00000000004010e1 0x00000000004010e3 : 0x00000000004010e5 0x00000000004010e6 : 0x00000000004010e7 : 0x00000000004010eb 0x00000000004010f0 : 0x00000000004010f3 callq 0x4015aa 0x00000000004010f8 0x00000000004010fb 0x0000000000401101 : 0x0000000000401104 : mov 0x8(Xr13),%eax 0x000000000040110841 0x000000000040110b ; 0x000000000040110e : 0x0000000000401110 : 0x0000000000401115 : 0x0000000000401119 :cmp $0x6,%r12d 0x00000000004011|d62: 0x000000000040111f ; 0x0000000000401122 : 8x0000000000401125 : mov 0x30 (%rsp'%rax,4),%eax 0x0000000000401129 : %eax,0x8(Xrbp) 0x000000000040112c 0x000000000040112e 0x0000000000401133 0x00000000004011368T> : cmp $8x5,%ebx 0x0000000000401139 : 0x000000000040113b 0x000000000040113f :jmp 0x401101 0x0000000000401141 : 1ea 0x48 (%r s p ) ,%rsi 0x0000000000401146 mov 8x0000000000401150: sub 1%rax),%edx 0x0000000000401152 : mov %edx,(%rax) 0x0000000000401154 : add $0x4,%rax 0x0000000000401158 : cmp 0x000000000040115b :jne 0x40114e 0x800000000040115d: mov $0x8,%esi 0x0000000000401162 :jmp 0x401184 0x0000000000401164 : mov 0x8(%rdx),%rdx 0x0000000000401168 : 0x000000000040116d jne0x401164 0x000000000040116f :jmp 0x401176 0x8000000000401171: mov $0x6042 fe,%edx 8x0000000000401176 : mov %rdx,(%rsp,%rsi,2) 0x000000000040117a: add $0x4,%rsi 0x800000000040117e : cmp $0x18,%rsi 0x0000000000401182 :je 0x8000000000401184 : mov 0x30(%rsp'%rsi, 1),%ecx 0x8000000000401188 169s: cmp $0x1'%ecx mov mov mov %r13, %r14 $0x0,%r12d %r13,%rbp sub $0x1,%eax cmp $8x5,%eax jbe 0x401115 callq 0x401574 add $0x1,%r12d 0x401141 je mav callq 0x401574 add $0x1,%ebx jle add 0x401122 $0x4,%r13 %r14, %rax %ecx, %edx $0x1,%eax %ecx,%eax 0x401199 Good work! On to the next... 4 5 6 3 2 1 Breakpoint 1, 0x00000000004010df in phase_6 () (gdb) disas Dump of assembler code for function phase 6: > 0x00000000004010df push push push push push sub lea mov %r14 %r13 %r12 %rbp %rbx $0x50,%rsp 0x30(%rsp),%r13 %r13, %rsi 0x00000000004010e1 0x00000000004010e3 : 0x00000000004010e5 0x00000000004010e6 : 0x00000000004010e7 : 0x00000000004010eb 0x00000000004010f0 : 0x00000000004010f3 callq 0x4015aa 0x00000000004010f8 0x00000000004010fb 0x0000000000401101 : 0x0000000000401104 : mov 0x8(Xr13),%eax 0x000000000040110841 0x000000000040110b ; 0x000000000040110e : 0x0000000000401110 : 0x0000000000401115 : 0x0000000000401119 :cmp $0x6,%r12d 0x00000000004011|d62: 0x000000000040111f ; 0x0000000000401122 : 8x0000000000401125 : mov 0x30 (%rsp'%rax,4),%eax 0x0000000000401129 : %eax,0x8(Xrbp) 0x000000000040112c 0x000000000040112e 0x0000000000401133 0x00000000004011368T> : cmp $8x5,%ebx 0x0000000000401139 : 0x000000000040113b 0x000000000040113f :jmp 0x401101 0x0000000000401141 : 1ea 0x48 (%r s p ) ,%rsi 0x0000000000401146 mov 8x0000000000401150: sub 1%rax),%edx 0x0000000000401152 : mov %edx,(%rax) 0x0000000000401154 : add $0x4,%rax 0x0000000000401158 : cmp 0x000000000040115b :jne 0x40114e 0x800000000040115d: mov $0x8,%esi 0x0000000000401162 :jmp 0x401184 0x0000000000401164 : mov 0x8(%rdx),%rdx 0x0000000000401168 : 0x000000000040116d jne0x401164 0x000000000040116f :jmp 0x401176 0x8000000000401171: mov $0x6042 fe,%edx 8x0000000000401176 : mov %rdx,(%rsp,%rsi,2) 0x000000000040117a: add $0x4,%rsi 0x800000000040117e : cmp $0x18,%rsi 0x0000000000401182 :je 0x8000000000401184 : mov 0x30(%rsp'%rsi, 1),%ecx 0x8000000000401188 169s: cmp $0x1'%ecx mov mov mov %r13, %r14 $0x0,%r12d %r13,%rbp sub $0x1,%eax cmp $8x5,%eax jbe 0x401115 callq 0x401574 add $0x1,%r12d 0x401141 je mav callq 0x401574 add $0x1,%ebx jle add 0x401122 $0x4,%r13 %r14, %rax %ecx, %edx $0x1,%eax %ecx,%eax 0x401199

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!