I'm working on an attack lab phase4. I'm trying to find gadget 1 & 2 and I know they are supposed to be within (start_farm
I'm working on an attack lab phase4. I'm trying to find gadget 1 & 2 and I know they are supposed to be within (start_farm and endfarm) but its not really making sense.
00000000004019b5
4019b5: b8 01 00 00 00 mov $0x1,%eax
4019ba: c3 retq
00000000004019bb
4019bb: b8 c8 89 c7 c3 mov $0xc3c789c8,%eax
4019c0: c3 retq
00000000004019c1
4019c1: b8 58 c3 c3 26 mov $0x26c3c358,%eax
4019c6: c3 retq
00000000004019c7
4019c7: b8 51 48 89 c7 mov $0xc7894851,%eax
4019cc: c3 retq
00000000004019cd
4019cd: c7 07 58 90 90 c3 movl $0xc3909058,(%rdi)
4019d3: c3 retq
00000000004019d4
4019d4: 8d 87 48 89 c7 c3 lea -0x3c3876b8(%rdi),%eax
4019da: c3 retq
00000000004019db
4019db: b8 ee 58 91 90 mov $0x909158ee,%eax
4019e0: c3 retq
00000000004019e1
4019e1: b8 48 89 c7 94 mov $0x94c78948,%eax
4019e6: c3 retq
00000000004019e7
4019e7: c7 07 58 94 90 90 movl $0x90909458,(%rdi)
4019ed: c3 retq
00000000004019ee
4019ee: b8 01 00 00 00 mov $0x1,%eax
4019f3: c3 retq
00000000004019f4
4019f4: 48 8d 04 37 lea (%rdi,%rsi,1),%rax
4019f8: c3 retq
00000000004019f9
4019f9: 8d 87 48 89 e0 94 lea -0x6b1f76b8(%rdi),%eax
4019ff: c3 retq
0000000000401a00
401a00: c7 07 89 ce 20 db movl $0xdb20ce89,(%rdi)
401a06: c3 retq
0000000000401a07
401a07: b8 89 ce 94 db mov $0xdb94ce89,%eax
401a0c: c3 retq
0000000000401a0d
401a0d: 8d 87 89 c2 28 db lea -0x24d73d77(%rdi),%eax
401a13: c3 retq
0000000000401a14
401a14: c7 07 81 c2 84 c9 movl $0xc984c281,(%rdi)
401a1a: c3 retq
0000000000401a1b
401a1b: c7 07 88 d1 38 db movl $0xdb38d188,(%rdi)
401a21: c3 retq
0000000000401a22
401a22: c7 07 89 ce 94 db movl $0xdb94ce89,(%rdi)
401a28: c3 retq
0000000000401a29
401a29: c7 07 65 89 d1 c3 movl $0xc3d18965,(%rdi)
401a2f: c3 retq
0000000000401a30
401a30: b8 a0 4a 89 e0 mov $0xe0894aa0,%eax
401a35: c3 retq
0000000000401a36
401a36: 8d 87 89 ce 18 d2 lea -0x2de73177(%rdi),%eax
401a3c: c3 retq
0000000000401a3d
401a3d: 8d 87 89 d1 c1 17 lea 0x17c1d189(%rdi),%eax
401a43: c3 retq
0000000000401a44
401a44: 8d 87 48 89 e0 90 lea -0x6f1f76b8(%rdi),%eax
401a4a: c3 retq
0000000000401a4b
401a4b: 8d 87 89 ce 38 c0 lea -0x3fc73177(%rdi),%eax
401a51: c3 retq
0000000000401a52
401a52: c7 07 81 ce 20 c0 movl $0xc020ce81,(%rdi)
401a58: c3 retq
0000000000401a59
401a59: b8 89 ce a4 c0 mov $0xc0a4ce89,%eax
401a5e: c3 retq
0000000000401a5f
401a5f: b8 89 d1 00 db mov $0xdb00d189,%eax
401a64: c3 retq
0000000000401a65
401a65: 8d 87 89 ce 60 d2 lea -0x2d9f3177(%rdi),%eax
401a6b: c3 retq
0000000000401a6c
401a6c: c7 07 89 d1 90 c1 movl $0xc190d189,(%rdi)
401a72: c3 retq
0000000000401a73
401a73: b8 06 48 a9 e0 mov $0xe0a94806,%eax
401a78: c3 retq
0000000000401a79
401a79: 8d 87 89 d1 08 c0 lea -0x3ff72e77(%rdi),%eax
401a7f: c3 retq
0000000000401a80
401a80: 8d 87 2e 48 c9 e0 lea -0x1f36b7d2(%rdi),%eax
401a86: c3 retq
0000000000401a87
401a87: c7 07 48 89 e0 92 movl $0x92e08948,(%rdi)
401a8d: c3 retq
0000000000401a8e
401a8e: 8d 87 89 c2 c3 41 lea 0x41c3c289(%rdi),%eax
401a94: c3 retq
0000000000401a95
401a95: c7 07 89 c2 30 c9 movl $0xc930c289,(%rdi)
401a9b: c3 retq
0000000000401a9c
401a9c: c7 07 89 d1 78 c0 movl $0xc078d189,(%rdi)
401aa2: c3 retq
0000000000401aa3
401aa3: 8d 87 40 89 e0 90 lea -0x6f1f76c0(%rdi),%eax
401aa9: c3 retq
0000000000401aaa
401aaa: 8d 87 48 89 e0 90 lea -0x6f1f76b8(%rdi),%eax
401ab0: c3 retq
0000000000401ab1
401ab1: c7 07 4e 89 c2 94 movl $0x94c2894e,(%rdi)
401ab7: c3 retq
0000000000401ab8
401ab8: 8d 87 1d 89 c2 90 lea -0x6f3d76e3(%rdi),%eax
401abe: c3 retq
0000000000401abf
401abf: c7 07 81 c2 08 d2 movl $0xd208c281,(%rdi)
401ac5: c3 retq
0000000000401ac6
401ac6: b8 8b c2 c3 2a mov $0x2ac3c28b,%eax
401acb: c3 retq
0000000000401acc
401acc: b8 88 d1 20 db mov $0xdb20d188,%eax
401ad1: c3 retq
0000000000401ad2
401ad2: b8 01 00 00 00 mov $0x1,%eax
401ad7: c3 retq
401ad8: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1)
401adf: 00
Step by Step Solution
There are 3 Steps involved in it
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started