librex 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README +0 -0
- data/lib/rex.rb +0 -0
- data/lib/rex.rb.ts.rb +0 -0
- data/lib/rex/LICENSE +0 -0
- data/lib/rex/arch.rb +0 -0
- data/lib/rex/arch/sparc.rb +0 -0
- data/lib/rex/arch/sparc.rb.ut.rb +0 -0
- data/lib/rex/arch/x86.rb +0 -0
- data/lib/rex/arch/x86.rb.ut.rb +0 -0
- data/lib/rex/assembly/nasm.rb +0 -0
- data/lib/rex/assembly/nasm.rb.ut.rb +0 -0
- data/lib/rex/codepage.map +0 -0
- data/lib/rex/compat.rb +0 -0
- data/lib/rex/constants.rb +0 -0
- data/lib/rex/elfparsey.rb +0 -0
- data/lib/rex/elfparsey/elf.rb +0 -0
- data/lib/rex/elfparsey/elfbase.rb +0 -0
- data/lib/rex/elfparsey/exceptions.rb +0 -0
- data/lib/rex/elfscan.rb +0 -0
- data/lib/rex/elfscan/scanner.rb +0 -0
- data/lib/rex/elfscan/search.rb +0 -0
- data/lib/rex/encoder/alpha2.rb +0 -0
- data/lib/rex/encoder/alpha2/alpha_mixed.rb +0 -0
- data/lib/rex/encoder/alpha2/alpha_upper.rb +0 -0
- data/lib/rex/encoder/alpha2/generic.rb +0 -0
- data/lib/rex/encoder/alpha2/unicode_mixed.rb +0 -0
- data/lib/rex/encoder/alpha2/unicode_upper.rb +0 -0
- data/lib/rex/encoder/ndr.rb +0 -0
- data/lib/rex/encoder/ndr.rb.ut.rb +0 -0
- data/lib/rex/encoder/nonalpha.rb +0 -0
- data/lib/rex/encoder/nonupper.rb +0 -0
- data/lib/rex/encoder/xdr.rb +0 -0
- data/lib/rex/encoder/xdr.rb.ut.rb +0 -0
- data/lib/rex/encoder/xor.rb +0 -0
- data/lib/rex/encoder/xor/dword.rb +0 -0
- data/lib/rex/encoder/xor/dword_additive.rb +0 -0
- data/lib/rex/encoders/xor_dword.rb +0 -0
- data/lib/rex/encoders/xor_dword_additive.rb +0 -0
- data/lib/rex/encoders/xor_dword_additive.rb.ut.rb +0 -0
- data/lib/rex/encoding/xor.rb +0 -0
- data/lib/rex/encoding/xor.rb.ts.rb +0 -0
- data/lib/rex/encoding/xor/byte.rb +0 -0
- data/lib/rex/encoding/xor/byte.rb.ut.rb +0 -0
- data/lib/rex/encoding/xor/dword.rb +0 -0
- data/lib/rex/encoding/xor/dword.rb.ut.rb +0 -0
- data/lib/rex/encoding/xor/dword_additive.rb +0 -0
- data/lib/rex/encoding/xor/dword_additive.rb.ut.rb +0 -0
- data/lib/rex/encoding/xor/exceptions.rb +0 -0
- data/lib/rex/encoding/xor/generic.rb +0 -0
- data/lib/rex/encoding/xor/generic.rb.ut.rb +0 -0
- data/lib/rex/encoding/xor/qword.rb +0 -0
- data/lib/rex/encoding/xor/word.rb +0 -0
- data/lib/rex/encoding/xor/word.rb.ut.rb +0 -0
- data/lib/rex/exceptions.rb +0 -0
- data/lib/rex/exceptions.rb.ut.rb +0 -0
- data/lib/rex/exploitation/cmdstager.rb +0 -0
- data/lib/rex/exploitation/cmdstager/base.rb +0 -0
- data/lib/rex/exploitation/cmdstager/debug_asm.rb +0 -0
- data/lib/rex/exploitation/cmdstager/debug_write.rb +0 -0
- data/lib/rex/exploitation/cmdstager/tftp.rb +0 -0
- data/lib/rex/exploitation/cmdstager/vbs.rb +0 -0
- data/lib/rex/exploitation/egghunter.rb +0 -0
- data/lib/rex/exploitation/egghunter.rb.ut.rb +0 -0
- data/lib/rex/exploitation/encryptjs.rb +0 -0
- data/lib/rex/exploitation/heaplib.js.b64 +0 -0
- data/lib/rex/exploitation/heaplib.rb +0 -0
- data/lib/rex/exploitation/javascriptosdetect.rb +2 -2
- data/lib/rex/exploitation/obfuscatejs.rb +0 -0
- data/lib/rex/exploitation/opcodedb.rb +0 -0
- data/lib/rex/exploitation/opcodedb.rb.ut.rb +0 -0
- data/lib/rex/exploitation/seh.rb +0 -0
- data/lib/rex/exploitation/seh.rb.ut.rb +0 -0
- data/lib/rex/file.rb +0 -0
- data/lib/rex/file.rb.ut.rb +0 -0
- data/lib/rex/image_source.rb +0 -0
- data/lib/rex/image_source/disk.rb +0 -0
- data/lib/rex/image_source/image_source.rb +0 -0
- data/lib/rex/image_source/memory.rb +0 -0
- data/lib/rex/io/bidirectional_pipe.rb +0 -0
- data/lib/rex/io/datagram_abstraction.rb +0 -0
- data/lib/rex/io/stream.rb +13 -15
- data/lib/rex/io/stream_abstraction.rb +0 -0
- data/lib/rex/io/stream_server.rb +0 -0
- data/lib/rex/job_container.rb +10 -25
- data/lib/rex/logging.rb +0 -0
- data/lib/rex/logging/log_dispatcher.rb +0 -0
- data/lib/rex/logging/log_sink.rb +0 -0
- data/lib/rex/logging/sinks/flatfile.rb +0 -0
- data/lib/rex/logging/sinks/stderr.rb +0 -0
- data/lib/rex/machparsey.rb +0 -0
- data/lib/rex/machparsey/exceptions.rb +0 -0
- data/lib/rex/machparsey/mach.rb +1 -1
- data/lib/rex/machparsey/machbase.rb +0 -0
- data/lib/rex/machscan.rb +0 -0
- data/lib/rex/machscan/scanner.rb +0 -0
- data/lib/rex/mime.rb +0 -0
- data/lib/rex/mime/header.rb +0 -0
- data/lib/rex/mime/message.rb +0 -0
- data/lib/rex/mime/part.rb +0 -0
- data/lib/rex/nop/opty2.rb +0 -0
- data/lib/rex/nop/opty2.rb.ut.rb +0 -0
- data/lib/rex/nop/opty2_tables.rb +0 -0
- data/lib/rex/ole.rb +0 -0
- data/lib/rex/ole/clsid.rb +0 -0
- data/lib/rex/ole/difat.rb +0 -0
- data/lib/rex/ole/directory.rb +0 -0
- data/lib/rex/ole/direntry.rb +0 -0
- data/lib/rex/ole/fat.rb +0 -0
- data/lib/rex/ole/header.rb +0 -0
- data/lib/rex/ole/minifat.rb +0 -0
- data/lib/rex/ole/storage.rb +0 -0
- data/lib/rex/ole/stream.rb +0 -0
- data/lib/rex/ole/substorage.rb +0 -0
- data/lib/rex/ole/util.rb +0 -0
- data/lib/rex/parser/arguments.rb +0 -0
- data/lib/rex/parser/arguments.rb.ut.rb +0 -0
- data/lib/rex/parser/ini.rb +0 -0
- data/lib/rex/parser/ini.rb.ut.rb +0 -0
- data/lib/rex/parser/nexpose_xml.rb +0 -0
- data/lib/rex/parser/nmap_xml.rb +0 -0
- data/lib/rex/payloads.rb +0 -0
- data/lib/rex/payloads/win32.rb +0 -0
- data/lib/rex/payloads/win32/common.rb +0 -0
- data/lib/rex/payloads/win32/kernel.rb +0 -0
- data/lib/rex/payloads/win32/kernel/common.rb +0 -0
- data/lib/rex/payloads/win32/kernel/migration.rb +0 -0
- data/lib/rex/payloads/win32/kernel/recovery.rb +0 -0
- data/lib/rex/payloads/win32/kernel/stager.rb +26 -3
- data/lib/rex/peparsey.rb +0 -0
- data/lib/rex/peparsey/exceptions.rb +0 -0
- data/lib/rex/peparsey/pe.rb +0 -0
- data/lib/rex/peparsey/pe_memdump.rb +0 -0
- data/lib/rex/peparsey/pebase.rb +0 -0
- data/lib/rex/peparsey/section.rb +0 -0
- data/lib/rex/pescan.rb +0 -0
- data/lib/rex/pescan/analyze.rb +0 -0
- data/lib/rex/pescan/scanner.rb +0 -0
- data/lib/rex/pescan/search.rb +0 -0
- data/lib/rex/platforms.rb +0 -0
- data/lib/rex/platforms/windows.rb +0 -0
- data/lib/rex/poly.rb +0 -0
- data/lib/rex/poly/block.rb +0 -0
- data/lib/rex/poly/register.rb +0 -0
- data/lib/rex/poly/register/x86.rb +0 -0
- data/lib/rex/post.rb +0 -0
- data/lib/rex/post/dir.rb +0 -0
- data/lib/rex/post/file.rb +0 -0
- data/lib/rex/post/file_stat.rb +0 -0
- data/lib/rex/post/gen.pl +0 -0
- data/lib/rex/post/io.rb +0 -0
- data/lib/rex/post/meterpreter.rb +0 -0
- data/lib/rex/post/meterpreter/channel.rb +0 -0
- data/lib/rex/post/meterpreter/channel_container.rb +0 -0
- data/lib/rex/post/meterpreter/channels/pool.rb +0 -0
- data/lib/rex/post/meterpreter/channels/pools/file.rb +0 -0
- data/lib/rex/post/meterpreter/channels/pools/stream_pool.rb +0 -0
- data/lib/rex/post/meterpreter/channels/stream.rb +0 -0
- data/lib/rex/post/meterpreter/client.rb +0 -0
- data/lib/rex/post/meterpreter/client_core.rb +0 -0
- data/lib/rex/post/meterpreter/dependencies.rb +0 -0
- data/lib/rex/post/meterpreter/extension.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/espia/espia.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/espia/tlv.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/incognito/incognito.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/incognito/tlv.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/priv/fs.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/priv/passwd.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/priv/priv.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/priv/tlv.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/railgun/api.rb +9303 -0
- data/lib/rex/post/meterpreter/extensions/railgun/api_constants.rb +38105 -0
- data/lib/rex/post/meterpreter/extensions/railgun/def_kernel32.rb +3678 -0
- data/lib/rex/post/meterpreter/extensions/railgun/railgun.rb +815 -0
- data/lib/rex/post/meterpreter/extensions/railgun/tlv.rb +54 -0
- data/lib/rex/post/meterpreter/extensions/sniffer/sniffer.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/sniffer/tlv.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/constants.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/fs/dir.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/fs/file.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/fs/file_stat.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/fs/io.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/net/config.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/net/interface.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/net/route.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/net/socket.rb +7 -7
- data/lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/tcp_client_channel.rb +21 -8
- data/lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/tcp_server_channel.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/udp_channel.rb +33 -17
- data/lib/rex/post/meterpreter/extensions/stdapi/stdapi.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/config.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/event_log.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/power.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/process.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/image.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/io.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/memory.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/thread.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/registry.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_key.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_value.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/thread.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/tlv.rb +0 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/ui.rb +0 -0
- data/lib/rex/post/meterpreter/inbound_packet_handler.rb +0 -0
- data/lib/rex/post/meterpreter/object_aliases.rb +0 -0
- data/lib/rex/post/meterpreter/packet.rb +0 -0
- data/lib/rex/post/meterpreter/packet_dispatcher.rb +0 -0
- data/lib/rex/post/meterpreter/packet_parser.rb +0 -0
- data/lib/rex/post/meterpreter/packet_response_waiter.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/espia.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/incognito.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/elevate.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/passwd.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/timestomp.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/railgun.rb +57 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/sniffer.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/net.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/sys.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb +0 -0
- data/lib/rex/post/meterpreter/ui/console/interactive_channel.rb +0 -0
- data/lib/rex/post/permission.rb +0 -0
- data/lib/rex/post/process.rb +0 -0
- data/lib/rex/post/thread.rb +0 -0
- data/lib/rex/post/ui.rb +0 -0
- data/lib/rex/proto.rb +0 -0
- data/lib/rex/proto.rb.ts.rb +0 -0
- data/lib/rex/proto/dcerpc.rb +0 -0
- data/lib/rex/proto/dcerpc.rb.ts.rb +0 -0
- data/lib/rex/proto/dcerpc/client.rb +45 -44
- data/lib/rex/proto/dcerpc/exceptions.rb +0 -0
- data/lib/rex/proto/dcerpc/handle.rb +0 -0
- data/lib/rex/proto/dcerpc/handle.rb.ut.rb +0 -0
- data/lib/rex/proto/dcerpc/ndr.rb +0 -0
- data/lib/rex/proto/dcerpc/ndr.rb.ut.rb +0 -0
- data/lib/rex/proto/dcerpc/packet.rb +0 -0
- data/lib/rex/proto/dcerpc/packet.rb.ut.rb +0 -0
- data/lib/rex/proto/dcerpc/response.rb +32 -31
- data/lib/rex/proto/dcerpc/response.rb.ut.rb +0 -0
- data/lib/rex/proto/dcerpc/uuid.rb +0 -0
- data/lib/rex/proto/dcerpc/uuid.rb.ut.rb +0 -0
- data/lib/rex/proto/drda.rb +0 -0
- data/lib/rex/proto/drda.rb.ts.rb +0 -0
- data/lib/rex/proto/drda/constants.rb +0 -0
- data/lib/rex/proto/drda/constants.rb.ut.rb +0 -0
- data/lib/rex/proto/drda/packet.rb +0 -0
- data/lib/rex/proto/drda/packet.rb.ut.rb +0 -0
- data/lib/rex/proto/drda/utils.rb +0 -0
- data/lib/rex/proto/drda/utils.rb.ut.rb +0 -0
- data/lib/rex/proto/http.rb +0 -0
- data/lib/rex/proto/http.rb.ts.rb +0 -0
- data/lib/rex/proto/http/client.rb +1 -1
- data/lib/rex/proto/http/client.rb.ut.rb +0 -0
- data/lib/rex/proto/http/handler.rb +0 -0
- data/lib/rex/proto/http/handler/erb.rb +0 -0
- data/lib/rex/proto/http/handler/erb.rb.ut.rb +0 -0
- data/lib/rex/proto/http/handler/erb.rb.ut.rb.rhtml +0 -0
- data/lib/rex/proto/http/handler/proc.rb +0 -0
- data/lib/rex/proto/http/handler/proc.rb.ut.rb +0 -0
- data/lib/rex/proto/http/header.rb +0 -0
- data/lib/rex/proto/http/header.rb.ut.rb +0 -0
- data/lib/rex/proto/http/packet.rb +0 -0
- data/lib/rex/proto/http/packet.rb.ut.rb +0 -0
- data/lib/rex/proto/http/request.rb +0 -0
- data/lib/rex/proto/http/request.rb.ut.rb +0 -0
- data/lib/rex/proto/http/response.rb +0 -0
- data/lib/rex/proto/http/response.rb.ut.rb +0 -0
- data/lib/rex/proto/http/server.rb +0 -0
- data/lib/rex/proto/http/server.rb.ut.rb +0 -0
- data/lib/rex/proto/smb.rb +0 -0
- data/lib/rex/proto/smb.rb.ts.rb +0 -0
- data/lib/rex/proto/smb/client.rb +1 -1
- data/lib/rex/proto/smb/client.rb.ut.rb +0 -0
- data/lib/rex/proto/smb/constants.rb +0 -0
- data/lib/rex/proto/smb/constants.rb.ut.rb +0 -0
- data/lib/rex/proto/smb/crypt.rb +0 -0
- data/lib/rex/proto/smb/crypt.rb.ut.rb +0 -0
- data/lib/rex/proto/smb/evasions.rb +18 -17
- data/lib/rex/proto/smb/exceptions.rb +0 -0
- data/lib/rex/proto/smb/simpleclient.rb +0 -0
- data/lib/rex/proto/smb/simpleclient.rb.ut.rb +0 -0
- data/lib/rex/proto/smb/utils.rb +0 -0
- data/lib/rex/proto/smb/utils.rb.ut.rb +0 -0
- data/lib/rex/proto/sunrpc.rb +0 -0
- data/lib/rex/proto/sunrpc/client.rb +0 -0
- data/lib/rex/proto/tftp.rb +0 -0
- data/lib/rex/proto/tftp/constants.rb +0 -0
- data/lib/rex/proto/tftp/server.rb +212 -37
- data/lib/rex/script.rb +0 -0
- data/lib/rex/script/base.rb +0 -0
- data/lib/rex/script/meterpreter.rb +0 -0
- data/lib/rex/script/shell.rb +0 -0
- data/lib/rex/service.rb +0 -0
- data/lib/rex/service_manager.rb +0 -0
- data/lib/rex/service_manager.rb.ut.rb +0 -0
- data/lib/rex/services/local_relay.rb +0 -0
- data/lib/rex/socket.rb +25 -0
- data/lib/rex/socket.rb.ut.rb +0 -0
- data/lib/rex/socket/comm.rb +0 -0
- data/lib/rex/socket/comm/local.rb +0 -0
- data/lib/rex/socket/comm/local.rb.ut.rb +0 -0
- data/lib/rex/socket/ip.rb +0 -0
- data/lib/rex/socket/parameters.rb +0 -0
- data/lib/rex/socket/parameters.rb.ut.rb +0 -0
- data/lib/rex/socket/range_walker.rb +0 -0
- data/lib/rex/socket/range_walker.rb.ut.rb +0 -0
- data/lib/rex/socket/ssl_tcp.rb +0 -0
- data/lib/rex/socket/ssl_tcp.rb.ut.rb +0 -0
- data/lib/rex/socket/ssl_tcp_server.rb +0 -0
- data/lib/rex/socket/ssl_tcp_server.rb.ut.rb +0 -0
- data/lib/rex/socket/subnet_walker.rb +0 -0
- data/lib/rex/socket/subnet_walker.rb.ut.rb +0 -0
- data/lib/rex/socket/switch_board.rb +11 -5
- data/lib/rex/socket/switch_board.rb.ut.rb +0 -0
- data/lib/rex/socket/tcp.rb +0 -0
- data/lib/rex/socket/tcp.rb.ut.rb +0 -0
- data/lib/rex/socket/tcp_server.rb +0 -0
- data/lib/rex/socket/tcp_server.rb.ut.rb +0 -0
- data/lib/rex/socket/udp.rb +0 -0
- data/lib/rex/socket/udp.rb.ut.rb +0 -0
- data/lib/rex/struct2.rb +0 -0
- data/lib/rex/struct2/c_struct.rb +0 -0
- data/lib/rex/struct2/c_struct_template.rb +0 -0
- data/lib/rex/struct2/constant.rb +0 -0
- data/lib/rex/struct2/element.rb +0 -0
- data/lib/rex/struct2/generic.rb +0 -0
- data/lib/rex/struct2/restraint.rb +0 -0
- data/lib/rex/struct2/s_string.rb +0 -0
- data/lib/rex/struct2/s_struct.rb +0 -0
- data/lib/rex/sync.rb +0 -0
- data/lib/rex/sync/event.rb +0 -0
- data/lib/rex/sync/read_write_lock.rb +0 -0
- data/lib/rex/sync/ref.rb +0 -0
- data/lib/rex/sync/thread_safe.rb +0 -0
- data/lib/rex/test.rb +0 -0
- data/lib/rex/text.rb +15 -4
- data/lib/rex/text.rb.ut.rb +3 -0
- data/lib/rex/time.rb +0 -0
- data/lib/rex/transformer.rb +0 -0
- data/lib/rex/transformer.rb.ut.rb +0 -0
- data/lib/rex/ui.rb +0 -0
- data/lib/rex/ui/interactive.rb +0 -0
- data/lib/rex/ui/output.rb +0 -0
- data/lib/rex/ui/output/none.rb +0 -0
- data/lib/rex/ui/progress_tracker.rb +0 -0
- data/lib/rex/ui/subscriber.rb +0 -0
- data/lib/rex/ui/text/color.rb +0 -0
- data/lib/rex/ui/text/color.rb.ut.rb +0 -0
- data/lib/rex/ui/text/dispatcher_shell.rb +0 -0
- data/lib/rex/ui/text/input.rb +0 -0
- data/lib/rex/ui/text/input/buffer.rb +0 -0
- data/lib/rex/ui/text/input/readline.rb +0 -0
- data/lib/rex/ui/text/input/socket.rb +0 -0
- data/lib/rex/ui/text/input/stdio.rb +0 -0
- data/lib/rex/ui/text/irb_shell.rb +0 -0
- data/lib/rex/ui/text/output.rb +0 -0
- data/lib/rex/ui/text/output/buffer.rb +0 -0
- data/lib/rex/ui/text/output/file.rb +0 -0
- data/lib/rex/ui/text/output/socket.rb +0 -0
- data/lib/rex/ui/text/output/stdio.rb +0 -0
- data/lib/rex/ui/text/progress_tracker.rb +0 -0
- data/lib/rex/ui/text/progress_tracker.rb.ut.rb +0 -0
- data/lib/rex/ui/text/shell.rb +0 -0
- data/lib/rex/ui/text/table.rb +0 -0
- data/lib/rex/ui/text/table.rb.ut.rb +0 -0
- data/lib/rex/zip.rb +0 -0
- data/lib/rex/zip/archive.rb +0 -0
- data/lib/rex/zip/blocks.rb +0 -0
- data/lib/rex/zip/entry.rb +0 -0
- metadata +414 -347
data/lib/rex/script.rb
CHANGED
File without changes
|
data/lib/rex/script/base.rb
CHANGED
File without changes
|
File without changes
|
data/lib/rex/script/shell.rb
CHANGED
File without changes
|
data/lib/rex/service.rb
CHANGED
File without changes
|
data/lib/rex/service_manager.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/lib/rex/socket.rb
CHANGED
@@ -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
|
#
|
data/lib/rex/socket.rb.ut.rb
CHANGED
File without changes
|
data/lib/rex/socket/comm.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/lib/rex/socket/ip.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/rex/socket/ssl_tcp.rb
CHANGED
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
|
data/lib/rex/socket/tcp.rb
CHANGED
File without changes
|
data/lib/rex/socket/tcp.rb.ut.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/lib/rex/socket/udp.rb
CHANGED
File without changes
|
data/lib/rex/socket/udp.rb.ut.rb
CHANGED
File without changes
|
data/lib/rex/struct2.rb
CHANGED
File without changes
|
data/lib/rex/struct2/c_struct.rb
CHANGED
File without changes
|
File without changes
|
data/lib/rex/struct2/constant.rb
CHANGED
File without changes
|
data/lib/rex/struct2/element.rb
CHANGED
File without changes
|
data/lib/rex/struct2/generic.rb
CHANGED
File without changes
|
File without changes
|
data/lib/rex/struct2/s_string.rb
CHANGED
File without changes
|
data/lib/rex/struct2/s_struct.rb
CHANGED
File without changes
|
data/lib/rex/sync.rb
CHANGED
File without changes
|
data/lib/rex/sync/event.rb
CHANGED
File without changes
|
File without changes
|
data/lib/rex/sync/ref.rb
CHANGED
File without changes
|
data/lib/rex/sync/thread_safe.rb
CHANGED
File without changes
|
data/lib/rex/test.rb
CHANGED
File without changes
|
data/lib/rex/text.rb
CHANGED
@@ -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*")
|
data/lib/rex/text.rb.ut.rb
CHANGED
@@ -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
|
data/lib/rex/time.rb
CHANGED
File without changes
|
data/lib/rex/transformer.rb
CHANGED
File without changes
|
File without changes
|
data/lib/rex/ui.rb
CHANGED
File without changes
|
data/lib/rex/ui/interactive.rb
CHANGED
File without changes
|
data/lib/rex/ui/output.rb
CHANGED
File without changes
|
data/lib/rex/ui/output/none.rb
CHANGED
File without changes
|
File without changes
|
data/lib/rex/ui/subscriber.rb
CHANGED
File without changes
|
data/lib/rex/ui/text/color.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/lib/rex/ui/text/input.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/rex/ui/text/output.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/rex/ui/text/shell.rb
CHANGED
File without changes
|
data/lib/rex/ui/text/table.rb
CHANGED
File without changes
|
File without changes
|
data/lib/rex/zip.rb
CHANGED
File without changes
|
data/lib/rex/zip/archive.rb
CHANGED
File without changes
|
data/lib/rex/zip/blocks.rb
CHANGED
File without changes
|
data/lib/rex/zip/entry.rb
CHANGED
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
|
-
|
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-
|
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
|
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
|
36
|
-
- lib/rex/
|
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/
|
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/
|
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/
|
148
|
-
- lib/rex/
|
149
|
-
- lib/rex/
|
150
|
-
- lib/rex/
|
151
|
-
- lib/rex/
|
152
|
-
- lib/rex/
|
153
|
-
- lib/rex/
|
154
|
-
- lib/rex/
|
155
|
-
- lib/rex/
|
156
|
-
- lib/rex/
|
157
|
-
- lib/rex/
|
158
|
-
- lib/rex/
|
159
|
-
- lib/rex/
|
160
|
-
- lib/rex/
|
161
|
-
- lib/rex/
|
162
|
-
- lib/rex/
|
163
|
-
- lib/rex/
|
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/
|
171
|
-
- lib/rex/
|
172
|
-
- lib/rex/
|
173
|
-
- lib/rex/
|
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/
|
176
|
-
- lib/rex/
|
177
|
-
- lib/rex/
|
178
|
-
- lib/rex/
|
179
|
-
- lib/rex/
|
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/
|
182
|
-
- lib/rex/post/
|
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/
|
186
|
-
- lib/rex/post/
|
187
|
-
- lib/rex/post/
|
188
|
-
- lib/rex/post/meterpreter
|
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/
|
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/
|
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/
|
198
|
-
- lib/rex/post/meterpreter/extensions/
|
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/
|
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/
|
207
|
-
- lib/rex/post/meterpreter/extensions/stdapi/
|
208
|
-
- lib/rex/post/meterpreter/extensions/stdapi/
|
209
|
-
- lib/rex/post/meterpreter/extensions/stdapi/
|
210
|
-
- lib/rex/post/meterpreter/extensions/stdapi/net/
|
211
|
-
- lib/rex/post/meterpreter/extensions/stdapi/net/
|
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/
|
217
|
-
- lib/rex/post/meterpreter/extensions/stdapi/
|
218
|
-
- lib/rex/post/meterpreter/extensions/stdapi/
|
219
|
-
- lib/rex/post/meterpreter/extensions/stdapi/
|
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/
|
229
|
-
- lib/rex/post/meterpreter/extensions/stdapi/
|
230
|
-
- lib/rex/post/meterpreter/extensions/stdapi/
|
231
|
-
- lib/rex/post/meterpreter/extensions/stdapi/
|
232
|
-
- lib/rex/post/meterpreter/extensions/stdapi/
|
233
|
-
- lib/rex/post/meterpreter/
|
234
|
-
- lib/rex/post/meterpreter/
|
235
|
-
- lib/rex/post/meterpreter/
|
236
|
-
- lib/rex/post/meterpreter/
|
237
|
-
- lib/rex/post/meterpreter/
|
238
|
-
- lib/rex/post/meterpreter/
|
239
|
-
- lib/rex/post/meterpreter/
|
240
|
-
- lib/rex/post/meterpreter/
|
241
|
-
- lib/rex/post/meterpreter/
|
242
|
-
- lib/rex/post/meterpreter/
|
243
|
-
- lib/rex/post/meterpreter/
|
244
|
-
- lib/rex/post/meterpreter/
|
245
|
-
- lib/rex/post/meterpreter/
|
246
|
-
- lib/rex/post/meterpreter/
|
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/
|
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/
|
257
|
-
- lib/rex/post/
|
258
|
-
- lib/rex/post/
|
259
|
-
- lib/rex/
|
260
|
-
- lib/rex/
|
261
|
-
- lib/rex/
|
262
|
-
- lib/rex/
|
263
|
-
- lib/rex/
|
264
|
-
- lib/rex/
|
265
|
-
- lib/rex/
|
266
|
-
- lib/rex/
|
267
|
-
- lib/rex/
|
268
|
-
- lib/rex/
|
269
|
-
- lib/rex/
|
270
|
-
- lib/rex/
|
271
|
-
- lib/rex/
|
272
|
-
- lib/rex/
|
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/
|
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/
|
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/
|
356
|
-
- lib/rex/
|
357
|
-
- lib/rex/
|
358
|
-
- lib/rex/
|
359
|
-
- lib/rex/
|
360
|
-
- lib/rex/
|
361
|
-
- lib/rex/
|
362
|
-
- lib/rex/
|
363
|
-
- lib/rex/
|
364
|
-
- lib/rex/
|
365
|
-
- lib/rex/
|
366
|
-
- lib/rex/
|
367
|
-
- lib/rex/
|
368
|
-
- lib/rex/
|
369
|
-
- lib/rex/
|
370
|
-
- lib/rex/
|
371
|
-
- lib/rex/
|
372
|
-
- lib/rex/
|
373
|
-
- lib/rex/
|
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/
|
383
|
-
- lib/rex/ui/
|
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/
|
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/
|
389
|
-
- lib/rex/ui/text/
|
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/
|
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/
|
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/
|
404
|
-
- lib/rex/
|
405
|
-
- lib/rex/
|
406
|
-
- lib/rex/
|
407
|
-
- lib/rex/
|
408
|
-
- lib/rex/
|
409
|
-
- lib/rex/
|
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:
|
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.
|
512
|
+
rubygems_version: 1.3.1
|
446
513
|
signing_key:
|
447
|
-
specification_version:
|
514
|
+
specification_version: 2
|
448
515
|
summary: Ruby Exploitation library
|
449
516
|
test_files: []
|
450
517
|
|