librex 0.0.5 → 0.0.6
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.
- data/README.md +1 -1
- data/Rakefile +13 -0
- data/lib/rex.rb +4 -1
- data/lib/rex/assembly/nasm.rb +4 -0
- data/lib/rex/compat.rb +31 -1
- data/lib/rex/encoder/alpha2/generic.rb +11 -10
- data/lib/rex/exceptions.rb +1 -1
- data/lib/rex/exploitation/egghunter.rb +27 -0
- data/lib/rex/file.rb +13 -0
- data/lib/rex/io/stream.rb +9 -1
- data/lib/rex/io/stream_abstraction.rb +18 -7
- data/lib/rex/io/stream_server.rb +2 -2
- data/lib/rex/job_container.rb +1 -1
- data/lib/rex/mime/message.rb +5 -4
- data/lib/rex/ole.rb +83 -6
- data/lib/rex/ole/propset.rb +144 -0
- data/lib/rex/parser/ip360_aspl_xml.rb +102 -0
- data/lib/rex/parser/ip360_xml.rb +93 -0
- data/lib/rex/parser/nessus_xml.rb +118 -0
- data/lib/rex/parser/netsparker_xml.rb +94 -0
- data/lib/rex/parser/retina_xml.rb +109 -0
- data/lib/rex/post/meterpreter/channel.rb +15 -8
- data/lib/rex/post/meterpreter/client.rb +32 -3
- data/lib/rex/post/meterpreter/extensions/sniffer/sniffer.rb +1 -1
- data/lib/rex/post/meterpreter/extensions/stdapi/fs/dir.rb +14 -5
- data/lib/rex/post/meterpreter/extensions/stdapi/fs/file.rb +1 -1
- data/lib/rex/post/meterpreter/extensions/stdapi/net/socket.rb +3 -3
- data/lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/tcp_client_channel.rb +1 -1
- data/lib/rex/post/meterpreter/extensions/stdapi/net/socket_subsystem/udp_channel.rb +1 -1
- data/lib/rex/post/meterpreter/extensions/stdapi/stdapi.rb +5 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/event_log.rb +16 -8
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/process.rb +16 -7
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/process_subsystem/image.rb +1 -1
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_key.rb +15 -4
- data/lib/rex/post/meterpreter/extensions/stdapi/sys/thread.rb +13 -7
- data/lib/rex/post/meterpreter/extensions/stdapi/tlv.rb +20 -0
- data/lib/rex/post/meterpreter/extensions/stdapi/webcam/webcam.rb +63 -0
- data/lib/rex/post/meterpreter/packet_dispatcher.rb +18 -7
- data/lib/rex/post/meterpreter/packet_response_waiter.rb +10 -17
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb +1 -1
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/networkpug.rb +16 -6
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/sniffer.rb +4 -5
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb +2 -0
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb +4 -2
- data/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/webcam.rb +157 -0
- data/lib/rex/proto/dhcp/server.rb +8 -4
- data/lib/rex/proto/http/client.rb +19 -45
- data/lib/rex/proto/http/packet.rb +8 -5
- data/lib/rex/proto/http/response.rb +8 -3
- data/lib/rex/proto/http/server.rb +1 -1
- data/lib/rex/proto/proxy/socks4a.rb +4 -4
- data/lib/rex/proto/rfb.rb +19 -0
- data/lib/rex/proto/rfb.rb.ut.rb +37 -0
- data/lib/rex/proto/rfb/cipher.rb +78 -0
- data/lib/rex/proto/rfb/client.rb +207 -0
- data/lib/rex/proto/rfb/constants.rb +52 -0
- data/lib/rex/proto/tftp/server.rb +20 -17
- data/lib/rex/services/local_relay.rb +1 -1
- data/lib/rex/socket.rb +69 -10
- data/lib/rex/socket/comm/local.rb +7 -4
- data/lib/rex/socket/range_walker.rb +14 -1
- data/lib/rex/text.rb +28 -3
- data/lib/rex/text.rb.ut.rb +14 -0
- data/lib/rex/thread_factory.rb +42 -0
- data/lib/rex/ui/text/input/buffer.rb +1 -1
- data/lib/rex/zip/archive.rb +74 -9
- data/lib/rex/zip/entry.rb +6 -1
- metadata +22 -7
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: librex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 19
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Metasploit Development Team
|
@@ -16,11 +16,11 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date:
|
19
|
+
date: 2011-01-04 00:00:00 -06:00
|
20
20
|
default_executable:
|
21
21
|
dependencies: []
|
22
22
|
|
23
|
-
description: Rex provides a variety of classes useful for security testing and exploit development. Based on svn revision
|
23
|
+
description: Rex provides a variety of classes useful for security testing and exploit development. Based on svn revision 11474
|
24
24
|
email:
|
25
25
|
- hdm@metasploit.com
|
26
26
|
- jacob.hammack@hammackj.com
|
@@ -31,6 +31,7 @@ extensions: []
|
|
31
31
|
extra_rdoc_files:
|
32
32
|
- README.md
|
33
33
|
files:
|
34
|
+
- Rakefile
|
34
35
|
- README.md
|
35
36
|
- lib/rex/arch/sparc.rb
|
36
37
|
- lib/rex/arch/sparc.rb.ut.rb
|
@@ -142,6 +143,7 @@ files:
|
|
142
143
|
- lib/rex/ole/fat.rb
|
143
144
|
- lib/rex/ole/header.rb
|
144
145
|
- lib/rex/ole/minifat.rb
|
146
|
+
- lib/rex/ole/propset.rb
|
145
147
|
- lib/rex/ole/samples/create_ole.rb
|
146
148
|
- lib/rex/ole/samples/dir.rb
|
147
149
|
- lib/rex/ole/samples/dump_stream.rb
|
@@ -155,8 +157,13 @@ files:
|
|
155
157
|
- lib/rex/parser/arguments.rb.ut.rb
|
156
158
|
- lib/rex/parser/ini.rb
|
157
159
|
- lib/rex/parser/ini.rb.ut.rb
|
160
|
+
- lib/rex/parser/ip360_aspl_xml.rb
|
161
|
+
- lib/rex/parser/ip360_xml.rb
|
162
|
+
- lib/rex/parser/nessus_xml.rb
|
163
|
+
- lib/rex/parser/netsparker_xml.rb
|
158
164
|
- lib/rex/parser/nexpose_xml.rb
|
159
165
|
- lib/rex/parser/nmap_xml.rb
|
166
|
+
- lib/rex/parser/retina_xml.rb
|
160
167
|
- lib/rex/payloads/win32/common.rb
|
161
168
|
- lib/rex/payloads/win32/kernel/common.rb
|
162
169
|
- lib/rex/payloads/win32/kernel/migration.rb
|
@@ -248,6 +255,7 @@ files:
|
|
248
255
|
- lib/rex/post/meterpreter/extensions/stdapi/sys/thread.rb
|
249
256
|
- lib/rex/post/meterpreter/extensions/stdapi/tlv.rb
|
250
257
|
- lib/rex/post/meterpreter/extensions/stdapi/ui.rb
|
258
|
+
- lib/rex/post/meterpreter/extensions/stdapi/webcam/webcam.rb
|
251
259
|
- lib/rex/post/meterpreter/inbound_packet_handler.rb
|
252
260
|
- lib/rex/post/meterpreter/object_aliases.rb
|
253
261
|
- lib/rex/post/meterpreter/packet.rb
|
@@ -267,6 +275,7 @@ files:
|
|
267
275
|
- lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/net.rb
|
268
276
|
- lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/sys.rb
|
269
277
|
- lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb
|
278
|
+
- lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/webcam.rb
|
270
279
|
- lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
|
271
280
|
- lib/rex/post/meterpreter/ui/console/command_dispatcher.rb
|
272
281
|
- lib/rex/post/meterpreter/ui/console/interactive_channel.rb
|
@@ -324,6 +333,11 @@ files:
|
|
324
333
|
- lib/rex/proto/http.rb
|
325
334
|
- lib/rex/proto/http.rb.ts.rb
|
326
335
|
- lib/rex/proto/proxy/socks4a.rb
|
336
|
+
- lib/rex/proto/rfb/cipher.rb
|
337
|
+
- lib/rex/proto/rfb/client.rb
|
338
|
+
- lib/rex/proto/rfb/constants.rb
|
339
|
+
- lib/rex/proto/rfb.rb
|
340
|
+
- lib/rex/proto/rfb.rb.ut.rb
|
327
341
|
- lib/rex/proto/smb/client.rb
|
328
342
|
- lib/rex/proto/smb/client.rb.ut.rb
|
329
343
|
- lib/rex/proto/smb/constants.rb
|
@@ -395,6 +409,7 @@ files:
|
|
395
409
|
- lib/rex/test.rb
|
396
410
|
- lib/rex/text.rb
|
397
411
|
- lib/rex/text.rb.ut.rb
|
412
|
+
- lib/rex/thread_factory.rb
|
398
413
|
- lib/rex/time.rb
|
399
414
|
- lib/rex/transformer.rb
|
400
415
|
- lib/rex/transformer.rb.ut.rb
|
@@ -465,7 +480,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
465
480
|
requirements: []
|
466
481
|
|
467
482
|
rubyforge_project:
|
468
|
-
rubygems_version: 1.
|
483
|
+
rubygems_version: 1.4.1
|
469
484
|
signing_key:
|
470
485
|
specification_version: 3
|
471
486
|
summary: Ruby Exploitation library
|