librex 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (376) hide show
  1. data/README +0 -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 +0 -0
  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 +0 -0
  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 +0 -0
  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 +0 -0
  61. data/lib/rex/exploitation/cmdstager/vbs.rb +0 -0
  62. data/lib/rex/exploitation/egghunter.rb +0 -0
  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 +2 -2
  68. data/lib/rex/exploitation/obfuscatejs.rb +0 -0
  69. data/lib/rex/exploitation/opcodedb.rb +0 -0
  70. data/lib/rex/exploitation/opcodedb.rb.ut.rb +0 -0
  71. data/lib/rex/exploitation/seh.rb +0 -0
  72. data/lib/rex/exploitation/seh.rb.ut.rb +0 -0
  73. data/lib/rex/file.rb +0 -0
  74. data/lib/rex/file.rb.ut.rb +0 -0
  75. data/lib/rex/image_source.rb +0 -0
  76. data/lib/rex/image_source/disk.rb +0 -0
  77. data/lib/rex/image_source/image_source.rb +0 -0
  78. data/lib/rex/image_source/memory.rb +0 -0
  79. data/lib/rex/io/bidirectional_pipe.rb +0 -0
  80. data/lib/rex/io/datagram_abstraction.rb +0 -0
  81. data/lib/rex/io/stream.rb +13 -15
  82. data/lib/rex/io/stream_abstraction.rb +0 -0
  83. data/lib/rex/io/stream_server.rb +0 -0
  84. data/lib/rex/job_container.rb +10 -25
  85. data/lib/rex/logging.rb +0 -0
  86. data/lib/rex/logging/log_dispatcher.rb +0 -0
  87. data/lib/rex/logging/log_sink.rb +0 -0
  88. data/lib/rex/logging/sinks/flatfile.rb +0 -0
  89. data/lib/rex/logging/sinks/stderr.rb +0 -0
  90. data/lib/rex/machparsey.rb +0 -0
  91. data/lib/rex/machparsey/exceptions.rb +0 -0
  92. data/lib/rex/machparsey/mach.rb +1 -1
  93. data/lib/rex/machparsey/machbase.rb +0 -0
  94. data/lib/rex/machscan.rb +0 -0
  95. data/lib/rex/machscan/scanner.rb +0 -0
  96. data/lib/rex/mime.rb +0 -0
  97. data/lib/rex/mime/header.rb +0 -0
  98. data/lib/rex/mime/message.rb +0 -0
  99. data/lib/rex/mime/part.rb +0 -0
  100. data/lib/rex/nop/opty2.rb +0 -0
  101. data/lib/rex/nop/opty2.rb.ut.rb +0 -0
  102. data/lib/rex/nop/opty2_tables.rb +0 -0
  103. data/lib/rex/ole.rb +0 -0
  104. data/lib/rex/ole/clsid.rb +0 -0
  105. data/lib/rex/ole/difat.rb +0 -0
  106. data/lib/rex/ole/directory.rb +0 -0
  107. data/lib/rex/ole/direntry.rb +0 -0
  108. data/lib/rex/ole/fat.rb +0 -0
  109. data/lib/rex/ole/header.rb +0 -0
  110. data/lib/rex/ole/minifat.rb +0 -0
  111. data/lib/rex/ole/storage.rb +0 -0
  112. data/lib/rex/ole/stream.rb +0 -0
  113. data/lib/rex/ole/substorage.rb +0 -0
  114. data/lib/rex/ole/util.rb +0 -0
  115. data/lib/rex/parser/arguments.rb +0 -0
  116. data/lib/rex/parser/arguments.rb.ut.rb +0 -0
  117. data/lib/rex/parser/ini.rb +0 -0
  118. data/lib/rex/parser/ini.rb.ut.rb +0 -0
  119. data/lib/rex/parser/nexpose_xml.rb +0 -0
  120. data/lib/rex/parser/nmap_xml.rb +0 -0
  121. data/lib/rex/payloads.rb +0 -0
  122. data/lib/rex/payloads/win32.rb +0 -0
  123. data/lib/rex/payloads/win32/common.rb +0 -0
  124. data/lib/rex/payloads/win32/kernel.rb +0 -0
  125. data/lib/rex/payloads/win32/kernel/common.rb +0 -0
  126. data/lib/rex/payloads/win32/kernel/migration.rb +0 -0
  127. data/lib/rex/payloads/win32/kernel/recovery.rb +0 -0
  128. data/lib/rex/payloads/win32/kernel/stager.rb +26 -3
  129. data/lib/rex/peparsey.rb +0 -0
  130. data/lib/rex/peparsey/exceptions.rb +0 -0
  131. data/lib/rex/peparsey/pe.rb +0 -0
  132. data/lib/rex/peparsey/pe_memdump.rb +0 -0
  133. data/lib/rex/peparsey/pebase.rb +0 -0
  134. data/lib/rex/peparsey/section.rb +0 -0
  135. data/lib/rex/pescan.rb +0 -0
  136. data/lib/rex/pescan/analyze.rb +0 -0
  137. data/lib/rex/pescan/scanner.rb +0 -0
  138. data/lib/rex/pescan/search.rb +0 -0
  139. data/lib/rex/platforms.rb +0 -0
  140. data/lib/rex/platforms/windows.rb +0 -0
  141. data/lib/rex/poly.rb +0 -0
  142. data/lib/rex/poly/block.rb +0 -0
  143. data/lib/rex/poly/register.rb +0 -0
  144. data/lib/rex/poly/register/x86.rb +0 -0
  145. data/lib/rex/post.rb +0 -0
  146. data/lib/rex/post/dir.rb +0 -0
  147. data/lib/rex/post/file.rb +0 -0
  148. data/lib/rex/post/file_stat.rb +0 -0
  149. data/lib/rex/post/gen.pl +0 -0
  150. data/lib/rex/post/io.rb +0 -0
  151. data/lib/rex/post/meterpreter.rb +0 -0
  152. data/lib/rex/post/meterpreter/channel.rb +0 -0
  153. data/lib/rex/post/meterpreter/channel_container.rb +0 -0
  154. data/lib/rex/post/meterpreter/channels/pool.rb +0 -0
  155. data/lib/rex/post/meterpreter/channels/pools/file.rb +0 -0
  156. data/lib/rex/post/meterpreter/channels/pools/stream_pool.rb +0 -0
  157. data/lib/rex/post/meterpreter/channels/stream.rb +0 -0
  158. data/lib/rex/post/meterpreter/client.rb +0 -0
  159. data/lib/rex/post/meterpreter/client_core.rb +0 -0
  160. data/lib/rex/post/meterpreter/dependencies.rb +0 -0
  161. data/lib/rex/post/meterpreter/extension.rb +0 -0
  162. data/lib/rex/post/meterpreter/extensions/espia/espia.rb +0 -0
  163. data/lib/rex/post/meterpreter/extensions/espia/tlv.rb +0 -0
  164. data/lib/rex/post/meterpreter/extensions/incognito/incognito.rb +0 -0
  165. data/lib/rex/post/meterpreter/extensions/incognito/tlv.rb +0 -0
  166. data/lib/rex/post/meterpreter/extensions/priv/fs.rb +0 -0
  167. data/lib/rex/post/meterpreter/extensions/priv/passwd.rb +0 -0
  168. data/lib/rex/post/meterpreter/extensions/priv/priv.rb +0 -0
  169. data/lib/rex/post/meterpreter/extensions/priv/tlv.rb +0 -0
  170. data/lib/rex/post/meterpreter/extensions/railgun/api.rb +9303 -0
  171. data/lib/rex/post/meterpreter/extensions/railgun/api_constants.rb +38105 -0
  172. data/lib/rex/post/meterpreter/extensions/railgun/def_kernel32.rb +3678 -0
  173. data/lib/rex/post/meterpreter/extensions/railgun/railgun.rb +815 -0
  174. data/lib/rex/post/meterpreter/extensions/railgun/tlv.rb +54 -0
  175. data/lib/rex/post/meterpreter/extensions/sniffer/sniffer.rb +0 -0
  176. data/lib/rex/post/meterpreter/extensions/sniffer/tlv.rb +0 -0
  177. data/lib/rex/post/meterpreter/extensions/stdapi/constants.rb +0 -0
  178. data/lib/rex/post/meterpreter/extensions/stdapi/fs/dir.rb +0 -0
  179. data/lib/rex/post/meterpreter/extensions/stdapi/fs/file.rb +0 -0
  180. data/lib/rex/post/meterpreter/extensions/stdapi/fs/file_stat.rb +0 -0
  181. data/lib/rex/post/meterpreter/extensions/stdapi/fs/io.rb +0 -0
  182. data/lib/rex/post/meterpreter/extensions/stdapi/net/config.rb +0 -0
  183. data/lib/rex/post/meterpreter/extensions/stdapi/net/interface.rb +0 -0
  184. data/lib/rex/post/meterpreter/extensions/stdapi/net/route.rb +0 -0
  185. data/lib/rex/post/meterpreter/extensions/stdapi/net/socket.rb +7 -7
  186. data/lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/tcp_client_channel.rb +21 -8
  187. data/lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/tcp_server_channel.rb +0 -0
  188. data/lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/udp_channel.rb +33 -17
  189. data/lib/rex/post/meterpreter/extensions/stdapi/stdapi.rb +0 -0
  190. data/lib/rex/post/meterpreter/extensions/stdapi/sys/config.rb +0 -0
  191. data/lib/rex/post/meterpreter/extensions/stdapi/sys/event_log.rb +0 -0
  192. data/lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb +0 -0
  193. data/lib/rex/post/meterpreter/extensions/stdapi/sys/power.rb +0 -0
  194. data/lib/rex/post/meterpreter/extensions/stdapi/sys/process.rb +0 -0
  195. data/lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/image.rb +0 -0
  196. data/lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/io.rb +0 -0
  197. data/lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/memory.rb +0 -0
  198. data/lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/thread.rb +0 -0
  199. data/lib/rex/post/meterpreter/extensions/stdapi/sys/registry.rb +0 -0
  200. data/lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_key.rb +0 -0
  201. data/lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_value.rb +0 -0
  202. data/lib/rex/post/meterpreter/extensions/stdapi/sys/thread.rb +0 -0
  203. data/lib/rex/post/meterpreter/extensions/stdapi/tlv.rb +0 -0
  204. data/lib/rex/post/meterpreter/extensions/stdapi/ui.rb +0 -0
  205. data/lib/rex/post/meterpreter/inbound_packet_handler.rb +0 -0
  206. data/lib/rex/post/meterpreter/object_aliases.rb +0 -0
  207. data/lib/rex/post/meterpreter/packet.rb +0 -0
  208. data/lib/rex/post/meterpreter/packet_dispatcher.rb +0 -0
  209. data/lib/rex/post/meterpreter/packet_parser.rb +0 -0
  210. data/lib/rex/post/meterpreter/packet_response_waiter.rb +0 -0
  211. data/lib/rex/post/meterpreter/ui/console.rb +0 -0
  212. data/lib/rex/post/meterpreter/ui/console/command_dispatcher.rb +0 -0
  213. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb +0 -0
  214. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/espia.rb +0 -0
  215. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/incognito.rb +0 -0
  216. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb +0 -0
  217. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/elevate.rb +0 -0
  218. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/passwd.rb +0 -0
  219. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/timestomp.rb +0 -0
  220. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/railgun.rb +57 -0
  221. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/sniffer.rb +0 -0
  222. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb +0 -0
  223. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb +0 -0
  224. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/net.rb +0 -0
  225. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/sys.rb +0 -0
  226. data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb +0 -0
  227. data/lib/rex/post/meterpreter/ui/console/interactive_channel.rb +0 -0
  228. data/lib/rex/post/permission.rb +0 -0
  229. data/lib/rex/post/process.rb +0 -0
  230. data/lib/rex/post/thread.rb +0 -0
  231. data/lib/rex/post/ui.rb +0 -0
  232. data/lib/rex/proto.rb +0 -0
  233. data/lib/rex/proto.rb.ts.rb +0 -0
  234. data/lib/rex/proto/dcerpc.rb +0 -0
  235. data/lib/rex/proto/dcerpc.rb.ts.rb +0 -0
  236. data/lib/rex/proto/dcerpc/client.rb +45 -44
  237. data/lib/rex/proto/dcerpc/exceptions.rb +0 -0
  238. data/lib/rex/proto/dcerpc/handle.rb +0 -0
  239. data/lib/rex/proto/dcerpc/handle.rb.ut.rb +0 -0
  240. data/lib/rex/proto/dcerpc/ndr.rb +0 -0
  241. data/lib/rex/proto/dcerpc/ndr.rb.ut.rb +0 -0
  242. data/lib/rex/proto/dcerpc/packet.rb +0 -0
  243. data/lib/rex/proto/dcerpc/packet.rb.ut.rb +0 -0
  244. data/lib/rex/proto/dcerpc/response.rb +32 -31
  245. data/lib/rex/proto/dcerpc/response.rb.ut.rb +0 -0
  246. data/lib/rex/proto/dcerpc/uuid.rb +0 -0
  247. data/lib/rex/proto/dcerpc/uuid.rb.ut.rb +0 -0
  248. data/lib/rex/proto/drda.rb +0 -0
  249. data/lib/rex/proto/drda.rb.ts.rb +0 -0
  250. data/lib/rex/proto/drda/constants.rb +0 -0
  251. data/lib/rex/proto/drda/constants.rb.ut.rb +0 -0
  252. data/lib/rex/proto/drda/packet.rb +0 -0
  253. data/lib/rex/proto/drda/packet.rb.ut.rb +0 -0
  254. data/lib/rex/proto/drda/utils.rb +0 -0
  255. data/lib/rex/proto/drda/utils.rb.ut.rb +0 -0
  256. data/lib/rex/proto/http.rb +0 -0
  257. data/lib/rex/proto/http.rb.ts.rb +0 -0
  258. data/lib/rex/proto/http/client.rb +1 -1
  259. data/lib/rex/proto/http/client.rb.ut.rb +0 -0
  260. data/lib/rex/proto/http/handler.rb +0 -0
  261. data/lib/rex/proto/http/handler/erb.rb +0 -0
  262. data/lib/rex/proto/http/handler/erb.rb.ut.rb +0 -0
  263. data/lib/rex/proto/http/handler/erb.rb.ut.rb.rhtml +0 -0
  264. data/lib/rex/proto/http/handler/proc.rb +0 -0
  265. data/lib/rex/proto/http/handler/proc.rb.ut.rb +0 -0
  266. data/lib/rex/proto/http/header.rb +0 -0
  267. data/lib/rex/proto/http/header.rb.ut.rb +0 -0
  268. data/lib/rex/proto/http/packet.rb +0 -0
  269. data/lib/rex/proto/http/packet.rb.ut.rb +0 -0
  270. data/lib/rex/proto/http/request.rb +0 -0
  271. data/lib/rex/proto/http/request.rb.ut.rb +0 -0
  272. data/lib/rex/proto/http/response.rb +0 -0
  273. data/lib/rex/proto/http/response.rb.ut.rb +0 -0
  274. data/lib/rex/proto/http/server.rb +0 -0
  275. data/lib/rex/proto/http/server.rb.ut.rb +0 -0
  276. data/lib/rex/proto/smb.rb +0 -0
  277. data/lib/rex/proto/smb.rb.ts.rb +0 -0
  278. data/lib/rex/proto/smb/client.rb +1 -1
  279. data/lib/rex/proto/smb/client.rb.ut.rb +0 -0
  280. data/lib/rex/proto/smb/constants.rb +0 -0
  281. data/lib/rex/proto/smb/constants.rb.ut.rb +0 -0
  282. data/lib/rex/proto/smb/crypt.rb +0 -0
  283. data/lib/rex/proto/smb/crypt.rb.ut.rb +0 -0
  284. data/lib/rex/proto/smb/evasions.rb +18 -17
  285. data/lib/rex/proto/smb/exceptions.rb +0 -0
  286. data/lib/rex/proto/smb/simpleclient.rb +0 -0
  287. data/lib/rex/proto/smb/simpleclient.rb.ut.rb +0 -0
  288. data/lib/rex/proto/smb/utils.rb +0 -0
  289. data/lib/rex/proto/smb/utils.rb.ut.rb +0 -0
  290. data/lib/rex/proto/sunrpc.rb +0 -0
  291. data/lib/rex/proto/sunrpc/client.rb +0 -0
  292. data/lib/rex/proto/tftp.rb +0 -0
  293. data/lib/rex/proto/tftp/constants.rb +0 -0
  294. data/lib/rex/proto/tftp/server.rb +212 -37
  295. data/lib/rex/script.rb +0 -0
  296. data/lib/rex/script/base.rb +0 -0
  297. data/lib/rex/script/meterpreter.rb +0 -0
  298. data/lib/rex/script/shell.rb +0 -0
  299. data/lib/rex/service.rb +0 -0
  300. data/lib/rex/service_manager.rb +0 -0
  301. data/lib/rex/service_manager.rb.ut.rb +0 -0
  302. data/lib/rex/services/local_relay.rb +0 -0
  303. data/lib/rex/socket.rb +25 -0
  304. data/lib/rex/socket.rb.ut.rb +0 -0
  305. data/lib/rex/socket/comm.rb +0 -0
  306. data/lib/rex/socket/comm/local.rb +0 -0
  307. data/lib/rex/socket/comm/local.rb.ut.rb +0 -0
  308. data/lib/rex/socket/ip.rb +0 -0
  309. data/lib/rex/socket/parameters.rb +0 -0
  310. data/lib/rex/socket/parameters.rb.ut.rb +0 -0
  311. data/lib/rex/socket/range_walker.rb +0 -0
  312. data/lib/rex/socket/range_walker.rb.ut.rb +0 -0
  313. data/lib/rex/socket/ssl_tcp.rb +0 -0
  314. data/lib/rex/socket/ssl_tcp.rb.ut.rb +0 -0
  315. data/lib/rex/socket/ssl_tcp_server.rb +0 -0
  316. data/lib/rex/socket/ssl_tcp_server.rb.ut.rb +0 -0
  317. data/lib/rex/socket/subnet_walker.rb +0 -0
  318. data/lib/rex/socket/subnet_walker.rb.ut.rb +0 -0
  319. data/lib/rex/socket/switch_board.rb +11 -5
  320. data/lib/rex/socket/switch_board.rb.ut.rb +0 -0
  321. data/lib/rex/socket/tcp.rb +0 -0
  322. data/lib/rex/socket/tcp.rb.ut.rb +0 -0
  323. data/lib/rex/socket/tcp_server.rb +0 -0
  324. data/lib/rex/socket/tcp_server.rb.ut.rb +0 -0
  325. data/lib/rex/socket/udp.rb +0 -0
  326. data/lib/rex/socket/udp.rb.ut.rb +0 -0
  327. data/lib/rex/struct2.rb +0 -0
  328. data/lib/rex/struct2/c_struct.rb +0 -0
  329. data/lib/rex/struct2/c_struct_template.rb +0 -0
  330. data/lib/rex/struct2/constant.rb +0 -0
  331. data/lib/rex/struct2/element.rb +0 -0
  332. data/lib/rex/struct2/generic.rb +0 -0
  333. data/lib/rex/struct2/restraint.rb +0 -0
  334. data/lib/rex/struct2/s_string.rb +0 -0
  335. data/lib/rex/struct2/s_struct.rb +0 -0
  336. data/lib/rex/sync.rb +0 -0
  337. data/lib/rex/sync/event.rb +0 -0
  338. data/lib/rex/sync/read_write_lock.rb +0 -0
  339. data/lib/rex/sync/ref.rb +0 -0
  340. data/lib/rex/sync/thread_safe.rb +0 -0
  341. data/lib/rex/test.rb +0 -0
  342. data/lib/rex/text.rb +15 -4
  343. data/lib/rex/text.rb.ut.rb +3 -0
  344. data/lib/rex/time.rb +0 -0
  345. data/lib/rex/transformer.rb +0 -0
  346. data/lib/rex/transformer.rb.ut.rb +0 -0
  347. data/lib/rex/ui.rb +0 -0
  348. data/lib/rex/ui/interactive.rb +0 -0
  349. data/lib/rex/ui/output.rb +0 -0
  350. data/lib/rex/ui/output/none.rb +0 -0
  351. data/lib/rex/ui/progress_tracker.rb +0 -0
  352. data/lib/rex/ui/subscriber.rb +0 -0
  353. data/lib/rex/ui/text/color.rb +0 -0
  354. data/lib/rex/ui/text/color.rb.ut.rb +0 -0
  355. data/lib/rex/ui/text/dispatcher_shell.rb +0 -0
  356. data/lib/rex/ui/text/input.rb +0 -0
  357. data/lib/rex/ui/text/input/buffer.rb +0 -0
  358. data/lib/rex/ui/text/input/readline.rb +0 -0
  359. data/lib/rex/ui/text/input/socket.rb +0 -0
  360. data/lib/rex/ui/text/input/stdio.rb +0 -0
  361. data/lib/rex/ui/text/irb_shell.rb +0 -0
  362. data/lib/rex/ui/text/output.rb +0 -0
  363. data/lib/rex/ui/text/output/buffer.rb +0 -0
  364. data/lib/rex/ui/text/output/file.rb +0 -0
  365. data/lib/rex/ui/text/output/socket.rb +0 -0
  366. data/lib/rex/ui/text/output/stdio.rb +0 -0
  367. data/lib/rex/ui/text/progress_tracker.rb +0 -0
  368. data/lib/rex/ui/text/progress_tracker.rb.ut.rb +0 -0
  369. data/lib/rex/ui/text/shell.rb +0 -0
  370. data/lib/rex/ui/text/table.rb +0 -0
  371. data/lib/rex/ui/text/table.rb.ut.rb +0 -0
  372. data/lib/rex/zip.rb +0 -0
  373. data/lib/rex/zip/archive.rb +0 -0
  374. data/lib/rex/zip/blocks.rb +0 -0
  375. data/lib/rex/zip/entry.rb +0 -0
  376. metadata +414 -347
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -201,6 +201,31 @@ module Socket
201
201
  addr_ntoi(resolv_nbo(host))
202
202
  end
203
203
 
204
+ #
205
+ # Converts an ASCII IP address to a CIDR mask. Returns
206
+ # nil if it's not convertable.
207
+ #
208
+ def self.addr_atoc(mask)
209
+ mask_i = resolv_nbo_i(mask)
210
+ cidr = nil
211
+ 0.upto(32) do |i|
212
+ if ((1 << i)-1) << (32-i) == mask_i
213
+ cidr = i
214
+ break
215
+ end
216
+ end
217
+ return cidr
218
+ end
219
+
220
+ #
221
+ # Resolves a CIDR bitmask into a dotted-quad. Returns
222
+ # nil if it's not convertable.
223
+ #
224
+ def self.addr_ctoa(cidr)
225
+ return nil unless (0..32) === cidr.to_i
226
+ addr_itoa(((1 << cidr)-1) << 32-cidr)
227
+ end
228
+
204
229
  #
205
230
  # Resolves a host to a dotted address.
206
231
  #
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
@@ -25,7 +25,7 @@ class SwitchBoard
25
25
  def initialize
26
26
  @_initialized = false
27
27
  end
28
-
28
+
29
29
  ###
30
30
  #
31
31
  # This class represents a logical switch board route.
@@ -74,7 +74,10 @@ class SwitchBoard
74
74
  # instance.
75
75
  #
76
76
  def self.add_route(subnet, mask, comm)
77
- self.instance.add_route(subnet, mask, comm)
77
+ ret = self.instance.add_route(subnet, mask, comm)
78
+ if ret && comm.respond_to?(:routes) && comm.routes.kind_of?(Array)
79
+ comm.routes << "#{subnet}/#{mask}"
80
+ end
78
81
  end
79
82
 
80
83
  #
@@ -82,14 +85,17 @@ class SwitchBoard
82
85
  # subnet routing through the supplied Comm instance.
83
86
  #
84
87
  def self.remove_route(subnet, mask, comm)
85
- self.instance.remove_route(subnet, mask, comm)
88
+ ret = self.instance.remove_route(subnet, mask, comm)
89
+ if ret && comm.respond_to?(:routes) && comm.routes.kind_of?(Array)
90
+ comm.routes.delete "#{subnet}/#{mask}"
91
+ end
86
92
  end
87
93
 
88
94
  #
89
95
  # Flush all the routes from the switch board routing table.
90
96
  #
91
97
  def self.flush_routes
92
- self.instance.flush_routes
98
+ ret = self.instance.flush_routes
93
99
  end
94
100
 
95
101
  #
@@ -223,7 +229,7 @@ class SwitchBoard
223
229
  if (route.bitmask >= msb)
224
230
  comm = route.comm
225
231
  msb = route.bitmask
226
- end
232
+ end
227
233
  end
228
234
  }
229
235
 
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
@@ -39,7 +39,7 @@ module Text
39
39
  AllChars = [*(0x00 .. 0xff)].pack("C*")
40
40
 
41
41
  DefaultPatternSets = [ Rex::Text::UpperAlpha, Rex::Text::LowerAlpha, Rex::Text::Numerals ]
42
-
42
+
43
43
  # In case Iconv isn't loaded
44
44
  Iconv_EBCDIC = ["\x00", "\x01", "\x02", "\x03", "7", "-", ".", "/", "\x16", "\x05", "%", "\v", "\f", "\r", "\x0E", "\x0F", "\x10", "\x11", "\x12", "\x13", "<", "=", "2", "&", "\x18", "\x19", "?", "'", "\x1C", "\x1D", "\x1E", "\x1F", "@", "Z", "\x7F", "{", "[", "l", "P", "}", "M", "]", "\\", "N", "k", "`", "K", "a", "\xF0", "\xF1", "\xF2", "\xF3", "\xF4", "\xF5", "\xF6", "\xF7", "\xF8", "\xF9", "z", "^", "L", "~", "n", "o", "|", "\xC1", "\xC2", "\xC3", "\xC4", "\xC5", "\xC6", "\xC7", "\xC8", "\xC9", "\xD1", "\xD2", "\xD3", "\xD4", "\xD5", "\xD6", "\xD7", "\xD8", "\xD9", "\xE2", "\xE3", "\xE4", "\xE5", "\xE6", "\xE7", "\xE8", "\xE9", nil, "\xE0", nil, nil, "m", "y", "\x81", "\x82", "\x83", "\x84", "\x85", "\x86", "\x87", "\x88", "\x89", "\x91", "\x92", "\x93", "\x94", "\x95", "\x96", "\x97", "\x98", "\x99", "\xA2", "\xA3", "\xA4", "\xA5", "\xA6", "\xA7", "\xA8", "\xA9", "\xC0", "O", "\xD0", "\xA1", "\a", nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil]
45
45
  Iconv_ASCII = ["\x00", "\x01", "\x02", "\x03", "\x04", "\x05", "\x06", "\a", "\b", "\t", "\n", "\v", "\f", "\r", "\x0E", "\x0F", "\x10", "\x11", "\x12", "\x13", "\x14", "\x15", "\x16", "\x17", "\x18", "\x19", "\x1A", "\e", "\x1C", "\x1D", "\x1E", "\x1F", " ", "!", "\"", "#", "$", "%", "&", "'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "<", "=", ">", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", nil, "\\", nil, nil, "_", "`", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "{", "|", "}", "~", "\x7F", nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil]
@@ -149,7 +149,7 @@ module Text
149
149
  # Iconv
150
150
  def self.to_ebcdic_rex(str)
151
151
  new_str = []
152
- str.each_byte do |x|
152
+ str.each_byte do |x|
153
153
  if Iconv_ASCII.index(x.chr)
154
154
  new_str << Iconv_EBCDIC[Iconv_ASCII.index(x.chr)]
155
155
  else
@@ -163,7 +163,7 @@ module Text
163
163
  # Iconv
164
164
  def self.from_ebcdic_rex(str)
165
165
  new_str = []
166
- str.each_byte do |x|
166
+ str.each_byte do |x|
167
167
  if Iconv_EBCDIC.index(x.chr)
168
168
  new_str << Iconv_ASCII[Iconv_EBCDIC.index(x.chr)]
169
169
  else
@@ -231,6 +231,17 @@ module Text
231
231
  return str.unpack('H*')[0].gsub(Regexp.new(".{#{count * 2}}", nil, 'n')) { |s| prefix + s }
232
232
  end
233
233
 
234
+ #
235
+ # Returns the string with nonprintable hex characters sanitized to ascii. Similiar to to_hex,
236
+ # but regular ASCII is not translated if count is 1.
237
+ #
238
+ def self.to_hex_ascii(str, prefix = "\\x", count = 1)
239
+ raise ::RuntimeError, "unable to chunk into #{count} byte chunks" if ((str.length % count) > 0)
240
+ return str.unpack('H*')[0].gsub(Regexp.new(".{#{count * 2}}", nil, 'n')) { |s|
241
+ (0x20..0x7e) === s.to_i(16) ? s.to_i(16).chr : prefix + s
242
+ }
243
+ end
244
+
234
245
  #
235
246
  # Converts standard ASCII text to a unicode string.
236
247
  #
@@ -661,7 +672,7 @@ module Text
661
672
  # Base text generator method
662
673
  def self.rand_base(len, bad, *foo)
663
674
  cset = (foo.join.unpack("C*") - bad.to_s.unpack("C*")).uniq
664
- return if cset.length == 0
675
+ return "" if cset.length == 0
665
676
  outp = []
666
677
  len.times { outp << cset[rand(cset.length)] }
667
678
  outp.pack("C*")
@@ -153,6 +153,9 @@ class Rex::Text::UnitTest < Test::Unit::TestCase
153
153
  assert_equal("my $buf = \n\"\\x00\\x01\\x02\\x03\" .\n\"\\x04\\x05\\x06\\x07\" .\n\"\\x08\\x09\\x0a\\x0b\" .\n\"\\x0c\\x0d\\x0e\\x0f\" .\n\"\\x10\\x11\\x12\\x13\";\n", Rex::Text.to_perl(str, 20), 'to_perl with wrap')
154
154
  assert_equal("unsigned char buf[] = \n\"\\x00\\x01\\x02\\x03\\x04\"\n\"\\x05\\x06\\x07\\x08\\x09\"\n\"\\x0a\\x0b\\x0c\\x0d\\x0e\"\n\"\\x0f\\x10\\x11\\x12\\x13\";\n", Rex::Text.to_c(str, 20, "buf"), 'to_c with wrap')
155
155
  assert_equal("\\x0a", Rex::Text.to_hex("\n"), 'to_hex newline')
156
+
157
+ str = "\x05Hello\x06World!\x03\x41\x42\x43"
158
+ assert_equal("\\x05Hello\\x06World!\\x03ABC", Rex::Text.to_hex_ascii(str))
156
159
  end
157
160
 
158
161
  def test_wordwrap
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,13 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: librex
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 0
9
- - 3
10
- version: 0.0.3
4
+ version: 0.0.4
11
5
  platform: ruby
12
6
  authors:
13
7
  - Metasploit Development Team
@@ -16,11 +10,11 @@ autorequire:
16
10
  bindir: bin
17
11
  cert_chain: []
18
12
 
19
- date: 2010-06-25 00:00:00 -05:00
13
+ date: 2010-07-20 00:00:00 -05:00
20
14
  default_executable:
21
15
  dependencies: []
22
16
 
23
- description: Rex provides a variety of classes useful for security testing and exploit development. Based on svn revision 9625
17
+ description: Rex provides a variety of classes useful for security testing and exploit development. Based on svn revision 9886
24
18
  email:
25
19
  - hdm@metasploit.com
26
20
  - jacob.hammack@hammackj.com
@@ -32,419 +26,492 @@ extra_rdoc_files:
32
26
  - README
33
27
  files:
34
28
  - README
35
- - lib/rex/LICENSE
36
- - lib/rex/arch/sparc.rb
37
- - lib/rex/arch/sparc.rb.ut.rb
38
- - lib/rex/arch/x86.rb
39
- - lib/rex/arch/x86.rb.ut.rb
40
- - lib/rex/arch.rb
41
- - lib/rex/assembly/nasm.rb
42
- - lib/rex/assembly/nasm.rb.ut.rb
43
- - lib/rex/codepage.map
44
- - lib/rex/compat.rb
45
- - lib/rex/constants.rb
46
- - lib/rex/elfparsey/elf.rb
47
- - lib/rex/elfparsey/elfbase.rb
48
- - lib/rex/elfparsey/exceptions.rb
49
- - lib/rex/elfparsey.rb
50
- - lib/rex/elfscan/scanner.rb
51
- - lib/rex/elfscan/search.rb
52
- - lib/rex/elfscan.rb
53
- - lib/rex/encoder/alpha2/alpha_mixed.rb
54
- - lib/rex/encoder/alpha2/alpha_upper.rb
55
- - lib/rex/encoder/alpha2/generic.rb
56
- - lib/rex/encoder/alpha2/unicode_mixed.rb
57
- - lib/rex/encoder/alpha2/unicode_upper.rb
58
- - lib/rex/encoder/alpha2.rb
59
- - lib/rex/encoder/ndr.rb
60
- - lib/rex/encoder/ndr.rb.ut.rb
61
- - lib/rex/encoder/nonalpha.rb
62
- - lib/rex/encoder/nonupper.rb
63
- - lib/rex/encoder/xdr.rb
64
- - lib/rex/encoder/xdr.rb.ut.rb
65
- - lib/rex/encoder/xor/dword.rb
66
- - lib/rex/encoder/xor/dword_additive.rb
67
- - lib/rex/encoder/xor.rb
68
- - lib/rex/encoders/xor_dword.rb
69
- - lib/rex/encoders/xor_dword_additive.rb
70
- - lib/rex/encoders/xor_dword_additive.rb.ut.rb
71
- - lib/rex/encoding/xor/byte.rb
72
- - lib/rex/encoding/xor/byte.rb.ut.rb
73
- - lib/rex/encoding/xor/dword.rb
74
- - lib/rex/encoding/xor/dword.rb.ut.rb
75
- - lib/rex/encoding/xor/dword_additive.rb
76
- - lib/rex/encoding/xor/dword_additive.rb.ut.rb
77
- - lib/rex/encoding/xor/exceptions.rb
78
- - lib/rex/encoding/xor/generic.rb
79
- - lib/rex/encoding/xor/generic.rb.ut.rb
80
- - lib/rex/encoding/xor/qword.rb
81
- - lib/rex/encoding/xor/word.rb
82
- - lib/rex/encoding/xor/word.rb.ut.rb
83
- - lib/rex/encoding/xor.rb
84
- - lib/rex/encoding/xor.rb.ts.rb
85
- - lib/rex/exceptions.rb
86
- - lib/rex/exceptions.rb.ut.rb
87
- - lib/rex/exploitation/cmdstager/base.rb
88
- - lib/rex/exploitation/cmdstager/debug_asm.rb
89
- - lib/rex/exploitation/cmdstager/debug_write.rb
90
- - lib/rex/exploitation/cmdstager/tftp.rb
91
- - lib/rex/exploitation/cmdstager/vbs.rb
92
- - lib/rex/exploitation/cmdstager.rb
93
- - lib/rex/exploitation/egghunter.rb
94
- - lib/rex/exploitation/egghunter.rb.ut.rb
95
- - lib/rex/exploitation/encryptjs.rb
96
- - lib/rex/exploitation/heaplib.js.b64
97
- - lib/rex/exploitation/heaplib.rb
98
- - lib/rex/exploitation/javascriptosdetect.rb
99
- - lib/rex/exploitation/obfuscatejs.rb
100
- - lib/rex/exploitation/opcodedb.rb
101
- - lib/rex/exploitation/opcodedb.rb.ut.rb
102
- - lib/rex/exploitation/seh.rb
103
- - lib/rex/exploitation/seh.rb.ut.rb
104
- - lib/rex/file.rb
105
- - lib/rex/file.rb.ut.rb
106
- - lib/rex/image_source/disk.rb
107
- - lib/rex/image_source/image_source.rb
108
- - lib/rex/image_source/memory.rb
109
- - lib/rex/image_source.rb
110
- - lib/rex/io/bidirectional_pipe.rb
111
- - lib/rex/io/datagram_abstraction.rb
112
- - lib/rex/io/stream.rb
113
- - lib/rex/io/stream_abstraction.rb
114
- - lib/rex/io/stream_server.rb
115
- - lib/rex/job_container.rb
116
- - lib/rex/logging/log_dispatcher.rb
117
- - lib/rex/logging/log_sink.rb
118
- - lib/rex/logging/sinks/flatfile.rb
119
- - lib/rex/logging/sinks/stderr.rb
120
- - lib/rex/logging.rb
121
- - lib/rex/machparsey/exceptions.rb
122
- - lib/rex/machparsey/mach.rb
123
- - lib/rex/machparsey/machbase.rb
124
- - lib/rex/machparsey.rb
125
- - lib/rex/machscan/scanner.rb
126
- - lib/rex/machscan.rb
127
- - lib/rex/mime/header.rb
128
- - lib/rex/mime/message.rb
129
- - lib/rex/mime/part.rb
130
- - lib/rex/mime.rb
131
- - lib/rex/nop/opty2.rb
132
- - lib/rex/nop/opty2.rb.ut.rb
133
- - lib/rex/nop/opty2_tables.rb
134
- - lib/rex/ole/clsid.rb
135
- - lib/rex/ole/difat.rb
29
+ - lib/rex
30
+ - lib/rex/ole
136
31
  - lib/rex/ole/directory.rb
137
- - lib/rex/ole/direntry.rb
138
- - lib/rex/ole/fat.rb
139
- - lib/rex/ole/header.rb
140
- - lib/rex/ole/minifat.rb
141
- - lib/rex/ole/samples/create_ole.rb
32
+ - lib/rex/ole/samples
142
33
  - lib/rex/ole/samples/dir.rb
143
- - lib/rex/ole/samples/dump_stream.rb
34
+ - lib/rex/ole/samples/create_ole.rb
144
35
  - lib/rex/ole/samples/ole_info.rb
36
+ - 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
145
41
  - 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
146
46
  - lib/rex/ole/stream.rb
147
- - lib/rex/ole/substorage.rb
148
- - lib/rex/ole/util.rb
149
- - lib/rex/ole.rb
150
- - lib/rex/parser/arguments.rb
151
- - lib/rex/parser/arguments.rb.ut.rb
152
- - lib/rex/parser/ini.rb
153
- - lib/rex/parser/ini.rb.ut.rb
154
- - lib/rex/parser/nexpose_xml.rb
155
- - lib/rex/parser/nmap_xml.rb
156
- - lib/rex/payloads/win32/common.rb
157
- - lib/rex/payloads/win32/kernel/common.rb
158
- - lib/rex/payloads/win32/kernel/migration.rb
159
- - lib/rex/payloads/win32/kernel/recovery.rb
160
- - lib/rex/payloads/win32/kernel/stager.rb
161
- - lib/rex/payloads/win32/kernel.rb
162
- - lib/rex/payloads/win32.rb
163
- - lib/rex/payloads.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
164
79
  - lib/rex/peparsey/exceptions.rb
165
- - lib/rex/peparsey/pe.rb
166
80
  - lib/rex/peparsey/pe_memdump.rb
167
- - lib/rex/peparsey/pebase.rb
168
81
  - lib/rex/peparsey/section.rb
169
- - lib/rex/peparsey.rb
170
- - lib/rex/pescan/analyze.rb
171
- - lib/rex/pescan/scanner.rb
172
- - lib/rex/pescan/search.rb
173
- - lib/rex/pescan.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
174
89
  - lib/rex/platforms/windows.rb
175
- - lib/rex/platforms.rb
176
- - lib/rex/poly/block.rb
177
- - lib/rex/poly/register/x86.rb
178
- - lib/rex/poly/register.rb
179
- - lib/rex/poly.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
180
97
  - lib/rex/post/dir.rb
181
- - lib/rex/post/file.rb
182
- - lib/rex/post/file_stat.rb
98
+ - lib/rex/post/meterpreter.rb
99
+ - lib/rex/post/process.rb
183
100
  - lib/rex/post/gen.pl
184
101
  - lib/rex/post/io.rb
185
- - lib/rex/post/meterpreter/channel.rb
186
- - lib/rex/post/meterpreter/channel_container.rb
187
- - lib/rex/post/meterpreter/channels/pool.rb
188
- - lib/rex/post/meterpreter/channels/pools/file.rb
189
- - lib/rex/post/meterpreter/channels/pools/stream_pool.rb
190
- - lib/rex/post/meterpreter/channels/stream.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
191
106
  - lib/rex/post/meterpreter/client.rb
192
- - lib/rex/post/meterpreter/client_core.rb
107
+ - lib/rex/post/meterpreter/inbound_packet_handler.rb
193
108
  - lib/rex/post/meterpreter/dependencies.rb
109
+ - lib/rex/post/meterpreter/object_aliases.rb
110
+ - lib/rex/post/meterpreter/channel_container.rb
194
111
  - lib/rex/post/meterpreter/extension.rb
195
- - lib/rex/post/meterpreter/extensions/espia/espia.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
196
117
  - lib/rex/post/meterpreter/extensions/espia/tlv.rb
197
- - lib/rex/post/meterpreter/extensions/incognito/incognito.rb
198
- - lib/rex/post/meterpreter/extensions/incognito/tlv.rb
199
- - lib/rex/post/meterpreter/extensions/priv/fs.rb
200
- - lib/rex/post/meterpreter/extensions/priv/passwd.rb
118
+ - lib/rex/post/meterpreter/extensions/espia/espia.rb
119
+ - lib/rex/post/meterpreter/extensions/priv
201
120
  - lib/rex/post/meterpreter/extensions/priv/priv.rb
121
+ - lib/rex/post/meterpreter/extensions/priv/passwd.rb
122
+ - lib/rex/post/meterpreter/extensions/priv/fs.rb
202
123
  - lib/rex/post/meterpreter/extensions/priv/tlv.rb
203
- - lib/rex/post/meterpreter/extensions/sniffer/sniffer.rb
204
- - lib/rex/post/meterpreter/extensions/sniffer/tlv.rb
124
+ - lib/rex/post/meterpreter/extensions/stdapi
205
125
  - lib/rex/post/meterpreter/extensions/stdapi/constants.rb
206
- - lib/rex/post/meterpreter/extensions/stdapi/fs/dir.rb
207
- - lib/rex/post/meterpreter/extensions/stdapi/fs/file.rb
208
- - lib/rex/post/meterpreter/extensions/stdapi/fs/file_stat.rb
209
- - lib/rex/post/meterpreter/extensions/stdapi/fs/io.rb
210
- - lib/rex/post/meterpreter/extensions/stdapi/net/config.rb
211
- - lib/rex/post/meterpreter/extensions/stdapi/net/interface.rb
212
- - lib/rex/post/meterpreter/extensions/stdapi/net/route.rb
213
- - lib/rex/post/meterpreter/extensions/stdapi/net/socket.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
214
132
  - lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/tcp_client_channel.rb
215
133
  - lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/tcp_server_channel.rb
216
- - lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/udp_channel.rb
217
- - lib/rex/post/meterpreter/extensions/stdapi/stdapi.rb
218
- - lib/rex/post/meterpreter/extensions/stdapi/sys/config.rb
219
- - lib/rex/post/meterpreter/extensions/stdapi/sys/event_log.rb
134
+ - lib/rex/post/meterpreter/extensions/stdapi/net/interface.rb
135
+ - lib/rex/post/meterpreter/extensions/stdapi/net/socket.rb
136
+ - 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
220
140
  - lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
141
+ - lib/rex/post/meterpreter/extensions/stdapi/sys/event_log.rb
142
+ - lib/rex/post/meterpreter/extensions/stdapi/sys/thread.rb
221
143
  - lib/rex/post/meterpreter/extensions/stdapi/sys/power.rb
222
144
  - 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
223
149
  - lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/image.rb
224
150
  - lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/io.rb
225
- - lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/memory.rb
226
151
  - lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/thread.rb
152
+ - lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/memory.rb
153
+ - lib/rex/post/meterpreter/extensions/stdapi/sys/config.rb
227
154
  - lib/rex/post/meterpreter/extensions/stdapi/sys/registry.rb
228
- - lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_key.rb
229
- - lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_value.rb
230
- - lib/rex/post/meterpreter/extensions/stdapi/sys/thread.rb
231
- - lib/rex/post/meterpreter/extensions/stdapi/tlv.rb
232
- - lib/rex/post/meterpreter/extensions/stdapi/ui.rb
233
- - lib/rex/post/meterpreter/inbound_packet_handler.rb
234
- - lib/rex/post/meterpreter/object_aliases.rb
235
- - lib/rex/post/meterpreter/packet.rb
236
- - lib/rex/post/meterpreter/packet_dispatcher.rb
237
- - lib/rex/post/meterpreter/packet_parser.rb
238
- - lib/rex/post/meterpreter/packet_response_waiter.rb
239
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb
240
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/espia.rb
241
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/incognito.rb
242
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/elevate.rb
243
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/passwd.rb
244
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/timestomp.rb
245
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
246
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/sniffer.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
191
+ - lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/passwd.rb
192
+ - 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
247
195
  - lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb
196
+ - lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb
248
197
  - lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/net.rb
249
198
  - lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/sys.rb
250
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb
251
- - lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
252
- - lib/rex/post/meterpreter/ui/console/command_dispatcher.rb
253
- - lib/rex/post/meterpreter/ui/console/interactive_channel.rb
199
+ - lib/rex/post/meterpreter/ui/console/command_dispatcher/railgun.rb
254
200
  - lib/rex/post/meterpreter/ui/console.rb
255
- - lib/rex/post/meterpreter.rb
256
- - lib/rex/post/permission.rb
257
- - lib/rex/post/process.rb
258
- - lib/rex/post/thread.rb
259
- - lib/rex/post/ui.rb
260
- - lib/rex/post.rb
261
- - lib/rex/proto/dcerpc/client.rb
262
- - lib/rex/proto/dcerpc/client.rb.ut.rb
263
- - lib/rex/proto/dcerpc/exceptions.rb
264
- - lib/rex/proto/dcerpc/handle.rb
265
- - lib/rex/proto/dcerpc/handle.rb.ut.rb
266
- - lib/rex/proto/dcerpc/ndr.rb
267
- - lib/rex/proto/dcerpc/ndr.rb.ut.rb
268
- - lib/rex/proto/dcerpc/packet.rb
269
- - lib/rex/proto/dcerpc/packet.rb.ut.rb
270
- - lib/rex/proto/dcerpc/response.rb
271
- - lib/rex/proto/dcerpc/response.rb.ut.rb
272
- - lib/rex/proto/dcerpc/uuid.rb
273
- - lib/rex/proto/dcerpc/uuid.rb.ut.rb
274
- - lib/rex/proto/dcerpc.rb
275
- - lib/rex/proto/dcerpc.rb.ts.rb
276
- - lib/rex/proto/drda/constants.rb
277
- - lib/rex/proto/drda/constants.rb.ut.rb
278
- - lib/rex/proto/drda/packet.rb
279
- - lib/rex/proto/drda/packet.rb.ut.rb
280
- - lib/rex/proto/drda/utils.rb
281
- - lib/rex/proto/drda/utils.rb.ut.rb
282
- - lib/rex/proto/drda.rb
283
- - lib/rex/proto/drda.rb.ts.rb
284
- - lib/rex/proto/http/client.rb
285
- - lib/rex/proto/http/client.rb.ut.rb
286
- - lib/rex/proto/http/handler/erb.rb
287
- - lib/rex/proto/http/handler/erb.rb.ut.rb
288
- - lib/rex/proto/http/handler/erb.rb.ut.rb.rhtml
289
- - lib/rex/proto/http/handler/proc.rb
290
- - lib/rex/proto/http/handler/proc.rb.ut.rb
291
- - lib/rex/proto/http/handler.rb
292
- - lib/rex/proto/http/header.rb
293
- - lib/rex/proto/http/header.rb.ut.rb
294
- - lib/rex/proto/http/packet.rb
295
- - lib/rex/proto/http/packet.rb.ut.rb
296
- - lib/rex/proto/http/request.rb
297
- - lib/rex/proto/http/request.rb.ut.rb
298
- - lib/rex/proto/http/response.rb
299
- - lib/rex/proto/http/response.rb.ut.rb
300
- - lib/rex/proto/http/server.rb
301
- - lib/rex/proto/http/server.rb.ut.rb
302
- - lib/rex/proto/http.rb
303
- - lib/rex/proto/http.rb.ts.rb
304
- - lib/rex/proto/smb/client.rb
305
- - lib/rex/proto/smb/client.rb.ut.rb
306
- - lib/rex/proto/smb/constants.rb
307
- - lib/rex/proto/smb/constants.rb.ut.rb
308
- - lib/rex/proto/smb/crypt.rb
309
- - lib/rex/proto/smb/crypt.rb.ut.rb
310
- - lib/rex/proto/smb/evasions.rb
311
- - lib/rex/proto/smb/exceptions.rb
312
- - lib/rex/proto/smb/simpleclient.rb
313
- - lib/rex/proto/smb/simpleclient.rb.ut.rb
314
- - lib/rex/proto/smb/utils.rb
315
- - lib/rex/proto/smb/utils.rb.ut.rb
316
- - lib/rex/proto/smb.rb
317
- - lib/rex/proto/smb.rb.ts.rb
318
- - lib/rex/proto/sunrpc/client.rb
319
- - lib/rex/proto/sunrpc.rb
320
- - lib/rex/proto/tftp/constants.rb
321
- - lib/rex/proto/tftp/server.rb
322
- - lib/rex/proto/tftp/server.rb.ut.rb
323
- - lib/rex/proto/tftp.rb
324
- - lib/rex/proto.rb
325
- - lib/rex/proto.rb.ts.rb
326
- - lib/rex/script/base.rb
327
- - lib/rex/script/meterpreter.rb
328
- - lib/rex/script/shell.rb
329
- - lib/rex/script.rb
330
- - lib/rex/service.rb
331
- - lib/rex/service_manager.rb
332
- - lib/rex/service_manager.rb.ut.rb
333
- - lib/rex/services/local_relay.rb
334
- - lib/rex/socket/comm/local.rb
335
- - lib/rex/socket/comm/local.rb.ut.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
336
219
  - lib/rex/socket/comm.rb
337
220
  - lib/rex/socket/ip.rb
338
- - lib/rex/socket/parameters.rb
339
- - lib/rex/socket/parameters.rb.ut.rb
340
- - lib/rex/socket/range_walker.rb
341
- - lib/rex/socket/range_walker.rb.ut.rb
342
- - lib/rex/socket/ssl_tcp.rb
343
- - lib/rex/socket/ssl_tcp.rb.ut.rb
344
221
  - lib/rex/socket/ssl_tcp_server.rb
222
+ - lib/rex/socket/parameters.rb
223
+ - lib/rex/socket/tcp.rb.ut.rb
224
+ - lib/rex/socket/udp.rb.ut.rb
345
225
  - lib/rex/socket/ssl_tcp_server.rb.ut.rb
346
- - lib/rex/socket/subnet_walker.rb
226
+ - lib/rex/socket/range_walker.rb.ut.rb
227
+ - lib/rex/socket/parameters.rb.ut.rb
347
228
  - lib/rex/socket/subnet_walker.rb.ut.rb
348
- - lib/rex/socket/switch_board.rb
229
+ - lib/rex/socket/ssl_tcp.rb.ut.rb
349
230
  - lib/rex/socket/switch_board.rb.ut.rb
350
- - lib/rex/socket/tcp.rb
351
- - lib/rex/socket/tcp.rb.ut.rb
352
- - lib/rex/socket/tcp_server.rb
353
231
  - lib/rex/socket/tcp_server.rb.ut.rb
232
+ - lib/rex/socket/ssl_tcp.rb
233
+ - 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
237
+ - lib/rex/socket/tcp_server.rb
354
238
  - lib/rex/socket/udp.rb
355
- - lib/rex/socket/udp.rb.ut.rb
356
- - lib/rex/socket.rb
357
- - lib/rex/socket.rb.ut.rb
358
- - lib/rex/struct2/c_struct.rb
359
- - lib/rex/struct2/c_struct_template.rb
360
- - lib/rex/struct2/constant.rb
361
- - lib/rex/struct2/element.rb
362
- - lib/rex/struct2/generic.rb
363
- - lib/rex/struct2/restraint.rb
364
- - lib/rex/struct2/s_string.rb
365
- - lib/rex/struct2/s_struct.rb
366
- - lib/rex/struct2.rb
367
- - lib/rex/sync/event.rb
368
- - lib/rex/sync/read_write_lock.rb
369
- - lib/rex/sync/ref.rb
370
- - lib/rex/sync/thread_safe.rb
371
- - lib/rex/sync.rb
372
- - lib/rex/test.rb
373
- - lib/rex/text.rb
374
- - lib/rex/text.rb.ut.rb
375
- - lib/rex/time.rb
376
- - lib/rex/transformer.rb
377
- - lib/rex/transformer.rb.ut.rb
378
- - lib/rex/ui/interactive.rb
379
- - lib/rex/ui/output/none.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
380
258
  - lib/rex/ui/output.rb
381
259
  - lib/rex/ui/progress_tracker.rb
382
- - lib/rex/ui/subscriber.rb
383
- - lib/rex/ui/text/color.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
384
264
  - lib/rex/ui/text/color.rb.ut.rb
385
- - lib/rex/ui/text/dispatcher_shell.rb
265
+ - lib/rex/ui/text/input
266
+ - lib/rex/ui/text/input/stdio.rb
267
+ - lib/rex/ui/text/input/socket.rb
386
268
  - lib/rex/ui/text/input/buffer.rb
387
269
  - lib/rex/ui/text/input/readline.rb
388
- - lib/rex/ui/text/input/socket.rb
389
- - lib/rex/ui/text/input/stdio.rb
390
- - lib/rex/ui/text/input.rb
391
- - lib/rex/ui/text/irb_shell.rb
270
+ - lib/rex/ui/text/output
271
+ - lib/rex/ui/text/output/stdio.rb
392
272
  - lib/rex/ui/text/output/buffer.rb
393
- - lib/rex/ui/text/output/file.rb
394
273
  - lib/rex/ui/text/output/socket.rb
395
- - lib/rex/ui/text/output/stdio.rb
396
- - lib/rex/ui/text/output.rb
274
+ - lib/rex/ui/text/output/file.rb
397
275
  - lib/rex/ui/text/progress_tracker.rb
276
+ - lib/rex/ui/text/table.rb.ut.rb
398
277
  - lib/rex/ui/text/progress_tracker.rb.ut.rb
399
278
  - lib/rex/ui/text/shell.rb
400
279
  - lib/rex/ui/text/table.rb
401
- - lib/rex/ui/text/table.rb.ut.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
402
293
  - lib/rex/ui.rb
403
- - lib/rex/zip/archive.rb
404
- - lib/rex/zip/blocks.rb
405
- - lib/rex/zip/entry.rb
406
- - lib/rex/zip/samples/comment.rb
407
- - lib/rex/zip/samples/mkwar.rb
408
- - lib/rex/zip/samples/mkzip.rb
409
- - lib/rex/zip/samples/recursive.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
410
320
  - 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
411
488
  - lib/rex.rb
412
489
  - lib/rex.rb.ts.rb
413
- has_rdoc: true
490
+ has_rdoc: false
414
491
  homepage: http://www.metasploit.com/
415
- licenses: []
416
-
417
492
  post_install_message:
418
493
  rdoc_options: []
419
494
 
420
495
  require_paths:
421
496
  - lib
422
497
  required_ruby_version: !ruby/object:Gem::Requirement
423
- none: false
424
498
  requirements:
425
499
  - - ">="
426
500
  - !ruby/object:Gem::Version
427
- hash: 57
428
- segments:
429
- - 1
430
- - 8
431
- - 7
432
501
  version: 1.8.7
502
+ version:
433
503
  required_rubygems_version: !ruby/object:Gem::Requirement
434
- none: false
435
504
  requirements:
436
505
  - - ">="
437
506
  - !ruby/object:Gem::Version
438
- hash: 3
439
- segments:
440
- - 0
441
507
  version: "0"
508
+ version:
442
509
  requirements: []
443
510
 
444
511
  rubyforge_project:
445
- rubygems_version: 1.3.7
512
+ rubygems_version: 1.3.1
446
513
  signing_key:
447
- specification_version: 3
514
+ specification_version: 2
448
515
  summary: Ruby Exploitation library
449
516
  test_files: []
450
517