ronin-support 0.4.1 → 0.5.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. data/ChangeLog.md +75 -32
  2. data/Gemfile +17 -18
  3. data/README.md +9 -10
  4. data/Rakefile +10 -2
  5. data/gemspec.yml +1 -1
  6. data/lib/ronin/binary.rb +21 -0
  7. data/lib/ronin/binary/hexdump.rb +20 -0
  8. data/lib/ronin/binary/hexdump/parser.rb +411 -0
  9. data/lib/ronin/binary/struct.rb +579 -0
  10. data/lib/ronin/binary/template.rb +437 -0
  11. data/lib/ronin/extensions/ip_addr.rb +17 -13
  12. data/lib/ronin/extensions/regexp.rb +45 -0
  13. data/lib/ronin/extensions/string.rb +3 -3
  14. data/lib/ronin/formatting/extensions/binary.rb +1 -0
  15. data/lib/ronin/formatting/extensions/binary/array.rb +63 -0
  16. data/lib/ronin/formatting/extensions/binary/base64.rb +106 -0
  17. data/lib/ronin/formatting/extensions/binary/file.rb +39 -6
  18. data/lib/ronin/formatting/extensions/binary/float.rb +65 -0
  19. data/lib/ronin/formatting/extensions/binary/integer.rb +56 -43
  20. data/lib/ronin/formatting/extensions/binary/string.rb +75 -187
  21. data/lib/ronin/formatting/extensions/text/string.rb +61 -0
  22. data/lib/ronin/fuzzing/extensions/string.rb +21 -8
  23. data/lib/ronin/fuzzing/fuzzing.rb +19 -17
  24. data/lib/ronin/network.rb +2 -1
  25. data/lib/ronin/network/dns.rb +57 -15
  26. data/lib/ronin/network/extensions.rb +0 -1
  27. data/lib/ronin/network/ftp.rb +145 -0
  28. data/lib/ronin/network/http/http.rb +13 -14
  29. data/lib/ronin/network/imap.rb +11 -10
  30. data/lib/ronin/network/mixins.rb +1 -0
  31. data/lib/ronin/network/mixins/ftp.rb +155 -0
  32. data/lib/ronin/network/mixins/ssl.rb +1 -1
  33. data/lib/ronin/network/mixins/tcp.rb +39 -6
  34. data/lib/ronin/network/mixins/udp.rb +121 -1
  35. data/lib/ronin/network/mixins/unix.rb +279 -0
  36. data/lib/ronin/network/pop3.rb +5 -5
  37. data/lib/ronin/network/proxy.rb +578 -0
  38. data/lib/ronin/network/smtp/email.rb +1 -1
  39. data/lib/ronin/network/smtp/smtp.rb +7 -8
  40. data/lib/ronin/network/ssl.rb +1 -6
  41. data/lib/ronin/network/tcp.rb +2 -305
  42. data/lib/ronin/network/tcp/proxy.rb +377 -0
  43. data/lib/ronin/network/tcp/tcp.rb +435 -0
  44. data/lib/ronin/network/telnet.rb +27 -23
  45. data/lib/ronin/network/udp.rb +2 -266
  46. data/lib/ronin/network/udp/proxy.rb +169 -0
  47. data/lib/ronin/network/udp/udp.rb +442 -0
  48. data/lib/ronin/network/unix.rb +287 -0
  49. data/lib/ronin/path.rb +2 -2
  50. data/lib/ronin/spec/ui/output.rb +1 -7
  51. data/lib/ronin/support.rb +1 -0
  52. data/lib/ronin/support/inflector.rb +3 -7
  53. data/lib/ronin/support/support.rb +2 -1
  54. data/lib/ronin/support/version.rb +1 -1
  55. data/lib/ronin/ui/output/helpers.rb +13 -15
  56. data/lib/ronin/ui/output/output.rb +2 -2
  57. data/lib/ronin/ui/output/terminal/color.rb +10 -4
  58. data/lib/ronin/wordlist.rb +92 -17
  59. data/ronin-support.gemspec +38 -109
  60. data/spec/binary/hexdump/helpers/hexdumps.rb +13 -0
  61. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/ascii.bin +0 -0
  62. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/hexdump_decimal_shorts.txt +0 -0
  63. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/hexdump_hex_bytes.txt +0 -0
  64. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/hexdump_hex_shorts.txt +0 -0
  65. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/hexdump_octal_bytes.txt +0 -0
  66. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/hexdump_octal_shorts.txt +0 -0
  67. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/hexdump_repeated.txt +0 -0
  68. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/od_decimal_bytes.txt +0 -0
  69. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/od_decimal_ints.txt +0 -0
  70. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/od_decimal_quads.txt +0 -0
  71. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/od_decimal_shorts.txt +0 -0
  72. data/spec/binary/hexdump/helpers/hexdumps/od_doubles.txt +17 -0
  73. data/spec/binary/hexdump/helpers/hexdumps/od_floats.txt +17 -0
  74. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/od_hex_bytes.txt +0 -0
  75. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/od_hex_ints.txt +0 -0
  76. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/od_hex_quads.txt +0 -0
  77. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/od_hex_shorts.txt +0 -0
  78. data/spec/binary/hexdump/helpers/hexdumps/od_named_chars.txt +17 -0
  79. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/od_octal_bytes.txt +0 -0
  80. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/od_octal_ints.txt +0 -0
  81. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/od_octal_quads.txt +0 -0
  82. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/od_octal_shorts.txt +0 -0
  83. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/od_repeated.txt +0 -0
  84. data/spec/{formatting/binary → binary/hexdump}/helpers/hexdumps/repeated.bin +0 -0
  85. data/spec/binary/hexdump/parser_spec.rb +302 -0
  86. data/spec/binary/struct_spec.rb +496 -0
  87. data/spec/binary/template_spec.rb +400 -0
  88. data/spec/extensions/ip_addr_spec.rb +58 -32
  89. data/spec/extensions/regexp_spec.rb +60 -0
  90. data/spec/extensions/string_spec.rb +1 -1
  91. data/spec/formatting/binary/array_spec.rb +22 -0
  92. data/spec/formatting/binary/base64_spec.rb +50 -0
  93. data/spec/formatting/binary/float_spec.rb +30 -0
  94. data/spec/formatting/binary/integer_spec.rb +54 -40
  95. data/spec/formatting/binary/string_spec.rb +69 -182
  96. data/spec/formatting/text/string_spec.rb +30 -0
  97. data/spec/network/dns_spec.rb +64 -0
  98. data/spec/network/ftp_spec.rb +65 -0
  99. data/spec/network/proxy_spec.rb +121 -0
  100. data/spec/network/shared/unix_server.rb +31 -0
  101. data/spec/network/tcp/proxy_spec.rb +116 -0
  102. data/spec/network/{tcp_spec.rb → tcp/tcp_spec.rb} +24 -1
  103. data/spec/network/telnet_spec.rb +67 -0
  104. data/spec/network/{udp_spec.rb → udp/udp_spec.rb} +24 -1
  105. data/spec/network/unix_spec.rb +183 -0
  106. data/spec/wordlist_spec.rb +74 -13
  107. metadata +129 -85
  108. data/spec/formatting/binary/helpers/hexdumps.rb +0 -16
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ronin-support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
5
- prerelease:
4
+ version: 0.5.0.rc1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Postmodern
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-02 00:00:00.000000000 Z
12
+ date: 2012-05-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chars
16
- requirement: &17665600 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '0.2'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *17665600
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '0.2'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: hexdump
27
- requirement: &17664640 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '0.1'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *17664640
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '0.1'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: combinatorics
38
- requirement: &17663420 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '0.4'
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *17663420
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '0.4'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: uri-query_params
49
- requirement: &17646180 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: '0.6'
55
70
  type: :runtime
56
71
  prerelease: false
57
- version_requirements: *17646180
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '0.6'
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: data_paths
60
- requirement: &17645620 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ~>
@@ -65,10 +85,15 @@ dependencies:
65
85
  version: '0.3'
66
86
  type: :runtime
67
87
  prerelease: false
68
- version_requirements: *17645620
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '0.3'
69
94
  - !ruby/object:Gem::Dependency
70
95
  name: parameters
71
- requirement: &17645080 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
72
97
  none: false
73
98
  requirements:
74
99
  - - ~>
@@ -76,10 +101,15 @@ dependencies:
76
101
  version: '0.4'
77
102
  type: :runtime
78
103
  prerelease: false
79
- version_requirements: *17645080
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: '0.4'
80
110
  - !ruby/object:Gem::Dependency
81
111
  name: bundler
82
- requirement: &17644240 !ruby/object:Gem::Requirement
112
+ requirement: !ruby/object:Gem::Requirement
83
113
  none: false
84
114
  requirements:
85
115
  - - ~>
@@ -87,21 +117,31 @@ dependencies:
87
117
  version: '1.0'
88
118
  type: :development
89
119
  prerelease: false
90
- version_requirements: *17644240
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: '1.0'
91
126
  - !ruby/object:Gem::Dependency
92
127
  name: yard
93
- requirement: &17643400 !ruby/object:Gem::Requirement
128
+ requirement: !ruby/object:Gem::Requirement
94
129
  none: false
95
130
  requirements:
96
131
  - - ~>
97
132
  - !ruby/object:Gem::Version
98
- version: '0.7'
133
+ version: '0.8'
99
134
  type: :development
100
135
  prerelease: false
101
- version_requirements: *17643400
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: '0.8'
102
142
  - !ruby/object:Gem::Dependency
103
143
  name: yard-parameters
104
- requirement: &17642480 !ruby/object:Gem::Requirement
144
+ requirement: !ruby/object:Gem::Requirement
105
145
  none: false
106
146
  requirements:
107
147
  - - ~>
@@ -109,13 +149,21 @@ dependencies:
109
149
  version: '0.1'
110
150
  type: :development
111
151
  prerelease: false
112
- version_requirements: *17642480
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ~>
156
+ - !ruby/object:Gem::Version
157
+ version: '0.1'
113
158
  description: Ronin Support is a support library for Ronin. Ronin Support contains
114
159
  many of the convenience methods used by Ronin and additional libraries.
115
160
  email: postmodern.mod3@gmail.com
116
161
  executables: []
117
162
  extensions: []
118
- extra_rdoc_files: []
163
+ extra_rdoc_files:
164
+ - COPYING.txt
165
+ - ChangeLog.md
166
+ - README.md
119
167
  files:
120
168
  - .document
121
169
  - .gemtest
@@ -128,6 +176,11 @@ files:
128
176
  - README.md
129
177
  - Rakefile
130
178
  - gemspec.yml
179
+ - lib/ronin/binary.rb
180
+ - lib/ronin/binary/hexdump.rb
181
+ - lib/ronin/binary/hexdump/parser.rb
182
+ - lib/ronin/binary/struct.rb
183
+ - lib/ronin/binary/template.rb
131
184
  - lib/ronin/extensions.rb
132
185
  - lib/ronin/extensions/enumerable.rb
133
186
  - lib/ronin/extensions/file.rb
@@ -143,7 +196,10 @@ files:
143
196
  - lib/ronin/formatting/digest.rb
144
197
  - lib/ronin/formatting/extensions.rb
145
198
  - lib/ronin/formatting/extensions/binary.rb
199
+ - lib/ronin/formatting/extensions/binary/array.rb
200
+ - lib/ronin/formatting/extensions/binary/base64.rb
146
201
  - lib/ronin/formatting/extensions/binary/file.rb
202
+ - lib/ronin/formatting/extensions/binary/float.rb
147
203
  - lib/ronin/formatting/extensions/binary/integer.rb
148
204
  - lib/ronin/formatting/extensions/binary/string.rb
149
205
  - lib/ronin/formatting/extensions/digest.rb
@@ -194,6 +250,7 @@ files:
194
250
  - lib/ronin/network/extensions/telnet/net.rb
195
251
  - lib/ronin/network/extensions/udp.rb
196
252
  - lib/ronin/network/extensions/udp/net.rb
253
+ - lib/ronin/network/ftp.rb
197
254
  - lib/ronin/network/http.rb
198
255
  - lib/ronin/network/http/exceptions.rb
199
256
  - lib/ronin/network/http/exceptions/unknown_request.rb
@@ -203,6 +260,7 @@ files:
203
260
  - lib/ronin/network/mixins.rb
204
261
  - lib/ronin/network/mixins/dns.rb
205
262
  - lib/ronin/network/mixins/esmtp.rb
263
+ - lib/ronin/network/mixins/ftp.rb
206
264
  - lib/ronin/network/mixins/http.rb
207
265
  - lib/ronin/network/mixins/imap.rb
208
266
  - lib/ronin/network/mixins/mixin.rb
@@ -212,15 +270,22 @@ files:
212
270
  - lib/ronin/network/mixins/tcp.rb
213
271
  - lib/ronin/network/mixins/telnet.rb
214
272
  - lib/ronin/network/mixins/udp.rb
273
+ - lib/ronin/network/mixins/unix.rb
215
274
  - lib/ronin/network/network.rb
216
275
  - lib/ronin/network/pop3.rb
276
+ - lib/ronin/network/proxy.rb
217
277
  - lib/ronin/network/smtp.rb
218
278
  - lib/ronin/network/smtp/email.rb
219
279
  - lib/ronin/network/smtp/smtp.rb
220
280
  - lib/ronin/network/ssl.rb
221
281
  - lib/ronin/network/tcp.rb
282
+ - lib/ronin/network/tcp/proxy.rb
283
+ - lib/ronin/network/tcp/tcp.rb
222
284
  - lib/ronin/network/telnet.rb
223
285
  - lib/ronin/network/udp.rb
286
+ - lib/ronin/network/udp/proxy.rb
287
+ - lib/ronin/network/udp/udp.rb
288
+ - lib/ronin/network/unix.rb
224
289
  - lib/ronin/path.rb
225
290
  - lib/ronin/spec/ui/output.rb
226
291
  - lib/ronin/support.rb
@@ -239,6 +304,34 @@ files:
239
304
  - lib/ronin/ui/shell.rb
240
305
  - lib/ronin/wordlist.rb
241
306
  - ronin-support.gemspec
307
+ - spec/binary/hexdump/helpers/hexdumps.rb
308
+ - spec/binary/hexdump/helpers/hexdumps/ascii.bin
309
+ - spec/binary/hexdump/helpers/hexdumps/hexdump_decimal_shorts.txt
310
+ - spec/binary/hexdump/helpers/hexdumps/hexdump_hex_bytes.txt
311
+ - spec/binary/hexdump/helpers/hexdumps/hexdump_hex_shorts.txt
312
+ - spec/binary/hexdump/helpers/hexdumps/hexdump_octal_bytes.txt
313
+ - spec/binary/hexdump/helpers/hexdumps/hexdump_octal_shorts.txt
314
+ - spec/binary/hexdump/helpers/hexdumps/hexdump_repeated.txt
315
+ - spec/binary/hexdump/helpers/hexdumps/od_decimal_bytes.txt
316
+ - spec/binary/hexdump/helpers/hexdumps/od_decimal_ints.txt
317
+ - spec/binary/hexdump/helpers/hexdumps/od_decimal_quads.txt
318
+ - spec/binary/hexdump/helpers/hexdumps/od_decimal_shorts.txt
319
+ - spec/binary/hexdump/helpers/hexdumps/od_doubles.txt
320
+ - spec/binary/hexdump/helpers/hexdumps/od_floats.txt
321
+ - spec/binary/hexdump/helpers/hexdumps/od_hex_bytes.txt
322
+ - spec/binary/hexdump/helpers/hexdumps/od_hex_ints.txt
323
+ - spec/binary/hexdump/helpers/hexdumps/od_hex_quads.txt
324
+ - spec/binary/hexdump/helpers/hexdumps/od_hex_shorts.txt
325
+ - spec/binary/hexdump/helpers/hexdumps/od_named_chars.txt
326
+ - spec/binary/hexdump/helpers/hexdumps/od_octal_bytes.txt
327
+ - spec/binary/hexdump/helpers/hexdumps/od_octal_ints.txt
328
+ - spec/binary/hexdump/helpers/hexdumps/od_octal_quads.txt
329
+ - spec/binary/hexdump/helpers/hexdumps/od_octal_shorts.txt
330
+ - spec/binary/hexdump/helpers/hexdumps/od_repeated.txt
331
+ - spec/binary/hexdump/helpers/hexdumps/repeated.bin
332
+ - spec/binary/hexdump/parser_spec.rb
333
+ - spec/binary/struct_spec.rb
334
+ - spec/binary/template_spec.rb
242
335
  - spec/extensions/enumerable_spec.rb
243
336
  - spec/extensions/file_spec.rb
244
337
  - spec/extensions/ip_addr_spec.rb
@@ -246,28 +339,9 @@ files:
246
339
  - spec/extensions/regexp_spec.rb
247
340
  - spec/extensions/resolv_spec.rb
248
341
  - spec/extensions/string_spec.rb
249
- - spec/formatting/binary/helpers/hexdumps.rb
250
- - spec/formatting/binary/helpers/hexdumps/ascii.bin
251
- - spec/formatting/binary/helpers/hexdumps/hexdump_decimal_shorts.txt
252
- - spec/formatting/binary/helpers/hexdumps/hexdump_hex_bytes.txt
253
- - spec/formatting/binary/helpers/hexdumps/hexdump_hex_shorts.txt
254
- - spec/formatting/binary/helpers/hexdumps/hexdump_octal_bytes.txt
255
- - spec/formatting/binary/helpers/hexdumps/hexdump_octal_shorts.txt
256
- - spec/formatting/binary/helpers/hexdumps/hexdump_repeated.txt
257
- - spec/formatting/binary/helpers/hexdumps/od_decimal_bytes.txt
258
- - spec/formatting/binary/helpers/hexdumps/od_decimal_ints.txt
259
- - spec/formatting/binary/helpers/hexdumps/od_decimal_quads.txt
260
- - spec/formatting/binary/helpers/hexdumps/od_decimal_shorts.txt
261
- - spec/formatting/binary/helpers/hexdumps/od_hex_bytes.txt
262
- - spec/formatting/binary/helpers/hexdumps/od_hex_ints.txt
263
- - spec/formatting/binary/helpers/hexdumps/od_hex_quads.txt
264
- - spec/formatting/binary/helpers/hexdumps/od_hex_shorts.txt
265
- - spec/formatting/binary/helpers/hexdumps/od_octal_bytes.txt
266
- - spec/formatting/binary/helpers/hexdumps/od_octal_ints.txt
267
- - spec/formatting/binary/helpers/hexdumps/od_octal_quads.txt
268
- - spec/formatting/binary/helpers/hexdumps/od_octal_shorts.txt
269
- - spec/formatting/binary/helpers/hexdumps/od_repeated.txt
270
- - spec/formatting/binary/helpers/hexdumps/repeated.bin
342
+ - spec/formatting/binary/array_spec.rb
343
+ - spec/formatting/binary/base64_spec.rb
344
+ - spec/formatting/binary/float_spec.rb
271
345
  - spec/formatting/binary/integer_spec.rb
272
346
  - spec/formatting/binary/string_spec.rb
273
347
  - spec/formatting/digest/string_spec.rb
@@ -281,13 +355,19 @@ files:
281
355
  - spec/fuzzing/string_spec.rb
282
356
  - spec/mixin_spec.rb
283
357
  - spec/network/dns_spec.rb
358
+ - spec/network/ftp_spec.rb
284
359
  - spec/network/http/http_spec.rb
285
360
  - spec/network/http/proxy_spec.rb
286
361
  - spec/network/network_spec.rb
362
+ - spec/network/proxy_spec.rb
363
+ - spec/network/shared/unix_server.rb
287
364
  - spec/network/smtp/email_spec.rb
288
365
  - spec/network/ssl_spec.rb
289
- - spec/network/tcp_spec.rb
290
- - spec/network/udp_spec.rb
366
+ - spec/network/tcp/proxy_spec.rb
367
+ - spec/network/tcp/tcp_spec.rb
368
+ - spec/network/telnet_spec.rb
369
+ - spec/network/udp/udp_spec.rb
370
+ - spec/network/unix_spec.rb
291
371
  - spec/path_spec.rb
292
372
  - spec/spec_helper.rb
293
373
  - spec/support/inflector_spec.rb
@@ -324,44 +404,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
324
404
  version: '0'
325
405
  requirements: []
326
406
  rubyforge_project:
327
- rubygems_version: 1.8.15
407
+ rubygems_version: 1.8.24
328
408
  signing_key:
329
409
  specification_version: 3
330
410
  summary: A support library for Ronin.
331
- test_files:
332
- - spec/extensions/enumerable_spec.rb
333
- - spec/extensions/file_spec.rb
334
- - spec/extensions/ip_addr_spec.rb
335
- - spec/extensions/kernel_spec.rb
336
- - spec/extensions/regexp_spec.rb
337
- - spec/extensions/resolv_spec.rb
338
- - spec/extensions/string_spec.rb
339
- - spec/formatting/binary/integer_spec.rb
340
- - spec/formatting/binary/string_spec.rb
341
- - spec/formatting/digest/string_spec.rb
342
- - spec/formatting/html/integer_spec.rb
343
- - spec/formatting/html/string_spec.rb
344
- - spec/formatting/http/integer_spec.rb
345
- - spec/formatting/http/string_spec.rb
346
- - spec/formatting/sql/string_spec.rb
347
- - spec/formatting/text/array_spec.rb
348
- - spec/formatting/text/string_spec.rb
349
- - spec/fuzzing/string_spec.rb
350
- - spec/mixin_spec.rb
351
- - spec/network/dns_spec.rb
352
- - spec/network/http/http_spec.rb
353
- - spec/network/http/proxy_spec.rb
354
- - spec/network/network_spec.rb
355
- - spec/network/smtp/email_spec.rb
356
- - spec/network/ssl_spec.rb
357
- - spec/network/tcp_spec.rb
358
- - spec/network/udp_spec.rb
359
- - spec/path_spec.rb
360
- - spec/support/inflector_spec.rb
361
- - spec/support_spec.rb
362
- - spec/templates/erb_spec.rb
363
- - spec/templates/template_spec.rb
364
- - spec/ui/output_spec.rb
365
- - spec/ui/shell_spec.rb
366
- - spec/wordlist_spec.rb
367
- has_rdoc:
411
+ test_files: []
@@ -1,16 +0,0 @@
1
- module Helpers
2
- def load_binary_data(name)
3
- path = File.join(File.dirname(__FILE__),'hexdumps',"#{name}.bin")
4
- buffer = []
5
-
6
- File.open(path) do |file|
7
- file.each_byte { |b| buffer << b }
8
- end
9
-
10
- return buffer
11
- end
12
-
13
- def load_hexdump(name)
14
- File.read(File.join(File.dirname(__FILE__),'hexdumps',"#{name}.txt"))
15
- end
16
- end