rex 2.0.5 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rex/exploitation/egghunter.rb +4 -6
- data/lib/rex/exploitation/powershell/psh_methods.rb +9 -0
- data/lib/rex/java/serialization.rb +2 -1
- data/lib/rex/java/serialization/builder.rb +94 -0
- data/lib/rex/java/serialization/model.rb +29 -18
- data/lib/rex/java/serialization/model/annotation.rb +2 -2
- data/lib/rex/java/serialization/model/field.rb +2 -2
- data/lib/rex/java/serialization/model/new_array.rb +8 -3
- data/lib/rex/java/serialization/model/new_class_desc.rb +3 -3
- data/lib/rex/java/serialization/model/new_enum.rb +4 -4
- data/lib/rex/java/serialization/model/new_object.rb +17 -10
- data/lib/rex/ole/direntry.rb +1 -1
- data/lib/rex/ole/samples/create_ole.rb +0 -0
- data/lib/rex/ole/samples/dir.rb +0 -0
- data/lib/rex/ole/samples/dump_stream.rb +0 -0
- data/lib/rex/ole/samples/ole_info.rb +0 -0
- data/lib/rex/parser/foundstone_nokogiri.rb +1 -1
- data/lib/rex/parser/fs/ntfs.rb +252 -0
- data/lib/rex/parser/openvas_nokogiri.rb +2 -0
- data/lib/rex/payloads/win32/kernel.rb +3 -3
- data/lib/rex/post/meterpreter/client_core.rb +172 -64
- data/lib/rex/post/meterpreter/extensions/priv/priv.rb +3 -2
- data/lib/rex/post/meterpreter/extensions/stdapi/fs/file.rb +12 -10
- data/lib/rex/post/meterpreter/extensions/stdapi/railgun/api_constants.rb +64 -37
- data/lib/rex/post/meterpreter/extensions/stdapi/railgun/dll.rb +8 -2
- data/lib/rex/post/meterpreter/extensions/stdapi/ui.rb +15 -3
- data/lib/rex/post/meterpreter/packet.rb +41 -38
- data/lib/rex/post/meterpreter/packet_dispatcher.rb +7 -1
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb +17 -4
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb +11 -4
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb +1 -1
- data/lib/rex/proto.rb +2 -0
- data/lib/rex/proto/acpp.rb +17 -0
- data/lib/rex/proto/acpp/client.rb +29 -0
- data/lib/rex/proto/acpp/message.rb +183 -0
- data/lib/rex/proto/http/client.rb +1 -2
- data/lib/rex/proto/iax2/call.rb +22 -3
- data/lib/rex/proto/iax2/client.rb +1 -0
- data/lib/rex/proto/kerberos.rb +13 -0
- data/lib/rex/proto/kerberos/client.rb +213 -0
- data/lib/rex/proto/kerberos/credential_cache.rb +19 -0
- data/lib/rex/proto/kerberos/credential_cache/cache.rb +81 -0
- data/lib/rex/proto/kerberos/credential_cache/credential.rb +151 -0
- data/lib/rex/proto/kerberos/credential_cache/element.rb +49 -0
- data/lib/rex/proto/kerberos/credential_cache/key_block.rb +62 -0
- data/lib/rex/proto/kerberos/credential_cache/principal.rb +70 -0
- data/lib/rex/proto/kerberos/credential_cache/time.rb +69 -0
- data/lib/rex/proto/kerberos/crypto.rb +21 -0
- data/lib/rex/proto/kerberos/crypto/rc4_hmac.rb +65 -0
- data/lib/rex/proto/kerberos/crypto/rsa_md5.rb +15 -0
- data/lib/rex/proto/kerberos/model.rb +133 -0
- data/lib/rex/proto/kerberos/model/ap_req.rb +98 -0
- data/lib/rex/proto/kerberos/model/authenticator.rb +143 -0
- data/lib/rex/proto/kerberos/model/authorization_data.rb +85 -0
- data/lib/rex/proto/kerberos/model/checksum.rb +59 -0
- data/lib/rex/proto/kerberos/model/element.rb +67 -0
- data/lib/rex/proto/kerberos/model/enc_kdc_response.rb +215 -0
- data/lib/rex/proto/kerberos/model/encrypted_data.rb +171 -0
- data/lib/rex/proto/kerberos/model/encryption_key.rb +106 -0
- data/lib/rex/proto/kerberos/model/kdc_request.rb +166 -0
- data/lib/rex/proto/kerberos/model/kdc_request_body.rb +315 -0
- data/lib/rex/proto/kerberos/model/kdc_response.rb +141 -0
- data/lib/rex/proto/kerberos/model/krb_error.rb +219 -0
- data/lib/rex/proto/kerberos/model/last_request.rb +82 -0
- data/lib/rex/proto/kerberos/model/pre_auth_data.rb +104 -0
- data/lib/rex/proto/kerberos/model/pre_auth_enc_time_stamp.rb +126 -0
- data/lib/rex/proto/kerberos/model/pre_auth_pac_request.rb +81 -0
- data/lib/rex/proto/kerberos/model/principal_name.rb +116 -0
- data/lib/rex/proto/kerberos/model/ticket.rb +151 -0
- data/lib/rex/proto/kerberos/pac.rb +36 -0
- data/lib/rex/proto/kerberos/pac/client_info.rb +53 -0
- data/lib/rex/proto/kerberos/pac/element.rb +52 -0
- data/lib/rex/proto/kerberos/pac/logon_info.rb +566 -0
- data/lib/rex/proto/kerberos/pac/priv_svr_checksum.rb +29 -0
- data/lib/rex/proto/kerberos/pac/server_checksum.rb +30 -0
- data/lib/rex/proto/kerberos/pac/type.rb +121 -0
- data/lib/rex/proto/rmi.rb +7 -0
- data/lib/rex/proto/rmi/model.rb +31 -0
- data/lib/rex/proto/rmi/model/call.rb +60 -0
- data/lib/rex/proto/rmi/model/continuation.rb +76 -0
- data/lib/rex/proto/rmi/model/dgc_ack.rb +62 -0
- data/lib/rex/proto/rmi/model/element.rb +143 -0
- data/lib/rex/proto/rmi/model/output_header.rb +86 -0
- data/lib/rex/proto/rmi/model/ping.rb +41 -0
- data/lib/rex/proto/rmi/model/ping_ack.rb +41 -0
- data/lib/rex/proto/rmi/model/protocol_ack.rb +100 -0
- data/lib/rex/proto/rmi/model/return_data.rb +60 -0
- data/lib/rex/socket.rb +9 -1
- data/lib/rex/socket/tcp_server.rb +3 -0
- data/lib/rex/ui/text/dispatcher_shell.rb +4 -4
- data/lib/rex/ui/text/output/tee.rb +2 -0
- data/lib/rex/zip/samples/comment.rb +0 -0
- data/lib/rex/zip/samples/mkwar.rb +0 -0
- data/lib/rex/zip/samples/mkzip.rb +0 -0
- data/lib/rex/zip/samples/recursive.rb +0 -0
- data/rex.gemspec +1 -1
- metadata +56 -2
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# -*- coding: binary -*-
|
|
2
|
+
|
|
3
|
+
module Rex
|
|
4
|
+
module Proto
|
|
5
|
+
module Rmi
|
|
6
|
+
module Model
|
|
7
|
+
# This class provides a representation of an RMI output stream header
|
|
8
|
+
class OutputHeader < Element
|
|
9
|
+
|
|
10
|
+
# @!attribute signature
|
|
11
|
+
# @return [String] the Java RMI header signature
|
|
12
|
+
attr_accessor :signature
|
|
13
|
+
# @!attribute version
|
|
14
|
+
# @return [Fixnum] the Java RMI version
|
|
15
|
+
attr_accessor :version
|
|
16
|
+
# @!attribute protocol
|
|
17
|
+
# @return [Fixnum] the protocol where the the messages are wrapped within
|
|
18
|
+
attr_accessor :protocol
|
|
19
|
+
|
|
20
|
+
private
|
|
21
|
+
|
|
22
|
+
# Reads the signature from the IO
|
|
23
|
+
#
|
|
24
|
+
# @param io [IO] the IO to read from
|
|
25
|
+
# @return [String]
|
|
26
|
+
# @raise [RuntimeError] if fails to decode signature
|
|
27
|
+
def decode_signature(io)
|
|
28
|
+
signature = read_string(io, 4)
|
|
29
|
+
unless signature == SIGNATURE
|
|
30
|
+
raise ::RuntimeError, 'Failed to decode OutputHeader signature'
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
signature
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Reads the version from the IO
|
|
37
|
+
#
|
|
38
|
+
# @param io [IO] the IO to read from
|
|
39
|
+
# @return [Fixnum]
|
|
40
|
+
def decode_version(io)
|
|
41
|
+
version = read_short(io)
|
|
42
|
+
|
|
43
|
+
version
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Reads the protocol from the IO
|
|
47
|
+
#
|
|
48
|
+
# @param io [IO] the IO to read from
|
|
49
|
+
# @return [Fixnum]
|
|
50
|
+
# @raise [RuntimeError] if fails to decode the protocol
|
|
51
|
+
def decode_protocol(io)
|
|
52
|
+
valid_protocols = [STREAM_PROTOCOL, SINGLE_OP_PROTOCOL, MULTIPLEX_PROTOCOL]
|
|
53
|
+
protocol = read_byte(io)
|
|
54
|
+
|
|
55
|
+
unless valid_protocols.include?(protocol)
|
|
56
|
+
raise ::RuntimeError, 'Failed to decode OutputHeader protocol'
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
protocol
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Encodes the signature field
|
|
63
|
+
#
|
|
64
|
+
# @return [String]
|
|
65
|
+
def encode_signature
|
|
66
|
+
signature
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Encodes the version field
|
|
70
|
+
#
|
|
71
|
+
# @return [String]
|
|
72
|
+
def encode_version
|
|
73
|
+
[version].pack('n')
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# Encodes the protocol field
|
|
77
|
+
#
|
|
78
|
+
# @return [String]
|
|
79
|
+
def encode_protocol
|
|
80
|
+
[protocol].pack('C')
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: binary -*-
|
|
2
|
+
|
|
3
|
+
module Rex
|
|
4
|
+
module Proto
|
|
5
|
+
module Rmi
|
|
6
|
+
module Model
|
|
7
|
+
# This class provides a representation of an RMI Ping stream. A Ping is a message for testing
|
|
8
|
+
# livereness of a remote virtual machine.
|
|
9
|
+
class Ping < Element
|
|
10
|
+
|
|
11
|
+
# @!attribute stream_id
|
|
12
|
+
# @return [Fixnum] the input stream id
|
|
13
|
+
attr_accessor :stream_id
|
|
14
|
+
|
|
15
|
+
private
|
|
16
|
+
|
|
17
|
+
# Reads the stream id from the IO
|
|
18
|
+
#
|
|
19
|
+
# @param io [IO] the IO to read from
|
|
20
|
+
# @return [String]
|
|
21
|
+
# @raise [RuntimeError] if fails to decode stream id
|
|
22
|
+
def decode_stream_id(io)
|
|
23
|
+
stream_id = read_byte(io)
|
|
24
|
+
unless stream_id == PING_MESSAGE
|
|
25
|
+
raise ::RuntimeError, 'Failed to decode Ping stream id'
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
stream_id
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Encodes the stream_id field
|
|
32
|
+
#
|
|
33
|
+
# @return [String]
|
|
34
|
+
def encode_stream_id
|
|
35
|
+
[stream_id].pack('C')
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: binary -*-
|
|
2
|
+
|
|
3
|
+
module Rex
|
|
4
|
+
module Proto
|
|
5
|
+
module Rmi
|
|
6
|
+
module Model
|
|
7
|
+
# This class provides a representation of an RMI PingAck stream. A PingAck is the acknowledgement
|
|
8
|
+
# for a Ping message.
|
|
9
|
+
class PingAck < Element
|
|
10
|
+
|
|
11
|
+
# @!attribute stream_id
|
|
12
|
+
# @return [Fixnum] the input stream id
|
|
13
|
+
attr_accessor :stream_id
|
|
14
|
+
|
|
15
|
+
private
|
|
16
|
+
|
|
17
|
+
# Reads the stream id from the IO
|
|
18
|
+
#
|
|
19
|
+
# @param io [IO] the IO to read from
|
|
20
|
+
# @return [String]
|
|
21
|
+
# @raise [RuntimeError] if fails to decode stream id
|
|
22
|
+
def decode_stream_id(io)
|
|
23
|
+
stream_id = read_byte(io)
|
|
24
|
+
unless stream_id == PING_ACK
|
|
25
|
+
raise ::RuntimeError, 'Failed to decode PingAck stream id'
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
stream_id
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Encodes the stream_id field
|
|
32
|
+
#
|
|
33
|
+
# @return [String]
|
|
34
|
+
def encode_stream_id
|
|
35
|
+
[stream_id].pack('C')
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# -*- coding: binary -*-
|
|
2
|
+
|
|
3
|
+
module Rex
|
|
4
|
+
module Proto
|
|
5
|
+
module Rmi
|
|
6
|
+
module Model
|
|
7
|
+
# This class provides a representation of an RMI protocol ack input stream
|
|
8
|
+
class ProtocolAck < Element
|
|
9
|
+
|
|
10
|
+
# @!attribute stream_id
|
|
11
|
+
# @return [Fixnum] the input stream id
|
|
12
|
+
attr_accessor :stream_id
|
|
13
|
+
# @!attribute length
|
|
14
|
+
# @return [Fixnum] the end point address length
|
|
15
|
+
attr_accessor :length
|
|
16
|
+
# @!attribute address
|
|
17
|
+
# @return [String] the end point address
|
|
18
|
+
attr_accessor :address
|
|
19
|
+
# @!attribute port
|
|
20
|
+
# @return [Fixnum] the end point port
|
|
21
|
+
attr_accessor :port
|
|
22
|
+
|
|
23
|
+
private
|
|
24
|
+
|
|
25
|
+
# Reads the stream id from the IO
|
|
26
|
+
#
|
|
27
|
+
# @param io [IO] the IO to read from
|
|
28
|
+
# @return [String]
|
|
29
|
+
# @raise [RuntimeError] if fails to decode stream id
|
|
30
|
+
def decode_stream_id(io)
|
|
31
|
+
stream_id = read_byte(io)
|
|
32
|
+
unless stream_id == PROTOCOL_ACK
|
|
33
|
+
raise ::RuntimeError, 'Failed to decode ProtocolAck stream id'
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
stream_id
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Reads the end point identifier address length from the IO
|
|
40
|
+
#
|
|
41
|
+
# @param io [IO] the IO to read from
|
|
42
|
+
# @return [Fixnum]
|
|
43
|
+
def decode_length(io)
|
|
44
|
+
length = read_short(io)
|
|
45
|
+
|
|
46
|
+
length
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Reads the end point address from the IO
|
|
50
|
+
#
|
|
51
|
+
# @param io [IO] the IO to read from
|
|
52
|
+
# @return [String]
|
|
53
|
+
def decode_address(io)
|
|
54
|
+
version = read_string(io, length)
|
|
55
|
+
|
|
56
|
+
version
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Reads the end point port from the IO
|
|
60
|
+
#
|
|
61
|
+
# @param io [IO] the IO to read from
|
|
62
|
+
# @return [Fixnum]
|
|
63
|
+
def decode_port(io)
|
|
64
|
+
port = read_int(io)
|
|
65
|
+
|
|
66
|
+
port
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Encodes the stream_id field
|
|
70
|
+
#
|
|
71
|
+
# @return [String]
|
|
72
|
+
def encode_stream_id
|
|
73
|
+
[stream_id].pack('C')
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# Encodes the length field
|
|
77
|
+
#
|
|
78
|
+
# @return [String]
|
|
79
|
+
def encode_length
|
|
80
|
+
[length].pack('n')
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Encodes the address field
|
|
84
|
+
#
|
|
85
|
+
# @return [String]
|
|
86
|
+
def encode_address
|
|
87
|
+
address
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Encodes the port field
|
|
91
|
+
#
|
|
92
|
+
# @return [String]
|
|
93
|
+
def encode_port
|
|
94
|
+
[port].pack('N')
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# -*- coding: binary -*-
|
|
2
|
+
|
|
3
|
+
module Rex
|
|
4
|
+
module Proto
|
|
5
|
+
module Rmi
|
|
6
|
+
module Model
|
|
7
|
+
# This class provides a representation of an RMI return data stream
|
|
8
|
+
class ReturnData < Element
|
|
9
|
+
|
|
10
|
+
# @!attribute stream_id
|
|
11
|
+
# @return [Fixnum] the stream id
|
|
12
|
+
attr_accessor :stream_id
|
|
13
|
+
# @!attribute return value
|
|
14
|
+
# @return [Rex::Java::Serialization::Model::Stream] the serialized return data
|
|
15
|
+
attr_accessor :return_value
|
|
16
|
+
|
|
17
|
+
private
|
|
18
|
+
|
|
19
|
+
# Reads the stream id from the IO
|
|
20
|
+
#
|
|
21
|
+
# @param io [IO] the IO to read from
|
|
22
|
+
# @return [String]
|
|
23
|
+
# @raise [RuntimeError] if fails to decode the stream id
|
|
24
|
+
def decode_stream_id(io)
|
|
25
|
+
stream_id = read_byte(io)
|
|
26
|
+
unless stream_id == RETURN_DATA
|
|
27
|
+
raise ::RuntimeError, 'Failed to decode ReturnData stream id'
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
stream_id
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Reads and deserializes the return value from the IO
|
|
34
|
+
#
|
|
35
|
+
# @param io [IO] the IO to read from
|
|
36
|
+
# @return [Rex::Java::Serialization::Model::Stream]
|
|
37
|
+
def decode_return_value(io)
|
|
38
|
+
return_value = Rex::Java::Serialization::Model::Stream.decode(io)
|
|
39
|
+
|
|
40
|
+
return_value
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Encodes the stream_id field
|
|
44
|
+
#
|
|
45
|
+
# @return [String]
|
|
46
|
+
def encode_stream_id
|
|
47
|
+
[stream_id].pack('C')
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Encodes the return_value field
|
|
51
|
+
#
|
|
52
|
+
# @return [String]
|
|
53
|
+
def encode_return_value
|
|
54
|
+
return_value.encode
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
data/lib/rex/socket.rb
CHANGED
|
@@ -732,7 +732,15 @@ module Socket
|
|
|
732
732
|
# Return peer connection information.
|
|
733
733
|
#
|
|
734
734
|
def getpeername
|
|
735
|
-
|
|
735
|
+
peer_name = nil
|
|
736
|
+
begin
|
|
737
|
+
peer_name = Socket.from_sockaddr(super)
|
|
738
|
+
rescue ::Errno::EINVAL => e
|
|
739
|
+
# Ruby's getpeername method may call rb_sys_fail("getpeername(2)")
|
|
740
|
+
elog("#{e.message} (#{e.class})#{e.backtrace * "\n"}\n", 'core', LEV_3)
|
|
741
|
+
end
|
|
742
|
+
|
|
743
|
+
return peer_name
|
|
736
744
|
end
|
|
737
745
|
|
|
738
746
|
#
|
|
@@ -105,7 +105,7 @@ module DispatcherShell
|
|
|
105
105
|
print_error "The #{cmd} command is DEPRECATED"
|
|
106
106
|
if cmd == "db_autopwn"
|
|
107
107
|
print_error "See http://r-7.co/xY65Zr instead"
|
|
108
|
-
elsif method and self.respond_to?("cmd_#{method}")
|
|
108
|
+
elsif method and self.respond_to?("cmd_#{method}", true)
|
|
109
109
|
print_error "Use #{method} instead"
|
|
110
110
|
self.send("cmd_#{method}", *args)
|
|
111
111
|
end
|
|
@@ -116,7 +116,7 @@ module DispatcherShell
|
|
|
116
116
|
print_error "The #{cmd} command is DEPRECATED"
|
|
117
117
|
if cmd == "db_autopwn"
|
|
118
118
|
print_error "See http://r-7.co/xY65Zr instead"
|
|
119
|
-
elsif method and self.respond_to?("cmd_#{method}_help")
|
|
119
|
+
elsif method and self.respond_to?("cmd_#{method}_help", true)
|
|
120
120
|
print_error "Use 'help #{method}' instead"
|
|
121
121
|
self.send("cmd_#{method}_help")
|
|
122
122
|
end
|
|
@@ -150,9 +150,9 @@ module DispatcherShell
|
|
|
150
150
|
next if (dispatcher.commands.nil?)
|
|
151
151
|
next if (dispatcher.commands.length == 0)
|
|
152
152
|
|
|
153
|
-
if dispatcher.respond_to?("cmd_#{cmd}")
|
|
153
|
+
if dispatcher.respond_to?("cmd_#{cmd}", true)
|
|
154
154
|
cmd_found = true
|
|
155
|
-
break unless dispatcher.respond_to?
|
|
155
|
+
break unless dispatcher.respond_to?("cmd_#{cmd}_help", true)
|
|
156
156
|
dispatcher.send("cmd_#{cmd}_help")
|
|
157
157
|
help_found = true
|
|
158
158
|
break
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/rex.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- HD Moore
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2015-02-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: Rex provides a variety of classes useful for security testing and exploit
|
|
15
15
|
development.
|
|
@@ -110,6 +110,7 @@ files:
|
|
|
110
110
|
- lib/rex/io/stream_server.rb
|
|
111
111
|
- lib/rex/java.rb
|
|
112
112
|
- lib/rex/java/serialization.rb
|
|
113
|
+
- lib/rex/java/serialization/builder.rb
|
|
113
114
|
- lib/rex/java/serialization/model.rb
|
|
114
115
|
- lib/rex/java/serialization/model/annotation.rb
|
|
115
116
|
- lib/rex/java/serialization/model/block_data.rb
|
|
@@ -175,6 +176,7 @@ files:
|
|
|
175
176
|
- lib/rex/parser/burp_session_nokogiri.rb
|
|
176
177
|
- lib/rex/parser/ci_nokogiri.rb
|
|
177
178
|
- lib/rex/parser/foundstone_nokogiri.rb
|
|
179
|
+
- lib/rex/parser/fs/ntfs.rb
|
|
178
180
|
- lib/rex/parser/fusionvm_nokogiri.rb
|
|
179
181
|
- lib/rex/parser/group_policy_preferences.rb
|
|
180
182
|
- lib/rex/parser/ini.rb
|
|
@@ -370,6 +372,9 @@ files:
|
|
|
370
372
|
- lib/rex/post/thread.rb
|
|
371
373
|
- lib/rex/post/ui.rb
|
|
372
374
|
- lib/rex/proto.rb
|
|
375
|
+
- lib/rex/proto/acpp.rb
|
|
376
|
+
- lib/rex/proto/acpp/client.rb
|
|
377
|
+
- lib/rex/proto/acpp/message.rb
|
|
373
378
|
- lib/rex/proto/addp.rb
|
|
374
379
|
- lib/rex/proto/dcerpc.rb
|
|
375
380
|
- lib/rex/proto/dcerpc/client.rb
|
|
@@ -422,6 +427,44 @@ files:
|
|
|
422
427
|
- lib/rex/proto/kademlia/ping.rb
|
|
423
428
|
- lib/rex/proto/kademlia/pong.rb
|
|
424
429
|
- lib/rex/proto/kademlia/util.rb
|
|
430
|
+
- lib/rex/proto/kerberos.rb
|
|
431
|
+
- lib/rex/proto/kerberos/client.rb
|
|
432
|
+
- lib/rex/proto/kerberos/credential_cache.rb
|
|
433
|
+
- lib/rex/proto/kerberos/credential_cache/cache.rb
|
|
434
|
+
- lib/rex/proto/kerberos/credential_cache/credential.rb
|
|
435
|
+
- lib/rex/proto/kerberos/credential_cache/element.rb
|
|
436
|
+
- lib/rex/proto/kerberos/credential_cache/key_block.rb
|
|
437
|
+
- lib/rex/proto/kerberos/credential_cache/principal.rb
|
|
438
|
+
- lib/rex/proto/kerberos/credential_cache/time.rb
|
|
439
|
+
- lib/rex/proto/kerberos/crypto.rb
|
|
440
|
+
- lib/rex/proto/kerberos/crypto/rc4_hmac.rb
|
|
441
|
+
- lib/rex/proto/kerberos/crypto/rsa_md5.rb
|
|
442
|
+
- lib/rex/proto/kerberos/model.rb
|
|
443
|
+
- lib/rex/proto/kerberos/model/ap_req.rb
|
|
444
|
+
- lib/rex/proto/kerberos/model/authenticator.rb
|
|
445
|
+
- lib/rex/proto/kerberos/model/authorization_data.rb
|
|
446
|
+
- lib/rex/proto/kerberos/model/checksum.rb
|
|
447
|
+
- lib/rex/proto/kerberos/model/element.rb
|
|
448
|
+
- lib/rex/proto/kerberos/model/enc_kdc_response.rb
|
|
449
|
+
- lib/rex/proto/kerberos/model/encrypted_data.rb
|
|
450
|
+
- lib/rex/proto/kerberos/model/encryption_key.rb
|
|
451
|
+
- lib/rex/proto/kerberos/model/kdc_request.rb
|
|
452
|
+
- lib/rex/proto/kerberos/model/kdc_request_body.rb
|
|
453
|
+
- lib/rex/proto/kerberos/model/kdc_response.rb
|
|
454
|
+
- lib/rex/proto/kerberos/model/krb_error.rb
|
|
455
|
+
- lib/rex/proto/kerberos/model/last_request.rb
|
|
456
|
+
- lib/rex/proto/kerberos/model/pre_auth_data.rb
|
|
457
|
+
- lib/rex/proto/kerberos/model/pre_auth_enc_time_stamp.rb
|
|
458
|
+
- lib/rex/proto/kerberos/model/pre_auth_pac_request.rb
|
|
459
|
+
- lib/rex/proto/kerberos/model/principal_name.rb
|
|
460
|
+
- lib/rex/proto/kerberos/model/ticket.rb
|
|
461
|
+
- lib/rex/proto/kerberos/pac.rb
|
|
462
|
+
- lib/rex/proto/kerberos/pac/client_info.rb
|
|
463
|
+
- lib/rex/proto/kerberos/pac/element.rb
|
|
464
|
+
- lib/rex/proto/kerberos/pac/logon_info.rb
|
|
465
|
+
- lib/rex/proto/kerberos/pac/priv_svr_checksum.rb
|
|
466
|
+
- lib/rex/proto/kerberos/pac/server_checksum.rb
|
|
467
|
+
- lib/rex/proto/kerberos/pac/type.rb
|
|
425
468
|
- lib/rex/proto/natpmp.rb
|
|
426
469
|
- lib/rex/proto/natpmp/constants.rb
|
|
427
470
|
- lib/rex/proto/natpmp/packet.rb
|
|
@@ -444,6 +487,17 @@ files:
|
|
|
444
487
|
- lib/rex/proto/rfb/cipher.rb
|
|
445
488
|
- lib/rex/proto/rfb/client.rb
|
|
446
489
|
- lib/rex/proto/rfb/constants.rb
|
|
490
|
+
- lib/rex/proto/rmi.rb
|
|
491
|
+
- lib/rex/proto/rmi/model.rb
|
|
492
|
+
- lib/rex/proto/rmi/model/call.rb
|
|
493
|
+
- lib/rex/proto/rmi/model/continuation.rb
|
|
494
|
+
- lib/rex/proto/rmi/model/dgc_ack.rb
|
|
495
|
+
- lib/rex/proto/rmi/model/element.rb
|
|
496
|
+
- lib/rex/proto/rmi/model/output_header.rb
|
|
497
|
+
- lib/rex/proto/rmi/model/ping.rb
|
|
498
|
+
- lib/rex/proto/rmi/model/ping_ack.rb
|
|
499
|
+
- lib/rex/proto/rmi/model/protocol_ack.rb
|
|
500
|
+
- lib/rex/proto/rmi/model/return_data.rb
|
|
447
501
|
- lib/rex/proto/sip.rb
|
|
448
502
|
- lib/rex/proto/sip/response.rb
|
|
449
503
|
- lib/rex/proto/smb.rb
|