Guest User

overthewire lvl0 objdump

a guest
Oct 13th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1. 0804855b <main>:
  2. 804855b: 55 push %ebp
  3. 804855c: 89 e5 mov %esp,%ebp
  4. 804855e: 53 push %ebx
  5. 804855f: 83 ec 18 sub $0x18,%esp
  6. 8048562: c7 45 f8 41 41 41 41 movl $0x41414141,-0x8(%ebp)
  7. 8048569: 68 90 86 04 08 push $0x8048690
  8. 804856e: e8 7d fe ff ff call 80483f0 <puts@plt>
  9. 8048573: 83 c4 04 add $0x4,%esp
  10. 8048576: 68 c3 86 04 08 push $0x80486c3
  11. 804857b: e8 50 fe ff ff call 80483d0 <printf@plt>
  12. 8048580: 83 c4 04 add $0x4,%esp
  13. 8048583: 8d 45 e4 lea -0x1c(%ebp),%eax
  14. 8048586: 50 push %eax
  15. 8048587: 68 d9 86 04 08 push $0x80486d9
  16. 804858c: e8 af fe ff ff call 8048440 <__isoc99_scanf@plt>
  17. 8048591: 83 c4 08 add $0x8,%esp
  18. 8048594: 8d 45 e4 lea -0x1c(%ebp),%eax
  19. 8048597: 50 push %eax
  20. 8048598: 68 de 86 04 08 push $0x80486de
  21. 804859d: e8 2e fe ff ff call 80483d0 <printf@plt>
  22. 80485a2: 83 c4 08 add $0x8,%esp
  23. 80485a5: ff 75 f8 pushl -0x8(%ebp)
  24. 80485a8: 68 e7 86 04 08 push $0x80486e7
  25. 80485ad: e8 1e fe ff ff call 80483d0 <printf@plt>
  26. 80485b2: 83 c4 08 add $0x8,%esp
  27. 80485b5: 81 7d f8 ef be ad de cmpl $0xdeadbeef,-0x8(%ebp)
  28. 80485bc: 75 25 jne 80485e3 <main+0x88>
  29. 80485be: e8 1d fe ff ff call 80483e0 <geteuid@plt>
  30. 80485c3: 89 c3 mov %eax,%ebx
  31. 80485c5: e8 16 fe ff ff call 80483e0 <geteuid@plt>
  32. 80485ca: 53 push %ebx
  33. 80485cb: 50 push %eax
  34. 80485cc: e8 4f fe ff ff call 8048420 <setreuid@plt>
  35. 80485d1: 83 c4 08 add $0x8,%esp
  36. 80485d4: 68 f4 86 04 08 push $0x80486f4
  37. 80485d9: e8 22 fe ff ff call 8048400 <system@plt>
  38. 80485de: 83 c4 04 add $0x4,%esp
  39. 80485e1: eb 14 jmp 80485f7 <main+0x9c>
  40. 80485e3: 68 fc 86 04 08 push $0x80486fc
  41. 80485e8: e8 03 fe ff ff call 80483f0 <puts@plt>
  42. 80485ed: 83 c4 04 add $0x4,%esp
  43. 80485f0: 6a 01 push $0x1
  44. 80485f2: e8 19 fe ff ff call 8048410 <exit@plt>
  45. 80485f7: b8 00 00 00 00 mov $0x0,%eax
  46. 80485fc: 8b 5d fc mov -0x4(%ebp),%ebx
  47. 80485ff: c9 leave
  48. 8048600: c3 ret
  49. 8048601: 66 90 xchg %ax,%ax
  50. 8048603: 66 90 xchg %ax,%ax
  51. 8048605: 66 90 xchg %ax,%ax
  52. 8048607: 66 90 xchg %ax,%ax
  53. 8048609: 66 90 xchg %ax,%ax
  54. 804860b: 66 90 xchg %ax,%ax
  55. 804860d: 66 90 xchg %ax,%ax
  56. 804860f: 90 nop
Add Comment
Please, Sign In to add comment