librex 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. data/README.md +12 -0
  2. data/lib/rex.rb +0 -0
  3. data/lib/rex.rb.ts.rb +0 -0
  4. data/lib/rex/LICENSE +0 -0
  5. data/lib/rex/arch.rb +0 -0
  6. data/lib/rex/arch/sparc.rb +0 -0
  7. data/lib/rex/arch/sparc.rb.ut.rb +0 -0
  8. data/lib/rex/arch/x86.rb +0 -0
  9. data/lib/rex/arch/x86.rb.ut.rb +0 -0
  10. data/lib/rex/assembly/nasm.rb +0 -0
  11. data/lib/rex/assembly/nasm.rb.ut.rb +0 -0
  12. data/lib/rex/codepage.map +0 -0
  13. data/lib/rex/compat.rb +0 -0
  14. data/lib/rex/constants.rb +0 -0
  15. data/lib/rex/elfparsey.rb +0 -0
  16. data/lib/rex/elfparsey/elf.rb +0 -0
  17. data/lib/rex/elfparsey/elfbase.rb +2 -4
  18. data/lib/rex/elfparsey/exceptions.rb +0 -0
  19. data/lib/rex/elfscan.rb +0 -0
  20. data/lib/rex/elfscan/scanner.rb +0 -0
  21. data/lib/rex/elfscan/search.rb +10 -10
  22. data/lib/rex/encoder/alpha2.rb +0 -0
  23. data/lib/rex/encoder/alpha2/alpha_mixed.rb +0 -0
  24. data/lib/rex/encoder/alpha2/alpha_upper.rb +0 -0
  25. data/lib/rex/encoder/alpha2/generic.rb +0 -0
  26. data/lib/rex/encoder/alpha2/unicode_mixed.rb +0 -0
  27. data/lib/rex/encoder/alpha2/unicode_upper.rb +0 -0
  28. data/lib/rex/encoder/ndr.rb +0 -0
  29. data/lib/rex/encoder/ndr.rb.ut.rb +0 -0
  30. data/lib/rex/encoder/nonalpha.rb +0 -0
  31. data/lib/rex/encoder/nonupper.rb +0 -0
  32. data/lib/rex/encoder/xdr.rb +0 -0
  33. data/lib/rex/encoder/xdr.rb.ut.rb +0 -0
  34. data/lib/rex/encoder/xor.rb +0 -0
  35. data/lib/rex/encoder/xor/dword.rb +0 -0
  36. data/lib/rex/encoder/xor/dword_additive.rb +0 -0
  37. data/lib/rex/encoders/xor_dword.rb +0 -0
  38. data/lib/rex/encoders/xor_dword_additive.rb +0 -0
  39. data/lib/rex/encoders/xor_dword_additive.rb.ut.rb +0 -0
  40. data/lib/rex/encoding/xor.rb +0 -0
  41. data/lib/rex/encoding/xor.rb.ts.rb +0 -0
  42. data/lib/rex/encoding/xor/byte.rb +0 -0
  43. data/lib/rex/encoding/xor/byte.rb.ut.rb +0 -0
  44. data/lib/rex/encoding/xor/dword.rb +0 -0
  45. data/lib/rex/encoding/xor/dword.rb.ut.rb +0 -0
  46. data/lib/rex/encoding/xor/dword_additive.rb +0 -0
  47. data/lib/rex/encoding/xor/dword_additive.rb.ut.rb +0 -0
  48. data/lib/rex/encoding/xor/exceptions.rb +0 -0
  49. data/lib/rex/encoding/xor/generic.rb +0 -0
  50. data/lib/rex/encoding/xor/generic.rb.ut.rb +0 -0
  51. data/lib/rex/encoding/xor/qword.rb +0 -0
  52. data/lib/rex/encoding/xor/word.rb +0 -0
  53. data/lib/rex/encoding/xor/word.rb.ut.rb +0 -0
  54. data/lib/rex/exceptions.rb +0 -0
  55. data/lib/rex/exceptions.rb.ut.rb +0 -0
  56. data/lib/rex/exploitation/cmdstager.rb +0 -0
  57. data/lib/rex/exploitation/cmdstager/base.rb +6 -1
  58. data/lib/rex/exploitation/cmdstager/debug_asm.rb +0 -0
  59. data/lib/rex/exploitation/cmdstager/debug_write.rb +0 -0
  60. data/lib/rex/exploitation/cmdstager/tftp.rb +8 -8
  61. data/lib/rex/exploitation/cmdstager/vbs.rb +0 -0
  62. data/lib/rex/exploitation/egghunter.rb +143 -36
  63. data/lib/rex/exploitation/egghunter.rb.ut.rb +0 -0
  64. data/lib/rex/exploitation/encryptjs.rb +0 -0
  65. data/lib/rex/exploitation/heaplib.js.b64 +0 -0
  66. data/lib/rex/exploitation/heaplib.rb +0 -0
  67. data/lib/rex/exploitation/javascriptosdetect.rb +114 -15
  68. data/lib/rex/exploitation/obfuscatejs.rb +0 -0
  69. data/lib/rex/exploitation/omelet.rb +320 -0
  70. data/lib/rex/exploitation/omelet.rb.ut.rb +13 -0
  71. data/lib/rex/exploitation/opcodedb.rb +0 -0
  72. data/lib/rex/exploitation/opcodedb.rb.ut.rb +0 -0
  73. data/lib/rex/exploitation/seh.rb +0 -0
  74. data/lib/rex/exploitation/seh.rb.ut.rb +0 -0
  75. data/lib/rex/file.rb +1 -1
  76. data/lib/rex/file.rb.ut.rb +0 -0
  77. data/lib/rex/image_source.rb +0 -0
  78. data/lib/rex/image_source/disk.rb +0 -0
  79. data/lib/rex/image_source/image_source.rb +0 -0
  80. data/lib/rex/image_source/memory.rb +0 -0
  81. data/lib/rex/io/bidirectional_pipe.rb +0 -0
  82. data/lib/rex/io/datagram_abstraction.rb +0 -0
  83. data/lib/rex/io/stream.rb +1 -1
  84. data/lib/rex/io/stream_abstraction.rb +0 -0
  85. data/lib/rex/io/stream_server.rb +0 -0
  86. data/lib/rex/job_container.rb +0 -1
  87. data/lib/rex/logging.rb +0 -0
  88. data/lib/rex/logging/log_dispatcher.rb +0 -0
  89. data/lib/rex/logging/log_sink.rb +0 -0
  90. data/lib/rex/logging/sinks/flatfile.rb +0 -0
  91. data/lib/rex/logging/sinks/stderr.rb +0 -0
  92. data/lib/rex/machparsey.rb +0 -0
  93. data/lib/rex/machparsey/exceptions.rb +0 -0
  94. data/lib/rex/machparsey/machbase.rb +0 -0
  95. data/lib/rex/machscan.rb +0 -0
  96. data/lib/rex/machscan/scanner.rb +0 -0
  97. data/lib/rex/mime.rb +0 -0
  98. data/lib/rex/mime/header.rb +0 -0
  99. data/lib/rex/mime/message.rb +0 -0
  100. data/lib/rex/mime/part.rb +0 -0
  101. data/lib/rex/nop/opty2.rb +0 -0
  102. data/lib/rex/nop/opty2.rb.ut.rb +0 -0
  103. data/lib/rex/nop/opty2_tables.rb +0 -0
  104. data/lib/rex/ole.rb +0 -0
  105. data/lib/rex/ole/clsid.rb +0 -0
  106. data/lib/rex/ole/difat.rb +0 -0
  107. data/lib/rex/ole/directory.rb +0 -0
  108. data/lib/rex/ole/direntry.rb +0 -0
  109. data/lib/rex/ole/docs/dependencies.txt +8 -0
  110. data/lib/rex/ole/docs/references.txt +1 -0
  111. data/lib/rex/ole/fat.rb +0 -0
  112. data/lib/rex/ole/header.rb +3 -3
  113. data/lib/rex/ole/minifat.rb +0 -0
  114. data/lib/rex/ole/storage.rb +4 -4
  115. data/lib/rex/ole/stream.rb +0 -0
  116. data/lib/rex/ole/substorage.rb +0 -0
  117. data/lib/rex/ole/util.rb +0 -0
  118. data/lib/rex/parser/arguments.rb +0 -0
  119. data/lib/rex/parser/arguments.rb.ut.rb +0 -0
  120. data/lib/rex/parser/ini.rb +0 -0
  121. data/lib/rex/parser/ini.rb.ut.rb +0 -0
  122. data/lib/rex/parser/nexpose_xml.rb +0 -0
  123. data/lib/rex/parser/nmap_xml.rb +0 -0
  124. data/lib/rex/payloads.rb +0 -0
  125. data/lib/rex/payloads/win32.rb +0 -0
  126. data/lib/rex/payloads/win32/common.rb +0 -0
  127. data/lib/rex/payloads/win32/kernel.rb +0 -0
  128. data/lib/rex/payloads/win32/kernel/common.rb +0 -0
  129. data/lib/rex/payloads/win32/kernel/migration.rb +0 -0
  130. data/lib/rex/payloads/win32/kernel/recovery.rb +0 -0
  131. data/lib/rex/peparsey.rb +0 -0
  132. data/lib/rex/peparsey/exceptions.rb +0 -0
  133. data/lib/rex/peparsey/pe.rb +7 -1
  134. data/lib/rex/peparsey/pe_memdump.rb +0 -0
  135. data/lib/rex/peparsey/pebase.rb +27 -2
  136. data/lib/rex/peparsey/section.rb +0 -0
  137. data/lib/rex/pescan.rb +0 -0
  138. data/lib/rex/pescan/analyze.rb +0 -0
  139. data/lib/rex/pescan/scanner.rb +0 -0
  140. data/lib/rex/pescan/search.rb +0 -0
  141. data/lib/rex/platforms.rb +0 -0
  142. data/lib/rex/platforms/windows.rb +0 -0
  143. data/lib/rex/poly.rb +0 -0
  144. data/lib/rex/poly/block.rb +0 -0
  145. data/lib/rex/poly/register.rb +0 -0
  146. data/lib/rex/poly/register/x86.rb +0 -0
  147. data/lib/rex/post.rb +0 -0
  148. data/lib/rex/post/dir.rb +0 -0
  149. data/lib/rex/post/file.rb +0 -0
  150. data/lib/rex/post/file_stat.rb +0 -0
  151. data/lib/rex/post/gen.pl +0 -0
  152. data/lib/rex/post/io.rb +0 -0
  153. data/lib/rex/post/meterpreter.rb +0 -0
  154. data/lib/rex/post/meterpreter/channel.rb +0 -0
  155. data/lib/rex/post/meterpreter/channel_container.rb +0 -0
  156. data/lib/rex/post/meterpreter/channels/pool.rb +0 -0
  157. data/lib/rex/post/meterpreter/channels/pools/file.rb +0 -0
  158. data/lib/rex/post/meterpreter/channels/pools/stream_pool.rb +0 -0
  159. data/lib/rex/post/meterpreter/channels/stream.rb +0 -0
  160. data/lib/rex/post/meterpreter/client.rb +3 -0
  161. data/lib/rex/post/meterpreter/client_core.rb +0 -0
  162. data/lib/rex/post/meterpreter/dependencies.rb +0 -0
  163. data/lib/rex/post/meterpreter/extension.rb +0 -0
  164. data/lib/rex/post/meterpreter/extensions/espia/espia.rb +0 -0
  165. data/lib/rex/post/meterpreter/extensions/espia/tlv.rb +0 -0
  166. data/lib/rex/post/meterpreter/extensions/incognito/incognito.rb +0 -0
  167. data/lib/rex/post/meterpreter/extensions/incognito/tlv.rb +0 -0
  168. data/lib/rex/post/meterpreter/extensions/networkpug/networkpug.rb +57 -0
  169. data/lib/rex/post/meterpreter/extensions/networkpug/tlv.rb +15 -0
  170. data/lib/rex/post/meterpreter/extensions/priv/fs.rb +0 -0
  171. data/lib/rex/post/meterpreter/extensions/priv/passwd.rb +0 -0
  172. data/lib/rex/post/meterpreter/extensions/priv/priv.rb +0 -0
  173. data/lib/rex/post/meterpreter/extensions/priv/tlv.rb +0 -0
  174. data/lib/rex/post/meterpreter/extensions/sniffer/sniffer.rb +2 -1
  175. data/lib/rex/post/meterpreter/extensions/sniffer/tlv.rb +12 -10
  176. data/lib/rex/post/meterpreter/extensions/stdapi/constants.rb +0 -0
  177. data/lib/rex/post/meterpreter/extensions/stdapi/fs/dir.rb +0 -0
  178. data/lib/rex/post/meterpreter/extensions/stdapi/fs/file.rb +31 -0
  179. data/lib/rex/post/meterpreter/extensions/stdapi/fs/file_stat.rb +0 -0
  180. data/lib/rex/post/meterpreter/extensions/stdapi/fs/io.rb +0 -0
  181. data/lib/rex/post/meterpreter/extensions/stdapi/net/config.rb +0 -0
  182. data/lib/rex/post/meterpreter/extensions/stdapi/net/interface.rb +0 -0
  183. data/lib/rex/post/meterpreter/extensions/stdapi/net/route.rb +0 -0
  184. data/lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/tcp_server_channel.rb +0 -0
  185. data/lib/rex/post/meterpreter/extensions/{railgun → stdapi/railgun}/api_constants.rb +38106 -38105
  186. data/lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_advapi32.rb +1804 -0
  187. data/lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_iphlpapi.rb +96 -0
  188. data/lib/rex/post/meterpreter/extensions/{railgun → stdapi/railgun/def}/def_kernel32.rb +3848 -3678
  189. data/lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_ntdll.rb +153 -0
  190. data/lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_shell32.rb +21 -0
  191. data/lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_user32.rb +3169 -0
  192. data/lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_ws2_32.rb +599 -0
  193. data/lib/rex/post/meterpreter/extensions/stdapi/railgun/model.rb +540 -0
  194. data/lib/rex/post/meterpreter/extensions/stdapi/railgun/multicall.rb +308 -0
  195. data/lib/rex/post/meterpreter/extensions/stdapi/railgun/railgun.rb +196 -0
  196. data/lib/rex/post/meterpreter/extensions/{railgun → stdapi/railgun}/tlv.rb +6 -9
  197. data/lib/rex/post/meterpreter/extensions/stdapi/stdapi.rb +5 -0
  198. data/lib/rex/post/meterpreter/extensions/stdapi/sys/config.rb +0 -0
  199. data/lib/rex/post/meterpreter/extensions/stdapi/sys/event_log.rb +0 -0
  200. data/lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb +0 -0
  201. data/lib/rex/post/meterpreter/extensions/stdapi/sys/power.rb +0 -0
  202. data/lib/rex/post/meterpreter/extensions/stdapi/sys/process.rb +0 -0
  203. data/lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/image.rb +0 -0
  204. data/lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/io.rb +0 -0
  205. data/lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/memory.rb +0 -0
  206. data/lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/thread.rb +0 -0
  207. data/lib/rex/post/meterpreter/extensions/stdapi/sys/registry.rb +0 -0
  208. data/lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_key.rb +0 -0
  209. data/lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_value.rb +0 -0
  210. data/lib/rex/post/meterpreter/extensions/stdapi/sys/thread.rb +0 -0
  211. data/lib/rex/post/meterpreter/extensions/stdapi/tlv.rb +6 -0
  212. data/lib/rex/post/meterpreter/extensions/stdapi/ui.rb +0 -0
  213. data/lib/rex/post/meterpreter/inbound_packet_handler.rb +0 -0
  214. data/lib/rex/post/meterpreter/object_aliases.rb +0 -0
  215. data/lib/rex/post/meterpreter/packet.rb +23 -1
  216. data/lib/rex/post/meterpreter/packet_dispatcher.rb +13 -2
  217. data/lib/rex/post/meterpreter/packet_parser.rb +0 -0
  218. data/lib/rex/post/meterpreter/packet_response_waiter.rb +17 -10
  219. data/lib/rex/post/meterpreter/ui/console.rb +0 -0
  220. data/lib/rex/post/meterpreter/ui/console/command_dispatcher.rb +0 -0
  221. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb +12 -7
  222. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/espia.rb +0 -0
  223. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/incognito.rb +0 -0
  224. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/networkpug.rb +221 -0
  225. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb +0 -0
  226. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/elevate.rb +0 -0
  227. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/passwd.rb +0 -0
  228. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/timestomp.rb +0 -0
  229. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/sniffer.rb +4 -3
  230. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb +0 -0
  231. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb +56 -1
  232. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/net.rb +22 -0
  233. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/sys.rb +0 -0
  234. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb +0 -0
  235. data/lib/rex/post/meterpreter/ui/console/interactive_channel.rb +0 -0
  236. data/lib/rex/post/permission.rb +0 -0
  237. data/lib/rex/post/process.rb +0 -0
  238. data/lib/rex/post/thread.rb +0 -0
  239. data/lib/rex/post/ui.rb +0 -0
  240. data/lib/rex/proto.rb +0 -0
  241. data/lib/rex/proto.rb.ts.rb +0 -0
  242. data/lib/rex/proto/dcerpc.rb +0 -0
  243. data/lib/rex/proto/dcerpc.rb.ts.rb +0 -0
  244. data/lib/rex/proto/dcerpc/client.rb +3 -1
  245. data/lib/rex/proto/dcerpc/exceptions.rb +0 -0
  246. data/lib/rex/proto/dcerpc/handle.rb +0 -0
  247. data/lib/rex/proto/dcerpc/handle.rb.ut.rb +0 -0
  248. data/lib/rex/proto/dcerpc/ndr.rb +0 -0
  249. data/lib/rex/proto/dcerpc/ndr.rb.ut.rb +0 -0
  250. data/lib/rex/proto/dcerpc/packet.rb +0 -0
  251. data/lib/rex/proto/dcerpc/packet.rb.ut.rb +0 -0
  252. data/lib/rex/proto/dcerpc/response.rb.ut.rb +0 -0
  253. data/lib/rex/proto/dcerpc/uuid.rb +0 -0
  254. data/lib/rex/proto/dcerpc/uuid.rb.ut.rb +0 -0
  255. data/lib/rex/proto/dhcp.rb +7 -0
  256. data/lib/rex/proto/dhcp/constants.rb +33 -0
  257. data/lib/rex/proto/dhcp/server.rb +285 -0
  258. data/lib/rex/proto/drda.rb +0 -0
  259. data/lib/rex/proto/drda.rb.ts.rb +0 -0
  260. data/lib/rex/proto/drda/constants.rb +0 -0
  261. data/lib/rex/proto/drda/constants.rb.ut.rb +0 -0
  262. data/lib/rex/proto/drda/packet.rb +0 -0
  263. data/lib/rex/proto/drda/packet.rb.ut.rb +0 -0
  264. data/lib/rex/proto/drda/utils.rb +0 -0
  265. data/lib/rex/proto/drda/utils.rb.ut.rb +0 -0
  266. data/lib/rex/proto/http.rb +0 -0
  267. data/lib/rex/proto/http.rb.ts.rb +0 -0
  268. data/lib/rex/proto/http/client.rb +27 -2
  269. data/lib/rex/proto/http/client.rb.ut.rb +4 -2
  270. data/lib/rex/proto/http/handler.rb +0 -0
  271. data/lib/rex/proto/http/handler/erb.rb +0 -0
  272. data/lib/rex/proto/http/handler/erb.rb.ut.rb +0 -0
  273. data/lib/rex/proto/http/handler/erb.rb.ut.rb.rhtml +0 -0
  274. data/lib/rex/proto/http/handler/proc.rb +6 -0
  275. data/lib/rex/proto/http/handler/proc.rb.ut.rb +0 -0
  276. data/lib/rex/proto/http/header.rb +0 -0
  277. data/lib/rex/proto/http/header.rb.ut.rb +0 -0
  278. data/lib/rex/proto/http/packet.rb +20 -19
  279. data/lib/rex/proto/http/packet.rb.ut.rb +0 -0
  280. data/lib/rex/proto/http/request.rb +0 -0
  281. data/lib/rex/proto/http/request.rb.ut.rb +0 -0
  282. data/lib/rex/proto/http/response.rb +0 -0
  283. data/lib/rex/proto/http/response.rb.ut.rb +0 -0
  284. data/lib/rex/proto/http/server.rb +5 -3
  285. data/lib/rex/proto/http/server.rb.ut.rb +0 -0
  286. data/lib/rex/proto/proxy/socks4a.rb +440 -0
  287. data/lib/rex/proto/smb.rb +0 -0
  288. data/lib/rex/proto/smb.rb.ts.rb +0 -0
  289. data/lib/rex/proto/smb/client.rb +110 -61
  290. data/lib/rex/proto/smb/client.rb.ut.rb +0 -0
  291. data/lib/rex/proto/smb/constants.rb +5 -3
  292. data/lib/rex/proto/smb/constants.rb.ut.rb +0 -0
  293. data/lib/rex/proto/smb/crypt.rb +0 -0
  294. data/lib/rex/proto/smb/crypt.rb.ut.rb +0 -0
  295. data/lib/rex/proto/smb/exceptions.rb +0 -0
  296. data/lib/rex/proto/smb/simpleclient.rb +0 -0
  297. data/lib/rex/proto/smb/simpleclient.rb.ut.rb +0 -0
  298. data/lib/rex/proto/smb/utils.rb +2 -0
  299. data/lib/rex/proto/smb/utils.rb.ut.rb +0 -0
  300. data/lib/rex/proto/sunrpc.rb +0 -0
  301. data/lib/rex/proto/sunrpc/client.rb +0 -0
  302. data/lib/rex/proto/tftp.rb +10 -1
  303. data/lib/rex/proto/tftp/constants.rb +5 -3
  304. data/lib/rex/proto/tftp/server.rb +79 -9
  305. data/lib/rex/script.rb +0 -0
  306. data/lib/rex/script/base.rb +0 -0
  307. data/lib/rex/script/meterpreter.rb +0 -0
  308. data/lib/rex/script/shell.rb +0 -0
  309. data/lib/rex/service.rb +0 -0
  310. data/lib/rex/service_manager.rb +0 -0
  311. data/lib/rex/service_manager.rb.ut.rb +0 -0
  312. data/lib/rex/services/local_relay.rb +0 -0
  313. data/lib/rex/socket.rb +6 -4
  314. data/lib/rex/socket.rb.ut.rb +0 -0
  315. data/lib/rex/socket/comm.rb +0 -0
  316. data/lib/rex/socket/comm/local.rb +0 -0
  317. data/lib/rex/socket/comm/local.rb.ut.rb +0 -0
  318. data/lib/rex/socket/ip.rb +0 -0
  319. data/lib/rex/socket/parameters.rb +0 -0
  320. data/lib/rex/socket/parameters.rb.ut.rb +0 -0
  321. data/lib/rex/socket/range_walker.rb +0 -0
  322. data/lib/rex/socket/range_walker.rb.ut.rb +0 -0
  323. data/lib/rex/socket/ssl_tcp.rb +1 -1
  324. data/lib/rex/socket/ssl_tcp.rb.ut.rb +0 -0
  325. data/lib/rex/socket/ssl_tcp_server.rb +0 -0
  326. data/lib/rex/socket/ssl_tcp_server.rb.ut.rb +0 -0
  327. data/lib/rex/socket/subnet_walker.rb +0 -0
  328. data/lib/rex/socket/subnet_walker.rb.ut.rb +0 -0
  329. data/lib/rex/socket/switch_board.rb.ut.rb +0 -0
  330. data/lib/rex/socket/tcp.rb +0 -0
  331. data/lib/rex/socket/tcp.rb.ut.rb +0 -0
  332. data/lib/rex/socket/tcp_server.rb +0 -0
  333. data/lib/rex/socket/tcp_server.rb.ut.rb +0 -0
  334. data/lib/rex/socket/udp.rb +0 -0
  335. data/lib/rex/socket/udp.rb.ut.rb +0 -0
  336. data/lib/rex/struct2.rb +0 -0
  337. data/lib/rex/struct2/c_struct.rb +0 -0
  338. data/lib/rex/struct2/c_struct_template.rb +0 -0
  339. data/lib/rex/struct2/constant.rb +0 -0
  340. data/lib/rex/struct2/element.rb +0 -0
  341. data/lib/rex/struct2/generic.rb +0 -0
  342. data/lib/rex/struct2/restraint.rb +0 -0
  343. data/lib/rex/struct2/s_string.rb +0 -0
  344. data/lib/rex/struct2/s_struct.rb +0 -0
  345. data/lib/rex/sync.rb +0 -0
  346. data/lib/rex/sync/event.rb +0 -0
  347. data/lib/rex/sync/read_write_lock.rb +0 -0
  348. data/lib/rex/sync/ref.rb +0 -0
  349. data/lib/rex/sync/thread_safe.rb +0 -0
  350. data/lib/rex/test.rb +0 -0
  351. data/lib/rex/text.rb +13 -3
  352. data/lib/rex/text.rb.ut.rb +9 -4
  353. data/lib/rex/time.rb +0 -0
  354. data/lib/rex/transformer.rb +0 -0
  355. data/lib/rex/transformer.rb.ut.rb +0 -0
  356. data/lib/rex/ui.rb +0 -0
  357. data/lib/rex/ui/interactive.rb +0 -0
  358. data/lib/rex/ui/output.rb +0 -0
  359. data/lib/rex/ui/output/none.rb +0 -0
  360. data/lib/rex/ui/progress_tracker.rb +0 -0
  361. data/lib/rex/ui/subscriber.rb +0 -0
  362. data/lib/rex/ui/text/color.rb +0 -0
  363. data/lib/rex/ui/text/color.rb.ut.rb +0 -0
  364. data/lib/rex/ui/text/dispatcher_shell.rb +0 -0
  365. data/lib/rex/ui/text/input.rb +0 -0
  366. data/lib/rex/ui/text/input/buffer.rb +0 -0
  367. data/lib/rex/ui/text/input/readline.rb +0 -0
  368. data/lib/rex/ui/text/input/socket.rb +0 -0
  369. data/lib/rex/ui/text/input/stdio.rb +0 -0
  370. data/lib/rex/ui/text/irb_shell.rb +0 -0
  371. data/lib/rex/ui/text/output.rb +0 -0
  372. data/lib/rex/ui/text/output/buffer.rb +0 -0
  373. data/lib/rex/ui/text/output/file.rb +0 -0
  374. data/lib/rex/ui/text/output/socket.rb +0 -0
  375. data/lib/rex/ui/text/output/stdio.rb +0 -0
  376. data/lib/rex/ui/text/progress_tracker.rb +0 -0
  377. data/lib/rex/ui/text/progress_tracker.rb.ut.rb +0 -0
  378. data/lib/rex/ui/text/shell.rb +9 -6
  379. data/lib/rex/ui/text/table.rb +5 -0
  380. data/lib/rex/ui/text/table.rb.ut.rb +0 -0
  381. data/lib/rex/zip.rb +0 -0
  382. data/lib/rex/zip/archive.rb +29 -1
  383. data/lib/rex/zip/blocks.rb +0 -0
  384. data/lib/rex/zip/entry.rb +5 -1
  385. metadata +369 -413
  386. data/README +0 -8
  387. data/lib/rex/post/meterpreter/extensions/railgun/api.rb +0 -9303
  388. data/lib/rex/post/meterpreter/extensions/railgun/railgun.rb +0 -815
  389. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/railgun.rb +0 -57
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -47,15 +47,17 @@ module Shell
47
47
  self.prompt_char = prompt_char
48
48
 
49
49
  self.histfile = histfile
50
+ self.hist_last_saved = 0
50
51
  end
51
52
 
52
53
  def init_tab_complete
53
54
  if (self.input and self.input.supports_readline)
54
55
  self.input = Input::Readline.new(lambda { |str| tab_complete(str) })
55
- if histfile and File.exists?(histfile)
56
- File.readlines(histfile).each { |e|
57
- Readline::HISTORY << e.chomp
58
- }
56
+ if Readline::HISTORY.length == 0 and histfile and File.exists?(histfile)
57
+ File.readlines(histfile).each { |e|
58
+ Readline::HISTORY << e.chomp
59
+ }
60
+ self.hist_last_saved = Readline::HISTORY.length
59
61
  end
60
62
  self.input.output = self.output
61
63
  update_prompt(input.prompt)
@@ -142,9 +144,9 @@ module Shell
142
144
  # don't bother saving lines that couldn't be found as a
143
145
  # command, create the file if it doesn't exist
144
146
  if ret and self.histfile
145
- File.open(self.histfile, "a+") { |f|
147
+ File.open(self.histfile, "a+") { |f|
146
148
  f.puts(line)
147
- }
149
+ }
148
150
  end
149
151
  self.stop_count = 0
150
152
  end
@@ -299,6 +301,7 @@ protected
299
301
  attr_accessor :prompt # :nodoc:
300
302
  attr_accessor :prompt_char, :tab_complete_proc # :nodoc:
301
303
  attr_accessor :histfile # :nodoc:
304
+ attr_accessor :hist_last_saved # the number of history lines when last saved/loaded
302
305
  attr_accessor :log_source, :stop_count # :nodoc:
303
306
 
304
307
  end
@@ -1,3 +1,5 @@
1
+ require 'rex/ui'
2
+
1
3
  module Rex
2
4
  module Ui
3
5
  module Text
@@ -137,6 +139,9 @@ class Table
137
139
  # Adds a row with the supplied fields.
138
140
  #
139
141
  def add_row(fields = [])
142
+ if fields.length != self.columns.length
143
+ raise RuntimeError, 'Invalid number of columns!'
144
+ end
140
145
  fields.each_with_index { |field, idx|
141
146
  if (colprops[idx]['MaxWidth'] < field.to_s.length)
142
147
  colprops[idx]['MaxWidth'] = field.to_s.length
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  ##
2
- # $Id: archive.rb 8439 2010-02-10 17:27:40Z jduck $
2
+ # $Id: archive.rb 10073 2010-08-20 07:01:23Z egypt $
3
3
  ##
4
4
 
5
5
  module Rex
@@ -9,6 +9,7 @@ module Zip
9
9
  # This represents an entire archive.
10
10
  #
11
11
  class Archive
12
+ attr_reader :entries
12
13
 
13
14
  def initialize(compmeth=CM_DEFLATE)
14
15
  @compmeth = compmeth
@@ -87,5 +88,32 @@ class Archive
87
88
 
88
89
  end
89
90
 
91
+ class Jar < Archive
92
+ attr_accessor :manifest
93
+
94
+ def build_manifest(opts={})
95
+ main_class = opts[:main_class] || nil
96
+ skip = opts[:skip] || /^$/
97
+
98
+ @manifest = ''
99
+
100
+ @manifest = "Main-Class: #{main_class}\n\n" if main_class
101
+ @entries.each { |e|
102
+ next if e.name =~ skip
103
+ @manifest << "Name: #{e.name}\n\n"
104
+ }
105
+ add_file("META-INF/", '')
106
+ add_file("META-INF/MANIFEST.MF", @manifest)
107
+ end
108
+
109
+ def to_s
110
+ pack
111
+ end
112
+
113
+ def length
114
+ pack.length
115
+ end
116
+ end
117
+
90
118
  end
91
119
  end
File without changes
@@ -1,5 +1,5 @@
1
1
  ##
2
- # $Id: entry.rb 8572 2010-02-21 01:37:04Z jduck $
2
+ # $Id: entry.rb 10056 2010-08-19 17:04:42Z egypt $
3
3
  ##
4
4
 
5
5
  module Rex
@@ -89,6 +89,10 @@ class Entry
89
89
  ret
90
90
  end
91
91
 
92
+ def inspect
93
+ "#<#{self.class} name:#{name}, data:#{@data.length} bytes>"
94
+ end
95
+
92
96
  end
93
97
 
94
98
  end
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: librex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ hash: 21
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 5
10
+ version: 0.0.5
5
11
  platform: ruby
6
12
  authors:
7
13
  - Metasploit Development Team
@@ -10,11 +16,11 @@ autorequire:
10
16
  bindir: bin
11
17
  cert_chain: []
12
18
 
13
- date: 2010-07-20 00:00:00 -05:00
19
+ date: 2010-10-04 00:00:00 -05:00
14
20
  default_executable:
15
21
  dependencies: []
16
22
 
17
- description: Rex provides a variety of classes useful for security testing and exploit development. Based on svn revision 9886
23
+ description: Rex provides a variety of classes useful for security testing and exploit development. Based on svn revision 10547
18
24
  email:
19
25
  - hdm@metasploit.com
20
26
  - jacob.hammack@hammackj.com
@@ -23,495 +29,445 @@ executables: []
23
29
  extensions: []
24
30
 
25
31
  extra_rdoc_files:
26
- - README
32
+ - README.md
27
33
  files:
28
- - README
29
- - lib/rex
30
- - lib/rex/ole
34
+ - README.md
35
+ - lib/rex/arch/sparc.rb
36
+ - lib/rex/arch/sparc.rb.ut.rb
37
+ - lib/rex/arch/x86.rb
38
+ - lib/rex/arch/x86.rb.ut.rb
39
+ - lib/rex/arch.rb
40
+ - lib/rex/assembly/nasm.rb
41
+ - lib/rex/assembly/nasm.rb.ut.rb
42
+ - lib/rex/codepage.map
43
+ - lib/rex/compat.rb
44
+ - lib/rex/constants.rb
45
+ - lib/rex/elfparsey/elf.rb
46
+ - lib/rex/elfparsey/elfbase.rb
47
+ - lib/rex/elfparsey/exceptions.rb
48
+ - lib/rex/elfparsey.rb
49
+ - lib/rex/elfscan/scanner.rb
50
+ - lib/rex/elfscan/search.rb
51
+ - lib/rex/elfscan.rb
52
+ - lib/rex/encoder/alpha2/alpha_mixed.rb
53
+ - lib/rex/encoder/alpha2/alpha_upper.rb
54
+ - lib/rex/encoder/alpha2/generic.rb
55
+ - lib/rex/encoder/alpha2/unicode_mixed.rb
56
+ - lib/rex/encoder/alpha2/unicode_upper.rb
57
+ - lib/rex/encoder/alpha2.rb
58
+ - lib/rex/encoder/ndr.rb
59
+ - lib/rex/encoder/ndr.rb.ut.rb
60
+ - lib/rex/encoder/nonalpha.rb
61
+ - lib/rex/encoder/nonupper.rb
62
+ - lib/rex/encoder/xdr.rb
63
+ - lib/rex/encoder/xdr.rb.ut.rb
64
+ - lib/rex/encoder/xor/dword.rb
65
+ - lib/rex/encoder/xor/dword_additive.rb
66
+ - lib/rex/encoder/xor.rb
67
+ - lib/rex/encoders/xor_dword.rb
68
+ - lib/rex/encoders/xor_dword_additive.rb
69
+ - lib/rex/encoders/xor_dword_additive.rb.ut.rb
70
+ - lib/rex/encoding/xor/byte.rb
71
+ - lib/rex/encoding/xor/byte.rb.ut.rb
72
+ - lib/rex/encoding/xor/dword.rb
73
+ - lib/rex/encoding/xor/dword.rb.ut.rb
74
+ - lib/rex/encoding/xor/dword_additive.rb
75
+ - lib/rex/encoding/xor/dword_additive.rb.ut.rb
76
+ - lib/rex/encoding/xor/exceptions.rb
77
+ - lib/rex/encoding/xor/generic.rb
78
+ - lib/rex/encoding/xor/generic.rb.ut.rb
79
+ - lib/rex/encoding/xor/qword.rb
80
+ - lib/rex/encoding/xor/word.rb
81
+ - lib/rex/encoding/xor/word.rb.ut.rb
82
+ - lib/rex/encoding/xor.rb
83
+ - lib/rex/encoding/xor.rb.ts.rb
84
+ - lib/rex/exceptions.rb
85
+ - lib/rex/exceptions.rb.ut.rb
86
+ - lib/rex/exploitation/cmdstager/base.rb
87
+ - lib/rex/exploitation/cmdstager/debug_asm.rb
88
+ - lib/rex/exploitation/cmdstager/debug_write.rb
89
+ - lib/rex/exploitation/cmdstager/tftp.rb
90
+ - lib/rex/exploitation/cmdstager/vbs.rb
91
+ - lib/rex/exploitation/cmdstager.rb
92
+ - lib/rex/exploitation/egghunter.rb
93
+ - lib/rex/exploitation/egghunter.rb.ut.rb
94
+ - lib/rex/exploitation/encryptjs.rb
95
+ - lib/rex/exploitation/heaplib.js.b64
96
+ - lib/rex/exploitation/heaplib.rb
97
+ - lib/rex/exploitation/javascriptosdetect.rb
98
+ - lib/rex/exploitation/obfuscatejs.rb
99
+ - lib/rex/exploitation/omelet.rb
100
+ - lib/rex/exploitation/omelet.rb.ut.rb
101
+ - lib/rex/exploitation/opcodedb.rb
102
+ - lib/rex/exploitation/opcodedb.rb.ut.rb
103
+ - lib/rex/exploitation/seh.rb
104
+ - lib/rex/exploitation/seh.rb.ut.rb
105
+ - lib/rex/file.rb
106
+ - lib/rex/file.rb.ut.rb
107
+ - lib/rex/image_source/disk.rb
108
+ - lib/rex/image_source/image_source.rb
109
+ - lib/rex/image_source/memory.rb
110
+ - lib/rex/image_source.rb
111
+ - lib/rex/io/bidirectional_pipe.rb
112
+ - lib/rex/io/datagram_abstraction.rb
113
+ - lib/rex/io/stream.rb
114
+ - lib/rex/io/stream_abstraction.rb
115
+ - lib/rex/io/stream_server.rb
116
+ - lib/rex/job_container.rb
117
+ - lib/rex/LICENSE
118
+ - lib/rex/logging/log_dispatcher.rb
119
+ - lib/rex/logging/log_sink.rb
120
+ - lib/rex/logging/sinks/flatfile.rb
121
+ - lib/rex/logging/sinks/stderr.rb
122
+ - lib/rex/logging.rb
123
+ - lib/rex/machparsey/exceptions.rb
124
+ - lib/rex/machparsey/mach.rb
125
+ - lib/rex/machparsey/machbase.rb
126
+ - lib/rex/machparsey.rb
127
+ - lib/rex/machscan/scanner.rb
128
+ - lib/rex/machscan.rb
129
+ - lib/rex/mime/header.rb
130
+ - lib/rex/mime/message.rb
131
+ - lib/rex/mime/part.rb
132
+ - lib/rex/mime.rb
133
+ - lib/rex/nop/opty2.rb
134
+ - lib/rex/nop/opty2.rb.ut.rb
135
+ - lib/rex/nop/opty2_tables.rb
136
+ - lib/rex/ole/clsid.rb
137
+ - lib/rex/ole/difat.rb
31
138
  - lib/rex/ole/directory.rb
32
- - lib/rex/ole/samples
33
- - lib/rex/ole/samples/dir.rb
139
+ - lib/rex/ole/direntry.rb
140
+ - lib/rex/ole/docs/dependencies.txt
141
+ - lib/rex/ole/docs/references.txt
142
+ - lib/rex/ole/fat.rb
143
+ - lib/rex/ole/header.rb
144
+ - lib/rex/ole/minifat.rb
34
145
  - lib/rex/ole/samples/create_ole.rb
35
- - lib/rex/ole/samples/ole_info.rb
146
+ - lib/rex/ole/samples/dir.rb
36
147
  - lib/rex/ole/samples/dump_stream.rb
37
- - lib/rex/ole/util.rb
38
- - lib/rex/ole/clsid.rb
39
- - lib/rex/ole/substorage.rb
40
- - lib/rex/ole/direntry.rb
148
+ - lib/rex/ole/samples/ole_info.rb
41
149
  - lib/rex/ole/storage.rb
42
- - lib/rex/ole/difat.rb
43
- - lib/rex/ole/minifat.rb
44
- - lib/rex/ole/header.rb
45
- - lib/rex/ole/fat.rb
46
150
  - lib/rex/ole/stream.rb
47
- - lib/rex/zip
48
- - lib/rex/zip/samples
49
- - lib/rex/zip/samples/mkwar.rb
50
- - lib/rex/zip/samples/comment.rb
51
- - lib/rex/zip/samples/recursive.rb
52
- - lib/rex/zip/samples/mkzip.rb
53
- - lib/rex/zip/blocks.rb
54
- - lib/rex/zip/archive.rb
55
- - lib/rex/zip/entry.rb
56
- - lib/rex/struct2
57
- - lib/rex/struct2/c_struct_template.rb
58
- - lib/rex/struct2/c_struct.rb
59
- - lib/rex/struct2/constant.rb
60
- - lib/rex/struct2/element.rb
61
- - lib/rex/struct2/restraint.rb
62
- - lib/rex/struct2/s_struct.rb
63
- - lib/rex/struct2/s_string.rb
64
- - lib/rex/struct2/generic.rb
65
- - lib/rex/text.rb.ut.rb
66
- - lib/rex/assembly
67
- - lib/rex/assembly/nasm.rb.ut.rb
68
- - lib/rex/assembly/nasm.rb
69
- - lib/rex/machscan
70
- - lib/rex/machscan/scanner.rb
71
- - lib/rex/script
72
- - lib/rex/script/shell.rb
73
- - lib/rex/script/meterpreter.rb
74
- - lib/rex/script/base.rb
75
- - lib/rex/services
76
- - lib/rex/services/local_relay.rb
77
- - lib/rex/peparsey
78
- - lib/rex/peparsey/pebase.rb
151
+ - lib/rex/ole/substorage.rb
152
+ - lib/rex/ole/util.rb
153
+ - lib/rex/ole.rb
154
+ - lib/rex/parser/arguments.rb
155
+ - lib/rex/parser/arguments.rb.ut.rb
156
+ - lib/rex/parser/ini.rb
157
+ - lib/rex/parser/ini.rb.ut.rb
158
+ - lib/rex/parser/nexpose_xml.rb
159
+ - lib/rex/parser/nmap_xml.rb
160
+ - lib/rex/payloads/win32/common.rb
161
+ - lib/rex/payloads/win32/kernel/common.rb
162
+ - lib/rex/payloads/win32/kernel/migration.rb
163
+ - lib/rex/payloads/win32/kernel/recovery.rb
164
+ - lib/rex/payloads/win32/kernel/stager.rb
165
+ - lib/rex/payloads/win32/kernel.rb
166
+ - lib/rex/payloads/win32.rb
167
+ - lib/rex/payloads.rb
79
168
  - lib/rex/peparsey/exceptions.rb
169
+ - lib/rex/peparsey/pe.rb
80
170
  - lib/rex/peparsey/pe_memdump.rb
171
+ - lib/rex/peparsey/pebase.rb
81
172
  - lib/rex/peparsey/section.rb
82
- - lib/rex/peparsey/pe.rb
83
- - lib/rex/sync
84
- - lib/rex/sync/ref.rb
85
- - lib/rex/sync/read_write_lock.rb
86
- - lib/rex/sync/event.rb
87
- - lib/rex/sync/thread_safe.rb
88
- - lib/rex/platforms
173
+ - lib/rex/peparsey.rb
174
+ - lib/rex/pescan/analyze.rb
175
+ - lib/rex/pescan/scanner.rb
176
+ - lib/rex/pescan/search.rb
177
+ - lib/rex/pescan.rb
89
178
  - lib/rex/platforms/windows.rb
90
- - lib/rex/arch
91
- - lib/rex/arch/x86.rb.ut.rb
92
- - lib/rex/arch/sparc.rb.ut.rb
93
- - lib/rex/arch/sparc.rb
94
- - lib/rex/arch/x86.rb
95
- - lib/rex/post
96
- - lib/rex/post/ui.rb
179
+ - lib/rex/platforms.rb
180
+ - lib/rex/poly/block.rb
181
+ - lib/rex/poly/register/x86.rb
182
+ - lib/rex/poly/register.rb
183
+ - lib/rex/poly.rb
97
184
  - lib/rex/post/dir.rb
98
- - lib/rex/post/meterpreter.rb
99
- - lib/rex/post/process.rb
185
+ - lib/rex/post/file.rb
186
+ - lib/rex/post/file_stat.rb
100
187
  - lib/rex/post/gen.pl
101
188
  - lib/rex/post/io.rb
102
- - lib/rex/post/thread.rb
103
- - lib/rex/post/permission.rb
104
- - lib/rex/post/file_stat.rb
105
- - lib/rex/post/meterpreter
189
+ - lib/rex/post/meterpreter/channel.rb
190
+ - lib/rex/post/meterpreter/channel_container.rb
191
+ - lib/rex/post/meterpreter/channels/pool.rb
192
+ - lib/rex/post/meterpreter/channels/pools/file.rb
193
+ - lib/rex/post/meterpreter/channels/pools/stream_pool.rb
194
+ - lib/rex/post/meterpreter/channels/stream.rb
106
195
  - lib/rex/post/meterpreter/client.rb
107
- - lib/rex/post/meterpreter/inbound_packet_handler.rb
196
+ - lib/rex/post/meterpreter/client_core.rb
108
197
  - lib/rex/post/meterpreter/dependencies.rb
109
- - lib/rex/post/meterpreter/object_aliases.rb
110
- - lib/rex/post/meterpreter/channel_container.rb
111
198
  - lib/rex/post/meterpreter/extension.rb
112
- - lib/rex/post/meterpreter/packet_parser.rb
113
- - lib/rex/post/meterpreter/channel.rb
114
- - lib/rex/post/meterpreter/client_core.rb
115
- - lib/rex/post/meterpreter/extensions
116
- - lib/rex/post/meterpreter/extensions/espia
117
- - lib/rex/post/meterpreter/extensions/espia/tlv.rb
118
199
  - lib/rex/post/meterpreter/extensions/espia/espia.rb
119
- - lib/rex/post/meterpreter/extensions/priv
120
- - lib/rex/post/meterpreter/extensions/priv/priv.rb
121
- - lib/rex/post/meterpreter/extensions/priv/passwd.rb
200
+ - lib/rex/post/meterpreter/extensions/espia/tlv.rb
201
+ - lib/rex/post/meterpreter/extensions/incognito/incognito.rb
202
+ - lib/rex/post/meterpreter/extensions/incognito/tlv.rb
203
+ - lib/rex/post/meterpreter/extensions/networkpug/networkpug.rb
204
+ - lib/rex/post/meterpreter/extensions/networkpug/tlv.rb
122
205
  - lib/rex/post/meterpreter/extensions/priv/fs.rb
206
+ - lib/rex/post/meterpreter/extensions/priv/passwd.rb
207
+ - lib/rex/post/meterpreter/extensions/priv/priv.rb
123
208
  - lib/rex/post/meterpreter/extensions/priv/tlv.rb
124
- - lib/rex/post/meterpreter/extensions/stdapi
209
+ - lib/rex/post/meterpreter/extensions/sniffer/sniffer.rb
210
+ - lib/rex/post/meterpreter/extensions/sniffer/tlv.rb
125
211
  - lib/rex/post/meterpreter/extensions/stdapi/constants.rb
126
- - lib/rex/post/meterpreter/extensions/stdapi/stdapi.rb
127
- - lib/rex/post/meterpreter/extensions/stdapi/ui.rb
128
- - lib/rex/post/meterpreter/extensions/stdapi/tlv.rb
129
- - lib/rex/post/meterpreter/extensions/stdapi/net
130
- - lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem
131
- - lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/udp_channel.rb
132
- - lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/tcp_client_channel.rb
133
- - lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/tcp_server_channel.rb
212
+ - lib/rex/post/meterpreter/extensions/stdapi/fs/dir.rb
213
+ - lib/rex/post/meterpreter/extensions/stdapi/fs/file.rb
214
+ - lib/rex/post/meterpreter/extensions/stdapi/fs/file_stat.rb
215
+ - lib/rex/post/meterpreter/extensions/stdapi/fs/io.rb
216
+ - lib/rex/post/meterpreter/extensions/stdapi/net/config.rb
134
217
  - lib/rex/post/meterpreter/extensions/stdapi/net/interface.rb
135
- - lib/rex/post/meterpreter/extensions/stdapi/net/socket.rb
136
218
  - lib/rex/post/meterpreter/extensions/stdapi/net/route.rb
137
- - lib/rex/post/meterpreter/extensions/stdapi/net/config.rb
138
- - lib/rex/post/meterpreter/extensions/stdapi/sys
139
- - lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem
140
- - lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
219
+ - lib/rex/post/meterpreter/extensions/stdapi/net/socket.rb
220
+ - lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/tcp_client_channel.rb
221
+ - lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/tcp_server_channel.rb
222
+ - lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/udp_channel.rb
223
+ - lib/rex/post/meterpreter/extensions/stdapi/railgun/api_constants.rb
224
+ - lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_advapi32.rb
225
+ - lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_iphlpapi.rb
226
+ - lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_kernel32.rb
227
+ - lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_ntdll.rb
228
+ - lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_shell32.rb
229
+ - lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_user32.rb
230
+ - lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_ws2_32.rb
231
+ - lib/rex/post/meterpreter/extensions/stdapi/railgun/model.rb
232
+ - lib/rex/post/meterpreter/extensions/stdapi/railgun/multicall.rb
233
+ - lib/rex/post/meterpreter/extensions/stdapi/railgun/railgun.rb
234
+ - lib/rex/post/meterpreter/extensions/stdapi/railgun/tlv.rb
235
+ - lib/rex/post/meterpreter/extensions/stdapi/stdapi.rb
236
+ - lib/rex/post/meterpreter/extensions/stdapi/sys/config.rb
141
237
  - lib/rex/post/meterpreter/extensions/stdapi/sys/event_log.rb
142
- - lib/rex/post/meterpreter/extensions/stdapi/sys/thread.rb
238
+ - lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
143
239
  - lib/rex/post/meterpreter/extensions/stdapi/sys/power.rb
144
240
  - lib/rex/post/meterpreter/extensions/stdapi/sys/process.rb
145
- - lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem
146
- - lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_value.rb
147
- - lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_key.rb
148
- - lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem
149
241
  - lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/image.rb
150
242
  - lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/io.rb
151
- - lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/thread.rb
152
243
  - lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/memory.rb
153
- - lib/rex/post/meterpreter/extensions/stdapi/sys/config.rb
244
+ - lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/thread.rb
154
245
  - lib/rex/post/meterpreter/extensions/stdapi/sys/registry.rb
155
- - lib/rex/post/meterpreter/extensions/stdapi/fs
156
- - lib/rex/post/meterpreter/extensions/stdapi/fs/dir.rb
157
- - lib/rex/post/meterpreter/extensions/stdapi/fs/io.rb
158
- - lib/rex/post/meterpreter/extensions/stdapi/fs/file_stat.rb
159
- - lib/rex/post/meterpreter/extensions/stdapi/fs/file.rb
160
- - lib/rex/post/meterpreter/extensions/incognito
161
- - lib/rex/post/meterpreter/extensions/incognito/tlv.rb
162
- - lib/rex/post/meterpreter/extensions/incognito/incognito.rb
163
- - lib/rex/post/meterpreter/extensions/sniffer
164
- - lib/rex/post/meterpreter/extensions/sniffer/tlv.rb
165
- - lib/rex/post/meterpreter/extensions/sniffer/sniffer.rb
166
- - lib/rex/post/meterpreter/extensions/railgun
167
- - lib/rex/post/meterpreter/extensions/railgun/railgun.rb
168
- - lib/rex/post/meterpreter/extensions/railgun/def_kernel32.rb
169
- - lib/rex/post/meterpreter/extensions/railgun/api_constants.rb
170
- - lib/rex/post/meterpreter/extensions/railgun/tlv.rb
171
- - lib/rex/post/meterpreter/extensions/railgun/api.rb
172
- - lib/rex/post/meterpreter/channels
173
- - lib/rex/post/meterpreter/channels/stream.rb
174
- - lib/rex/post/meterpreter/channels/pools
175
- - lib/rex/post/meterpreter/channels/pools/file.rb
176
- - lib/rex/post/meterpreter/channels/pools/stream_pool.rb
177
- - lib/rex/post/meterpreter/channels/streams
178
- - lib/rex/post/meterpreter/channels/pool.rb
179
- - lib/rex/post/meterpreter/ui
180
- - lib/rex/post/meterpreter/ui/console
181
- - lib/rex/post/meterpreter/ui/console/command_dispatcher.rb
182
- - lib/rex/post/meterpreter/ui/console/interactive_channel.rb
183
- - lib/rex/post/meterpreter/ui/console/command_dispatcher
184
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb
185
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/espia.rb
186
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
187
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/incognito.rb
188
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/sniffer.rb
189
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
190
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/priv
246
+ - lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_key.rb
247
+ - lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_value.rb
248
+ - lib/rex/post/meterpreter/extensions/stdapi/sys/thread.rb
249
+ - lib/rex/post/meterpreter/extensions/stdapi/tlv.rb
250
+ - lib/rex/post/meterpreter/extensions/stdapi/ui.rb
251
+ - lib/rex/post/meterpreter/inbound_packet_handler.rb
252
+ - lib/rex/post/meterpreter/object_aliases.rb
253
+ - lib/rex/post/meterpreter/packet.rb
254
+ - lib/rex/post/meterpreter/packet_dispatcher.rb
255
+ - lib/rex/post/meterpreter/packet_parser.rb
256
+ - lib/rex/post/meterpreter/packet_response_waiter.rb
257
+ - lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb
258
+ - lib/rex/post/meterpreter/ui/console/command_dispatcher/espia.rb
259
+ - lib/rex/post/meterpreter/ui/console/command_dispatcher/incognito.rb
260
+ - lib/rex/post/meterpreter/ui/console/command_dispatcher/networkpug.rb
261
+ - lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/elevate.rb
191
262
  - lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/passwd.rb
192
263
  - lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/timestomp.rb
193
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/elevate.rb
194
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi
264
+ - lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
265
+ - lib/rex/post/meterpreter/ui/console/command_dispatcher/sniffer.rb
195
266
  - lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb
196
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb
197
267
  - lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/net.rb
198
268
  - lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/sys.rb
199
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/railgun.rb
269
+ - lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb
270
+ - lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
271
+ - lib/rex/post/meterpreter/ui/console/command_dispatcher.rb
272
+ - lib/rex/post/meterpreter/ui/console/interactive_channel.rb
200
273
  - lib/rex/post/meterpreter/ui/console.rb
201
- - lib/rex/post/meterpreter/packet_dispatcher.rb
202
- - lib/rex/post/meterpreter/packet_response_waiter.rb
203
- - lib/rex/post/meterpreter/packet.rb
204
- - lib/rex/post/file.rb
205
- - lib/rex/logging
206
- - lib/rex/logging/log_sink.rb
207
- - lib/rex/logging/log_dispatcher.rb
208
- - lib/rex/logging/sinks
209
- - lib/rex/logging/sinks/stderr.rb
210
- - lib/rex/logging/sinks/flatfile.rb
211
- - lib/rex/mime
212
- - lib/rex/mime/message.rb
213
- - lib/rex/mime/header.rb
214
- - lib/rex/mime/part.rb
215
- - lib/rex/socket
216
- - lib/rex/socket/switch_board.rb
217
- - lib/rex/socket/range_walker.rb
218
- - lib/rex/socket/tcp.rb
274
+ - lib/rex/post/meterpreter.rb
275
+ - lib/rex/post/permission.rb
276
+ - lib/rex/post/process.rb
277
+ - lib/rex/post/thread.rb
278
+ - lib/rex/post/ui.rb
279
+ - lib/rex/post.rb
280
+ - lib/rex/proto/dcerpc/client.rb
281
+ - lib/rex/proto/dcerpc/client.rb.ut.rb
282
+ - lib/rex/proto/dcerpc/exceptions.rb
283
+ - lib/rex/proto/dcerpc/handle.rb
284
+ - lib/rex/proto/dcerpc/handle.rb.ut.rb
285
+ - lib/rex/proto/dcerpc/ndr.rb
286
+ - lib/rex/proto/dcerpc/ndr.rb.ut.rb
287
+ - lib/rex/proto/dcerpc/packet.rb
288
+ - lib/rex/proto/dcerpc/packet.rb.ut.rb
289
+ - lib/rex/proto/dcerpc/response.rb
290
+ - lib/rex/proto/dcerpc/response.rb.ut.rb
291
+ - lib/rex/proto/dcerpc/uuid.rb
292
+ - lib/rex/proto/dcerpc/uuid.rb.ut.rb
293
+ - lib/rex/proto/dcerpc.rb
294
+ - lib/rex/proto/dcerpc.rb.ts.rb
295
+ - lib/rex/proto/dhcp/constants.rb
296
+ - lib/rex/proto/dhcp/server.rb
297
+ - lib/rex/proto/dhcp.rb
298
+ - lib/rex/proto/drda/constants.rb
299
+ - lib/rex/proto/drda/constants.rb.ut.rb
300
+ - lib/rex/proto/drda/packet.rb
301
+ - lib/rex/proto/drda/packet.rb.ut.rb
302
+ - lib/rex/proto/drda/utils.rb
303
+ - lib/rex/proto/drda/utils.rb.ut.rb
304
+ - lib/rex/proto/drda.rb
305
+ - lib/rex/proto/drda.rb.ts.rb
306
+ - lib/rex/proto/http/client.rb
307
+ - lib/rex/proto/http/client.rb.ut.rb
308
+ - lib/rex/proto/http/handler/erb.rb
309
+ - lib/rex/proto/http/handler/erb.rb.ut.rb
310
+ - lib/rex/proto/http/handler/erb.rb.ut.rb.rhtml
311
+ - lib/rex/proto/http/handler/proc.rb
312
+ - lib/rex/proto/http/handler/proc.rb.ut.rb
313
+ - lib/rex/proto/http/handler.rb
314
+ - lib/rex/proto/http/header.rb
315
+ - lib/rex/proto/http/header.rb.ut.rb
316
+ - lib/rex/proto/http/packet.rb
317
+ - lib/rex/proto/http/packet.rb.ut.rb
318
+ - lib/rex/proto/http/request.rb
319
+ - lib/rex/proto/http/request.rb.ut.rb
320
+ - lib/rex/proto/http/response.rb
321
+ - lib/rex/proto/http/response.rb.ut.rb
322
+ - lib/rex/proto/http/server.rb
323
+ - lib/rex/proto/http/server.rb.ut.rb
324
+ - lib/rex/proto/http.rb
325
+ - lib/rex/proto/http.rb.ts.rb
326
+ - lib/rex/proto/proxy/socks4a.rb
327
+ - lib/rex/proto/smb/client.rb
328
+ - lib/rex/proto/smb/client.rb.ut.rb
329
+ - lib/rex/proto/smb/constants.rb
330
+ - lib/rex/proto/smb/constants.rb.ut.rb
331
+ - lib/rex/proto/smb/crypt.rb
332
+ - lib/rex/proto/smb/crypt.rb.ut.rb
333
+ - lib/rex/proto/smb/evasions.rb
334
+ - lib/rex/proto/smb/exceptions.rb
335
+ - lib/rex/proto/smb/simpleclient.rb
336
+ - lib/rex/proto/smb/simpleclient.rb.ut.rb
337
+ - lib/rex/proto/smb/utils.rb
338
+ - lib/rex/proto/smb/utils.rb.ut.rb
339
+ - lib/rex/proto/smb.rb
340
+ - lib/rex/proto/smb.rb.ts.rb
341
+ - lib/rex/proto/sunrpc/client.rb
342
+ - lib/rex/proto/sunrpc.rb
343
+ - lib/rex/proto/tftp/constants.rb
344
+ - lib/rex/proto/tftp/server.rb
345
+ - lib/rex/proto/tftp/server.rb.ut.rb
346
+ - lib/rex/proto/tftp.rb
347
+ - lib/rex/proto.rb
348
+ - lib/rex/proto.rb.ts.rb
349
+ - lib/rex/script/base.rb
350
+ - lib/rex/script/meterpreter.rb
351
+ - lib/rex/script/shell.rb
352
+ - lib/rex/script.rb
353
+ - lib/rex/service.rb
354
+ - lib/rex/service_manager.rb
355
+ - lib/rex/service_manager.rb.ut.rb
356
+ - lib/rex/services/local_relay.rb
357
+ - lib/rex/socket/comm/local.rb
358
+ - lib/rex/socket/comm/local.rb.ut.rb
219
359
  - lib/rex/socket/comm.rb
220
360
  - lib/rex/socket/ip.rb
221
- - lib/rex/socket/ssl_tcp_server.rb
222
361
  - lib/rex/socket/parameters.rb
223
- - lib/rex/socket/tcp.rb.ut.rb
224
- - lib/rex/socket/udp.rb.ut.rb
225
- - lib/rex/socket/ssl_tcp_server.rb.ut.rb
226
- - lib/rex/socket/range_walker.rb.ut.rb
227
362
  - lib/rex/socket/parameters.rb.ut.rb
228
- - lib/rex/socket/subnet_walker.rb.ut.rb
229
- - lib/rex/socket/ssl_tcp.rb.ut.rb
230
- - lib/rex/socket/switch_board.rb.ut.rb
231
- - lib/rex/socket/tcp_server.rb.ut.rb
363
+ - lib/rex/socket/range_walker.rb
364
+ - lib/rex/socket/range_walker.rb.ut.rb
232
365
  - lib/rex/socket/ssl_tcp.rb
366
+ - lib/rex/socket/ssl_tcp.rb.ut.rb
367
+ - lib/rex/socket/ssl_tcp_server.rb
368
+ - lib/rex/socket/ssl_tcp_server.rb.ut.rb
233
369
  - lib/rex/socket/subnet_walker.rb
234
- - lib/rex/socket/comm
235
- - lib/rex/socket/comm/local.rb.ut.rb
236
- - lib/rex/socket/comm/local.rb
370
+ - lib/rex/socket/subnet_walker.rb.ut.rb
371
+ - lib/rex/socket/switch_board.rb
372
+ - lib/rex/socket/switch_board.rb.ut.rb
373
+ - lib/rex/socket/tcp.rb
374
+ - lib/rex/socket/tcp.rb.ut.rb
237
375
  - lib/rex/socket/tcp_server.rb
376
+ - lib/rex/socket/tcp_server.rb.ut.rb
238
377
  - lib/rex/socket/udp.rb
239
- - lib/rex/image_source
240
- - lib/rex/image_source/image_source.rb
241
- - lib/rex/image_source/memory.rb
242
- - lib/rex/image_source/disk.rb
243
- - lib/rex/io
244
- - lib/rex/io/datagram_abstraction.rb
245
- - lib/rex/io/bidirectional_pipe.rb
246
- - lib/rex/io/stream_server.rb
247
- - lib/rex/io/stream.rb
248
- - lib/rex/io/stream_abstraction.rb
249
- - lib/rex/pescan
250
- - lib/rex/pescan/search.rb
251
- - lib/rex/pescan/scanner.rb
252
- - lib/rex/pescan/analyze.rb
253
- - lib/rex/elfparsey
254
- - lib/rex/elfparsey/elfbase.rb
255
- - lib/rex/elfparsey/elf.rb
256
- - lib/rex/elfparsey/exceptions.rb
257
- - lib/rex/ui
378
+ - lib/rex/socket/udp.rb.ut.rb
379
+ - lib/rex/socket.rb
380
+ - lib/rex/socket.rb.ut.rb
381
+ - lib/rex/struct2/c_struct.rb
382
+ - lib/rex/struct2/c_struct_template.rb
383
+ - lib/rex/struct2/constant.rb
384
+ - lib/rex/struct2/element.rb
385
+ - lib/rex/struct2/generic.rb
386
+ - lib/rex/struct2/restraint.rb
387
+ - lib/rex/struct2/s_string.rb
388
+ - lib/rex/struct2/s_struct.rb
389
+ - lib/rex/struct2.rb
390
+ - lib/rex/sync/event.rb
391
+ - lib/rex/sync/read_write_lock.rb
392
+ - lib/rex/sync/ref.rb
393
+ - lib/rex/sync/thread_safe.rb
394
+ - lib/rex/sync.rb
395
+ - lib/rex/test.rb
396
+ - lib/rex/text.rb
397
+ - lib/rex/text.rb.ut.rb
398
+ - lib/rex/time.rb
399
+ - lib/rex/transformer.rb
400
+ - lib/rex/transformer.rb.ut.rb
401
+ - lib/rex/ui/interactive.rb
402
+ - lib/rex/ui/output/none.rb
258
403
  - lib/rex/ui/output.rb
259
404
  - lib/rex/ui/progress_tracker.rb
260
- - lib/rex/ui/output
261
- - lib/rex/ui/output/none.rb
262
- - lib/rex/ui/text
263
- - lib/rex/ui/text/irb_shell.rb
405
+ - lib/rex/ui/subscriber.rb
406
+ - lib/rex/ui/text/color.rb
264
407
  - lib/rex/ui/text/color.rb.ut.rb
265
- - lib/rex/ui/text/input
266
- - lib/rex/ui/text/input/stdio.rb
267
- - lib/rex/ui/text/input/socket.rb
408
+ - lib/rex/ui/text/dispatcher_shell.rb
268
409
  - lib/rex/ui/text/input/buffer.rb
269
410
  - lib/rex/ui/text/input/readline.rb
270
- - lib/rex/ui/text/output
271
- - lib/rex/ui/text/output/stdio.rb
411
+ - lib/rex/ui/text/input/socket.rb
412
+ - lib/rex/ui/text/input/stdio.rb
413
+ - lib/rex/ui/text/input.rb
414
+ - lib/rex/ui/text/irb_shell.rb
272
415
  - lib/rex/ui/text/output/buffer.rb
273
- - lib/rex/ui/text/output/socket.rb
274
416
  - lib/rex/ui/text/output/file.rb
417
+ - lib/rex/ui/text/output/socket.rb
418
+ - lib/rex/ui/text/output/stdio.rb
419
+ - lib/rex/ui/text/output.rb
275
420
  - lib/rex/ui/text/progress_tracker.rb
276
- - lib/rex/ui/text/table.rb.ut.rb
277
421
  - lib/rex/ui/text/progress_tracker.rb.ut.rb
278
422
  - lib/rex/ui/text/shell.rb
279
423
  - lib/rex/ui/text/table.rb
280
- - lib/rex/ui/text/dispatcher_shell.rb
281
- - lib/rex/ui/text/color.rb
282
- - lib/rex/ui/text/input.rb
283
- - lib/rex/ui/text/output.rb
284
- - lib/rex/ui/interactive.rb
285
- - lib/rex/ui/subscriber.rb
286
- - lib/rex/socket.rb.ut.rb
287
- - lib/rex/service_manager.rb.ut.rb
288
- - lib/rex/post.rb
289
- - lib/rex/peparsey.rb
290
- - lib/rex/file.rb.ut.rb
291
- - lib/rex/pescan.rb
292
- - lib/rex/sync.rb
424
+ - lib/rex/ui/text/table.rb.ut.rb
293
425
  - lib/rex/ui.rb
294
- - lib/rex/LICENSE
295
- - lib/rex/service_manager.rb
296
- - lib/rex/transformer.rb.ut.rb
297
- - lib/rex/struct2.rb
298
- - lib/rex/platforms.rb
299
- - lib/rex/test.rb
300
- - lib/rex/mime.rb
301
- - lib/rex/proto.rb.ts.rb
302
- - lib/rex/machparsey.rb
303
- - lib/rex/exceptions.rb.ut.rb
304
- - lib/rex/payloads.rb
305
- - lib/rex/machscan.rb
306
- - lib/rex/codepage.map
307
- - lib/rex/job_container.rb
308
- - lib/rex/logging.rb
309
- - lib/rex/elfparsey.rb
310
- - lib/rex/service.rb
311
- - lib/rex/image_source.rb
312
- - lib/rex/elfscan.rb
313
- - lib/rex/constants.rb
314
- - lib/rex/socket.rb
315
- - lib/rex/time.rb
316
- - lib/rex/exceptions.rb
317
- - lib/rex/transformer.rb
318
- - lib/rex/poly.rb
319
- - lib/rex/ole.rb
426
+ - lib/rex/zip/archive.rb
427
+ - lib/rex/zip/blocks.rb
428
+ - lib/rex/zip/entry.rb
429
+ - lib/rex/zip/samples/comment.rb
430
+ - lib/rex/zip/samples/mkwar.rb
431
+ - lib/rex/zip/samples/mkzip.rb
432
+ - lib/rex/zip/samples/recursive.rb
320
433
  - lib/rex/zip.rb
321
- - lib/rex/arch.rb
322
- - lib/rex/script.rb
323
- - lib/rex/file.rb
324
- - lib/rex/compat.rb
325
- - lib/rex/text.rb
326
- - lib/rex/exploitation
327
- - lib/rex/exploitation/cmdstager.rb
328
- - lib/rex/exploitation/cmdstager
329
- - lib/rex/exploitation/cmdstager/tftp.rb
330
- - lib/rex/exploitation/cmdstager/debug_write.rb
331
- - lib/rex/exploitation/cmdstager/debug_asm.rb
332
- - lib/rex/exploitation/cmdstager/base.rb
333
- - lib/rex/exploitation/cmdstager/vbs.rb
334
- - lib/rex/exploitation/encryptjs.rb
335
- - lib/rex/exploitation/obfuscatejs.rb
336
- - lib/rex/exploitation/opcodedb.rb
337
- - lib/rex/exploitation/seh.rb
338
- - lib/rex/exploitation/egghunter.rb.ut.rb
339
- - lib/rex/exploitation/heaplib.rb
340
- - lib/rex/exploitation/heaplib.js.b64
341
- - lib/rex/exploitation/egghunter.rb
342
- - lib/rex/exploitation/opcodedb.rb.ut.rb
343
- - lib/rex/exploitation/seh.rb.ut.rb
344
- - lib/rex/exploitation/javascriptosdetect.rb
345
- - lib/rex/poly
346
- - lib/rex/poly/register.rb
347
- - lib/rex/poly/block.rb
348
- - lib/rex/poly/register
349
- - lib/rex/poly/register/x86.rb
350
- - lib/rex/encoding
351
- - lib/rex/encoding/xor.rb.ts.rb
352
- - lib/rex/encoding/xor.rb
353
- - lib/rex/encoding/xor
354
- - lib/rex/encoding/xor/generic.rb
355
- - lib/rex/encoding/xor/dword.rb
356
- - lib/rex/encoding/xor/dword_additive.rb.ut.rb
357
- - lib/rex/encoding/xor/byte.rb
358
- - lib/rex/encoding/xor/word.rb.ut.rb
359
- - lib/rex/encoding/xor/generic.rb.ut.rb
360
- - lib/rex/encoding/xor/dword.rb.ut.rb
361
- - lib/rex/encoding/xor/word.rb
362
- - lib/rex/encoding/xor/byte.rb.ut.rb
363
- - lib/rex/encoding/xor/exceptions.rb
364
- - lib/rex/encoding/xor/dword_additive.rb
365
- - lib/rex/encoding/xor/qword.rb
366
- - lib/rex/machparsey
367
- - lib/rex/machparsey/exceptions.rb
368
- - lib/rex/machparsey/machbase.rb
369
- - lib/rex/machparsey/mach.rb
370
- - lib/rex/elfscan
371
- - lib/rex/elfscan/scanner.rb
372
- - lib/rex/elfscan/search.rb
373
- - lib/rex/encoders
374
- - lib/rex/encoders/xor_dword_additive.rb
375
- - lib/rex/encoders/xor_dword_additive.rb.ut.rb
376
- - lib/rex/encoders/xor_dword.rb
377
- - lib/rex/encoder
378
- - lib/rex/encoder/xor.rb
379
- - lib/rex/encoder/xdr.rb
380
- - lib/rex/encoder/ndr.rb
381
- - lib/rex/encoder/nonupper.rb
382
- - lib/rex/encoder/nonalpha.rb
383
- - lib/rex/encoder/alpha2.rb
384
- - lib/rex/encoder/ndr.rb.ut.rb
385
- - lib/rex/encoder/alpha2
386
- - lib/rex/encoder/alpha2/alpha_upper.rb
387
- - lib/rex/encoder/alpha2/generic.rb
388
- - lib/rex/encoder/alpha2/unicode_mixed.rb
389
- - lib/rex/encoder/alpha2/unicode_upper.rb
390
- - lib/rex/encoder/alpha2/alpha_mixed.rb
391
- - lib/rex/encoder/xor
392
- - lib/rex/encoder/xor/dword.rb
393
- - lib/rex/encoder/xor/dword_additive.rb
394
- - lib/rex/encoder/xdr.rb.ut.rb
395
- - lib/rex/payloads
396
- - lib/rex/payloads/win32
397
- - lib/rex/payloads/win32/kernel
398
- - lib/rex/payloads/win32/kernel/stager.rb
399
- - lib/rex/payloads/win32/kernel/recovery.rb
400
- - lib/rex/payloads/win32/kernel/common.rb
401
- - lib/rex/payloads/win32/kernel/migration.rb
402
- - lib/rex/payloads/win32/kernel.rb
403
- - lib/rex/payloads/win32/common.rb
404
- - lib/rex/payloads/win32.rb
405
- - lib/rex/parser
406
- - lib/rex/parser/nmap_xml.rb
407
- - lib/rex/parser/arguments.rb.ut.rb
408
- - lib/rex/parser/ini.rb.ut.rb
409
- - lib/rex/parser/ini.rb
410
- - lib/rex/parser/arguments.rb
411
- - lib/rex/parser/nexpose_xml.rb
412
- - lib/rex/nop
413
- - lib/rex/nop/opty2.rb
414
- - lib/rex/nop/opty2.rb.ut.rb
415
- - lib/rex/nop/opty2_tables.rb
416
- - lib/rex/proto
417
- - lib/rex/proto/smb
418
- - lib/rex/proto/smb/constants.rb
419
- - lib/rex/proto/smb/exceptions.rb
420
- - lib/rex/proto/smb/simpleclient.rb
421
- - lib/rex/proto/smb/utils.rb
422
- - lib/rex/proto/smb/crypt.rb
423
- - lib/rex/proto/smb/constants.rb.ut.rb
424
- - lib/rex/proto/smb/evasions.rb
425
- - lib/rex/proto/smb/utils.rb.ut.rb
426
- - lib/rex/proto/smb/crypt.rb.ut.rb
427
- - lib/rex/proto/smb/simpleclient.rb.ut.rb
428
- - lib/rex/proto/smb/client.rb.ut.rb
429
- - lib/rex/proto/smb/client.rb
430
- - lib/rex/proto/sunrpc
431
- - lib/rex/proto/sunrpc/client.rb
432
- - lib/rex/proto/http
433
- - lib/rex/proto/http/server.rb
434
- - lib/rex/proto/http/header.rb
435
- - lib/rex/proto/http/packet.rb
436
- - lib/rex/proto/http/request.rb
437
- - lib/rex/proto/http/client.rb.ut.rb
438
- - lib/rex/proto/http/client.rb
439
- - lib/rex/proto/http/handler.rb
440
- - lib/rex/proto/http/response.rb
441
- - lib/rex/proto/http/server.rb.ut.rb
442
- - lib/rex/proto/http/packet.rb.ut.rb
443
- - lib/rex/proto/http/header.rb.ut.rb
444
- - lib/rex/proto/http/request.rb.ut.rb
445
- - lib/rex/proto/http/handler
446
- - lib/rex/proto/http/handler/proc.rb
447
- - lib/rex/proto/http/handler/erb.rb.ut.rb
448
- - lib/rex/proto/http/handler/erb.rb.ut.rb.rhtml
449
- - lib/rex/proto/http/handler/proc.rb.ut.rb
450
- - lib/rex/proto/http/handler/erb.rb
451
- - lib/rex/proto/http/response.rb.ut.rb
452
- - lib/rex/proto/dcerpc
453
- - lib/rex/proto/dcerpc/handle.rb
454
- - lib/rex/proto/dcerpc/client.rb.ut.rb
455
- - lib/rex/proto/dcerpc/uuid.rb.ut.rb
456
- - lib/rex/proto/dcerpc/packet.rb.ut.rb
457
- - lib/rex/proto/dcerpc/exceptions.rb
458
- - lib/rex/proto/dcerpc/ndr.rb
459
- - lib/rex/proto/dcerpc/handle.rb.ut.rb
460
- - lib/rex/proto/dcerpc/uuid.rb
461
- - lib/rex/proto/dcerpc/packet.rb
462
- - lib/rex/proto/dcerpc/response.rb.ut.rb
463
- - lib/rex/proto/dcerpc/ndr.rb.ut.rb
464
- - lib/rex/proto/dcerpc/client.rb
465
- - lib/rex/proto/dcerpc/response.rb
466
- - lib/rex/proto/http.rb
467
- - lib/rex/proto/dcerpc.rb
468
- - lib/rex/proto/smb.rb
469
- - lib/rex/proto/http.rb.ts.rb
470
- - lib/rex/proto/dcerpc.rb.ts.rb
471
- - lib/rex/proto/smb.rb.ts.rb
472
- - lib/rex/proto/sunrpc.rb
473
- - lib/rex/proto/drda
474
- - lib/rex/proto/drda/packet.rb.ut.rb
475
- - lib/rex/proto/drda/utils.rb
476
- - lib/rex/proto/drda/constants.rb.ut.rb
477
- - lib/rex/proto/drda/packet.rb
478
- - lib/rex/proto/drda/utils.rb.ut.rb
479
- - lib/rex/proto/drda/constants.rb
480
- - lib/rex/proto/drda.rb.ts.rb
481
- - lib/rex/proto/drda.rb
482
- - lib/rex/proto/tftp
483
- - lib/rex/proto/tftp/constants.rb
484
- - lib/rex/proto/tftp/server.rb.ut.rb
485
- - lib/rex/proto/tftp/server.rb
486
- - lib/rex/proto/tftp.rb
487
- - lib/rex/proto.rb
488
434
  - lib/rex.rb
489
435
  - lib/rex.rb.ts.rb
490
436
  has_rdoc: false
491
437
  homepage: http://www.metasploit.com/
438
+ licenses: []
439
+
492
440
  post_install_message:
493
441
  rdoc_options: []
494
442
 
495
443
  require_paths:
496
444
  - lib
497
445
  required_ruby_version: !ruby/object:Gem::Requirement
446
+ none: false
498
447
  requirements:
499
448
  - - ">="
500
449
  - !ruby/object:Gem::Version
450
+ hash: 57
451
+ segments:
452
+ - 1
453
+ - 8
454
+ - 7
501
455
  version: 1.8.7
502
- version:
503
456
  required_rubygems_version: !ruby/object:Gem::Requirement
457
+ none: false
504
458
  requirements:
505
459
  - - ">="
506
460
  - !ruby/object:Gem::Version
461
+ hash: 3
462
+ segments:
463
+ - 0
507
464
  version: "0"
508
- version:
509
465
  requirements: []
510
466
 
511
467
  rubyforge_project:
512
- rubygems_version: 1.3.1
468
+ rubygems_version: 1.3.7
513
469
  signing_key:
514
- specification_version: 2
470
+ specification_version: 3
515
471
  summary: Ruby Exploitation library
516
472
  test_files: []
517
473