ronin-support 0.1.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +4 -0
- data/.rspec +1 -0
- data/.yardopts +1 -0
- data/COPYING.txt +504 -0
- data/ChangeLog.md +4 -0
- data/Gemfile +23 -0
- data/README.md +98 -0
- data/Rakefile +29 -0
- data/gemspec.yml +20 -0
- data/lib/ronin/extensions.rb +28 -0
- data/lib/ronin/extensions/file.rb +63 -0
- data/lib/ronin/extensions/ip_addr.rb +220 -0
- data/lib/ronin/extensions/kernel.rb +45 -0
- data/lib/ronin/extensions/meta.rb +22 -0
- data/lib/ronin/extensions/meta/object.rb +24 -0
- data/lib/ronin/extensions/string.rb +200 -0
- data/lib/ronin/formatting.rb +26 -0
- data/lib/ronin/formatting/binary.rb +22 -0
- data/lib/ronin/formatting/digest.rb +22 -0
- data/lib/ronin/formatting/extensions.rb +25 -0
- data/lib/ronin/formatting/extensions/binary.rb +24 -0
- data/lib/ronin/formatting/extensions/binary/file.rb +35 -0
- data/lib/ronin/formatting/extensions/binary/integer.rb +147 -0
- data/lib/ronin/formatting/extensions/binary/string.rb +363 -0
- data/lib/ronin/formatting/extensions/digest.rb +23 -0
- data/lib/ronin/formatting/extensions/digest/file.rb +117 -0
- data/lib/ronin/formatting/extensions/digest/string.rb +80 -0
- data/lib/ronin/formatting/extensions/http.rb +23 -0
- data/lib/ronin/formatting/extensions/http/integer.rb +57 -0
- data/lib/ronin/formatting/extensions/http/string.rb +102 -0
- data/lib/ronin/formatting/extensions/text.rb +23 -0
- data/lib/ronin/formatting/extensions/text/array.rb +125 -0
- data/lib/ronin/formatting/extensions/text/string.rb +206 -0
- data/lib/ronin/formatting/http.rb +22 -0
- data/lib/ronin/formatting/text.rb +22 -0
- data/lib/ronin/network.rb +29 -0
- data/lib/ronin/network/esmtp.rb +22 -0
- data/lib/ronin/network/extensions.rb +29 -0
- data/lib/ronin/network/extensions/esmtp.rb +22 -0
- data/lib/ronin/network/extensions/esmtp/net.rb +100 -0
- data/lib/ronin/network/extensions/http.rb +22 -0
- data/lib/ronin/network/extensions/http/net.rb +661 -0
- data/lib/ronin/network/extensions/imap.rb +22 -0
- data/lib/ronin/network/extensions/imap/net.rb +124 -0
- data/lib/ronin/network/extensions/pop3.rb +22 -0
- data/lib/ronin/network/extensions/pop3/net.rb +92 -0
- data/lib/ronin/network/extensions/smtp.rb +22 -0
- data/lib/ronin/network/extensions/smtp/net.rb +110 -0
- data/lib/ronin/network/extensions/ssl.rb +22 -0
- data/lib/ronin/network/extensions/ssl/net.rb +147 -0
- data/lib/ronin/network/extensions/tcp.rb +22 -0
- data/lib/ronin/network/extensions/tcp/net.rb +304 -0
- data/lib/ronin/network/extensions/telnet.rb +22 -0
- data/lib/ronin/network/extensions/telnet/net.rb +156 -0
- data/lib/ronin/network/extensions/udp.rb +22 -0
- data/lib/ronin/network/extensions/udp/net.rb +226 -0
- data/lib/ronin/network/http.rb +24 -0
- data/lib/ronin/network/http/exceptions.rb +22 -0
- data/lib/ronin/network/http/exceptions/unknown_request.rb +29 -0
- data/lib/ronin/network/http/http.rb +290 -0
- data/lib/ronin/network/http/proxy.rb +307 -0
- data/lib/ronin/network/imap.rb +49 -0
- data/lib/ronin/network/network.rb +41 -0
- data/lib/ronin/network/pop3.rb +49 -0
- data/lib/ronin/network/smtp.rb +24 -0
- data/lib/ronin/network/smtp/email.rb +143 -0
- data/lib/ronin/network/smtp/smtp.rb +68 -0
- data/lib/ronin/network/ssl.rb +47 -0
- data/lib/ronin/network/tcp.rb +22 -0
- data/lib/ronin/network/telnet.rb +109 -0
- data/lib/ronin/network/udp.rb +22 -0
- data/lib/ronin/path.rb +132 -0
- data/lib/ronin/support.rb +28 -0
- data/lib/ronin/support/inflector.rb +40 -0
- data/lib/ronin/support/version.rb +27 -0
- data/lib/ronin/templates.rb +23 -0
- data/lib/ronin/templates/erb.rb +75 -0
- data/lib/ronin/templates/template.rb +161 -0
- data/ronin-support.gemspec +10 -0
- data/spec/extensions/file_spec.rb +24 -0
- data/spec/extensions/ip_addr_spec.rb +171 -0
- data/spec/extensions/kernel_spec.rb +30 -0
- data/spec/extensions/string_spec.rb +177 -0
- data/spec/formatting/binary/helpers/hexdumps.rb +16 -0
- data/spec/formatting/binary/helpers/hexdumps/ascii.bin +0 -0
- data/spec/formatting/binary/helpers/hexdumps/hexdump_decimal_shorts.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/hexdump_hex_bytes.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/hexdump_hex_shorts.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/hexdump_octal_bytes.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/hexdump_octal_shorts.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/hexdump_repeated.txt +6 -0
- data/spec/formatting/binary/helpers/hexdumps/od_decimal_bytes.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/od_decimal_ints.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/od_decimal_quads.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/od_decimal_shorts.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/od_hex_bytes.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/od_hex_ints.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/od_hex_quads.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/od_hex_shorts.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/od_octal_bytes.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/od_octal_ints.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/od_octal_quads.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/od_octal_shorts.txt +17 -0
- data/spec/formatting/binary/helpers/hexdumps/od_repeated.txt +6 -0
- data/spec/formatting/binary/helpers/hexdumps/repeated.bin +1 -0
- data/spec/formatting/binary/integer_spec.rb +140 -0
- data/spec/formatting/binary/string_spec.rb +306 -0
- data/spec/formatting/digest/string_spec.rb +82 -0
- data/spec/formatting/http/integer_spec.rb +42 -0
- data/spec/formatting/http/string_spec.rb +76 -0
- data/spec/formatting/text/array_spec.rb +105 -0
- data/spec/formatting/text/string_spec.rb +180 -0
- data/spec/network/http/http_spec.rb +280 -0
- data/spec/network/http/proxy_spec.rb +150 -0
- data/spec/network/network_spec.rb +8 -0
- data/spec/network/ssl_spec.rb +14 -0
- data/spec/path_spec.rb +84 -0
- data/spec/spec_helper.rb +4 -0
- data/spec/support_spec.rb +8 -0
- data/spec/templates/classes/example_erb.rb +11 -0
- data/spec/templates/classes/example_template.rb +35 -0
- data/spec/templates/erb_spec.rb +21 -0
- data/spec/templates/helpers/data.rb +9 -0
- data/spec/templates/helpers/data/includes/_relative.erb +1 -0
- data/spec/templates/helpers/data/templates/example.erb +1 -0
- data/spec/templates/template_spec.rb +54 -0
- metadata +286 -0
data/spec/path_spec.rb
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'ronin/path'
|
3
|
+
|
4
|
+
describe Path do
|
5
|
+
let(:n) { 7 }
|
6
|
+
|
7
|
+
it "should inherit from Pathname" do
|
8
|
+
Path.superclass.should == Pathname
|
9
|
+
end
|
10
|
+
|
11
|
+
it "should provide the root path" do
|
12
|
+
path = Path.root
|
13
|
+
|
14
|
+
path.should.class == Path
|
15
|
+
path.to_s.should == '/'
|
16
|
+
end
|
17
|
+
|
18
|
+
describe "up" do
|
19
|
+
it "should be able to traverse up 0 directories" do
|
20
|
+
Path.up(0).should == File::SEPARATOR
|
21
|
+
end
|
22
|
+
|
23
|
+
it "should raise an ArgumentError when not passed an Integer or Enumerable" do
|
24
|
+
lambda {
|
25
|
+
Path.up(1.5)
|
26
|
+
}.should raise_error(ArgumentError)
|
27
|
+
end
|
28
|
+
|
29
|
+
it "should raise an ArgumentError on negative number of directories" do
|
30
|
+
lambda {
|
31
|
+
Path.up(-1)
|
32
|
+
}.should raise_error(ArgumentError)
|
33
|
+
end
|
34
|
+
|
35
|
+
it "should create directory-escaping paths" do
|
36
|
+
Path.up(n).to_s.should == (['..'] * n).join(File::SEPARATOR)
|
37
|
+
end
|
38
|
+
|
39
|
+
it "should create a range of directory-escaping paths" do
|
40
|
+
range = 7..10
|
41
|
+
|
42
|
+
Path.up(range).should == range.map { |i| Path.up(i) }
|
43
|
+
end
|
44
|
+
|
45
|
+
it "should allow using custom path separators" do
|
46
|
+
Path.up(n,'\\').to_s.should == (['..'] * n).join("\\")
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
describe "join" do
|
51
|
+
let(:base_path) { Path.new('base') }
|
52
|
+
|
53
|
+
it "should join with sub-paths" do
|
54
|
+
sub_path = File.join('one','two')
|
55
|
+
expected = [base_path, sub_path].join(File::SEPARATOR)
|
56
|
+
|
57
|
+
base_path.join(sub_path).to_s.should == expected
|
58
|
+
end
|
59
|
+
|
60
|
+
it "should join with a sub-directory" do
|
61
|
+
sub_directory = 'three'
|
62
|
+
expected = [base_path, sub_directory].join(File::SEPARATOR)
|
63
|
+
|
64
|
+
base_path.join(sub_directory).to_s.should == expected
|
65
|
+
end
|
66
|
+
|
67
|
+
it "should not collapse directory traversals" do
|
68
|
+
traversal = Path.up(n)
|
69
|
+
expected = [base_path, traversal].join(File::SEPARATOR)
|
70
|
+
|
71
|
+
base_path.join(traversal).to_s.should == expected
|
72
|
+
end
|
73
|
+
|
74
|
+
it "should filter out extra directory separators" do
|
75
|
+
expected = [base_path, 'sub'].join(File::SEPARATOR)
|
76
|
+
|
77
|
+
base_path.join('/','sub','/').to_s.should == expected
|
78
|
+
end
|
79
|
+
|
80
|
+
it "should join with the root path" do
|
81
|
+
Path.root.join('etc','passwd').to_s.should == '/etc/passwd'
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'ronin/templates/template'
|
2
|
+
|
3
|
+
class ExampleTemplate
|
4
|
+
|
5
|
+
include Ronin::Templates::Template
|
6
|
+
|
7
|
+
def enter_example_template(&block)
|
8
|
+
enter_template(File.join('templates','example.erb'),&block)
|
9
|
+
end
|
10
|
+
|
11
|
+
def enter_relative_template(&block)
|
12
|
+
enter_template(File.join('templates','example.erb')) do |path|
|
13
|
+
enter_template(File.join('..','includes','_relative.erb'),&block)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def enter_missing_template(&block)
|
18
|
+
enter_template('totally_missing.erb',&block)
|
19
|
+
end
|
20
|
+
|
21
|
+
def read_example_template(&block)
|
22
|
+
read_template(File.join('templates','example.erb'),&block)
|
23
|
+
end
|
24
|
+
|
25
|
+
def read_relative_template(&block)
|
26
|
+
read_template(File.join('templates','example.erb')) do |contents|
|
27
|
+
read_template(File.join('..','includes','_relative.erb'),&block)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
def read_missing_template(&block)
|
32
|
+
read_template('totally_missing.erb',&block)
|
33
|
+
end
|
34
|
+
|
35
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'ronin/templates/erb'
|
3
|
+
|
4
|
+
require 'templates/classes/example_erb'
|
5
|
+
|
6
|
+
describe Templates::Erb do
|
7
|
+
subject { ExampleErb.new }
|
8
|
+
|
9
|
+
before(:all) do
|
10
|
+
subject.x = 2
|
11
|
+
subject.y = 3
|
12
|
+
end
|
13
|
+
|
14
|
+
it "should render inline ERB templates" do
|
15
|
+
subject.erb(%{<%= 'hello' %>}).should == 'hello'
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should render ERB templates using the binding of the object" do
|
19
|
+
subject.erb(%{<%= @x %> <%= @y %>}).should == '2 3'
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
This is a template that will be called using a relative path.
|
@@ -0,0 +1 @@
|
|
1
|
+
Example template.
|
@@ -0,0 +1,54 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'ronin/templates/template'
|
3
|
+
|
4
|
+
require 'templates/classes/example_template'
|
5
|
+
require 'templates/helpers/data'
|
6
|
+
|
7
|
+
describe Templates::Template do
|
8
|
+
let(:example_template) { File.join(Helpers::TEMPLATE_DIR,'templates','example.erb') }
|
9
|
+
let(:relative_template) { File.join(Helpers::TEMPLATE_DIR,'includes','_relative.erb') }
|
10
|
+
|
11
|
+
subject { ExampleTemplate.new }
|
12
|
+
|
13
|
+
it "should return the result of the block when entering a template" do
|
14
|
+
subject.enter_example_template { |path|
|
15
|
+
'result'
|
16
|
+
}.should == 'result'
|
17
|
+
end
|
18
|
+
|
19
|
+
it "should be able to find templates relative to the current one" do
|
20
|
+
subject.enter_example_template do |path|
|
21
|
+
path.should == example_template
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should be able to find static templates" do
|
26
|
+
subject.enter_relative_template do |path|
|
27
|
+
path.should == relative_template
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
it "should raise a RuntimeError when entering an unknown template" do
|
32
|
+
lambda {
|
33
|
+
subject.enter_missing_template { |path| }
|
34
|
+
}.should raise_error(RuntimeError)
|
35
|
+
end
|
36
|
+
|
37
|
+
it "should be able to read templates relative to the current one" do
|
38
|
+
subject.read_example_template do |contents|
|
39
|
+
contents.should == File.read(example_template)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
it "should be able to find static templates" do
|
44
|
+
subject.read_relative_template do |contents|
|
45
|
+
contents.should == File.read(relative_template)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
it "should raise a RuntimeError when entering an unknown template" do
|
50
|
+
lambda {
|
51
|
+
subject.read_missing_template { |path| }
|
52
|
+
}.should raise_error(RuntimeError)
|
53
|
+
end
|
54
|
+
end
|
metadata
ADDED
@@ -0,0 +1,286 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ronin-support
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: true
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- pre1
|
10
|
+
version: 0.1.0.pre1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Postmodern
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-12-30 00:00:00 -08:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: chars
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ~>
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
- 2
|
31
|
+
- 0
|
32
|
+
version: 0.2.0
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: uri-query_params
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
- 5
|
46
|
+
- 2
|
47
|
+
version: 0.5.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: data_paths
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ~>
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
segments:
|
59
|
+
- 0
|
60
|
+
- 2
|
61
|
+
- 1
|
62
|
+
version: 0.2.1
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: *id003
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
name: bundler
|
68
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
70
|
+
requirements:
|
71
|
+
- - ~>
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
segments:
|
74
|
+
- 1
|
75
|
+
- 0
|
76
|
+
- 0
|
77
|
+
version: 1.0.0
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: *id004
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: yard
|
83
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ~>
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
segments:
|
89
|
+
- 0
|
90
|
+
- 6
|
91
|
+
- 1
|
92
|
+
version: 0.6.1
|
93
|
+
type: :development
|
94
|
+
prerelease: false
|
95
|
+
version_requirements: *id005
|
96
|
+
description: Ronin Support is a support library for Ronin. Ronin Support contains many of the convenience methods used by Ronin and additional libraries.
|
97
|
+
email: postmodern.mod3@gmail.com
|
98
|
+
executables: []
|
99
|
+
|
100
|
+
extensions: []
|
101
|
+
|
102
|
+
extra_rdoc_files:
|
103
|
+
- README.md
|
104
|
+
- ChangeLog.md
|
105
|
+
- COPYING.txt
|
106
|
+
files:
|
107
|
+
- .document
|
108
|
+
- .rspec
|
109
|
+
- .yardopts
|
110
|
+
- COPYING.txt
|
111
|
+
- ChangeLog.md
|
112
|
+
- Gemfile
|
113
|
+
- README.md
|
114
|
+
- Rakefile
|
115
|
+
- gemspec.yml
|
116
|
+
- lib/ronin/extensions.rb
|
117
|
+
- lib/ronin/extensions/file.rb
|
118
|
+
- lib/ronin/extensions/ip_addr.rb
|
119
|
+
- lib/ronin/extensions/kernel.rb
|
120
|
+
- lib/ronin/extensions/meta.rb
|
121
|
+
- lib/ronin/extensions/meta/object.rb
|
122
|
+
- lib/ronin/extensions/string.rb
|
123
|
+
- lib/ronin/formatting.rb
|
124
|
+
- lib/ronin/formatting/binary.rb
|
125
|
+
- lib/ronin/formatting/digest.rb
|
126
|
+
- lib/ronin/formatting/extensions.rb
|
127
|
+
- lib/ronin/formatting/extensions/binary.rb
|
128
|
+
- lib/ronin/formatting/extensions/binary/file.rb
|
129
|
+
- lib/ronin/formatting/extensions/binary/integer.rb
|
130
|
+
- lib/ronin/formatting/extensions/binary/string.rb
|
131
|
+
- lib/ronin/formatting/extensions/digest.rb
|
132
|
+
- lib/ronin/formatting/extensions/digest/file.rb
|
133
|
+
- lib/ronin/formatting/extensions/digest/string.rb
|
134
|
+
- lib/ronin/formatting/extensions/http.rb
|
135
|
+
- lib/ronin/formatting/extensions/http/integer.rb
|
136
|
+
- lib/ronin/formatting/extensions/http/string.rb
|
137
|
+
- lib/ronin/formatting/extensions/text.rb
|
138
|
+
- lib/ronin/formatting/extensions/text/array.rb
|
139
|
+
- lib/ronin/formatting/extensions/text/string.rb
|
140
|
+
- lib/ronin/formatting/http.rb
|
141
|
+
- lib/ronin/formatting/text.rb
|
142
|
+
- lib/ronin/network.rb
|
143
|
+
- lib/ronin/network/esmtp.rb
|
144
|
+
- lib/ronin/network/extensions.rb
|
145
|
+
- lib/ronin/network/extensions/esmtp.rb
|
146
|
+
- lib/ronin/network/extensions/esmtp/net.rb
|
147
|
+
- lib/ronin/network/extensions/http.rb
|
148
|
+
- lib/ronin/network/extensions/http/net.rb
|
149
|
+
- lib/ronin/network/extensions/imap.rb
|
150
|
+
- lib/ronin/network/extensions/imap/net.rb
|
151
|
+
- lib/ronin/network/extensions/pop3.rb
|
152
|
+
- lib/ronin/network/extensions/pop3/net.rb
|
153
|
+
- lib/ronin/network/extensions/smtp.rb
|
154
|
+
- lib/ronin/network/extensions/smtp/net.rb
|
155
|
+
- lib/ronin/network/extensions/ssl.rb
|
156
|
+
- lib/ronin/network/extensions/ssl/net.rb
|
157
|
+
- lib/ronin/network/extensions/tcp.rb
|
158
|
+
- lib/ronin/network/extensions/tcp/net.rb
|
159
|
+
- lib/ronin/network/extensions/telnet.rb
|
160
|
+
- lib/ronin/network/extensions/telnet/net.rb
|
161
|
+
- lib/ronin/network/extensions/udp.rb
|
162
|
+
- lib/ronin/network/extensions/udp/net.rb
|
163
|
+
- lib/ronin/network/http.rb
|
164
|
+
- lib/ronin/network/http/exceptions.rb
|
165
|
+
- lib/ronin/network/http/exceptions/unknown_request.rb
|
166
|
+
- lib/ronin/network/http/http.rb
|
167
|
+
- lib/ronin/network/http/proxy.rb
|
168
|
+
- lib/ronin/network/imap.rb
|
169
|
+
- lib/ronin/network/network.rb
|
170
|
+
- lib/ronin/network/pop3.rb
|
171
|
+
- lib/ronin/network/smtp.rb
|
172
|
+
- lib/ronin/network/smtp/email.rb
|
173
|
+
- lib/ronin/network/smtp/smtp.rb
|
174
|
+
- lib/ronin/network/ssl.rb
|
175
|
+
- lib/ronin/network/tcp.rb
|
176
|
+
- lib/ronin/network/telnet.rb
|
177
|
+
- lib/ronin/network/udp.rb
|
178
|
+
- lib/ronin/path.rb
|
179
|
+
- lib/ronin/support.rb
|
180
|
+
- lib/ronin/support/inflector.rb
|
181
|
+
- lib/ronin/support/version.rb
|
182
|
+
- lib/ronin/templates.rb
|
183
|
+
- lib/ronin/templates/erb.rb
|
184
|
+
- lib/ronin/templates/template.rb
|
185
|
+
- ronin-support.gemspec
|
186
|
+
- spec/extensions/file_spec.rb
|
187
|
+
- spec/extensions/ip_addr_spec.rb
|
188
|
+
- spec/extensions/kernel_spec.rb
|
189
|
+
- spec/extensions/string_spec.rb
|
190
|
+
- spec/formatting/binary/helpers/hexdumps.rb
|
191
|
+
- spec/formatting/binary/helpers/hexdumps/ascii.bin
|
192
|
+
- spec/formatting/binary/helpers/hexdumps/hexdump_decimal_shorts.txt
|
193
|
+
- spec/formatting/binary/helpers/hexdumps/hexdump_hex_bytes.txt
|
194
|
+
- spec/formatting/binary/helpers/hexdumps/hexdump_hex_shorts.txt
|
195
|
+
- spec/formatting/binary/helpers/hexdumps/hexdump_octal_bytes.txt
|
196
|
+
- spec/formatting/binary/helpers/hexdumps/hexdump_octal_shorts.txt
|
197
|
+
- spec/formatting/binary/helpers/hexdumps/hexdump_repeated.txt
|
198
|
+
- spec/formatting/binary/helpers/hexdumps/od_decimal_bytes.txt
|
199
|
+
- spec/formatting/binary/helpers/hexdumps/od_decimal_ints.txt
|
200
|
+
- spec/formatting/binary/helpers/hexdumps/od_decimal_quads.txt
|
201
|
+
- spec/formatting/binary/helpers/hexdumps/od_decimal_shorts.txt
|
202
|
+
- spec/formatting/binary/helpers/hexdumps/od_hex_bytes.txt
|
203
|
+
- spec/formatting/binary/helpers/hexdumps/od_hex_ints.txt
|
204
|
+
- spec/formatting/binary/helpers/hexdumps/od_hex_quads.txt
|
205
|
+
- spec/formatting/binary/helpers/hexdumps/od_hex_shorts.txt
|
206
|
+
- spec/formatting/binary/helpers/hexdumps/od_octal_bytes.txt
|
207
|
+
- spec/formatting/binary/helpers/hexdumps/od_octal_ints.txt
|
208
|
+
- spec/formatting/binary/helpers/hexdumps/od_octal_quads.txt
|
209
|
+
- spec/formatting/binary/helpers/hexdumps/od_octal_shorts.txt
|
210
|
+
- spec/formatting/binary/helpers/hexdumps/od_repeated.txt
|
211
|
+
- spec/formatting/binary/helpers/hexdumps/repeated.bin
|
212
|
+
- spec/formatting/binary/integer_spec.rb
|
213
|
+
- spec/formatting/binary/string_spec.rb
|
214
|
+
- spec/formatting/digest/string_spec.rb
|
215
|
+
- spec/formatting/http/integer_spec.rb
|
216
|
+
- spec/formatting/http/string_spec.rb
|
217
|
+
- spec/formatting/text/array_spec.rb
|
218
|
+
- spec/formatting/text/string_spec.rb
|
219
|
+
- spec/network/http/http_spec.rb
|
220
|
+
- spec/network/http/proxy_spec.rb
|
221
|
+
- spec/network/network_spec.rb
|
222
|
+
- spec/network/ssl_spec.rb
|
223
|
+
- spec/path_spec.rb
|
224
|
+
- spec/spec_helper.rb
|
225
|
+
- spec/support_spec.rb
|
226
|
+
- spec/templates/classes/example_erb.rb
|
227
|
+
- spec/templates/classes/example_template.rb
|
228
|
+
- spec/templates/erb_spec.rb
|
229
|
+
- spec/templates/helpers/data.rb
|
230
|
+
- spec/templates/helpers/data/includes/_relative.erb
|
231
|
+
- spec/templates/helpers/data/templates/example.erb
|
232
|
+
- spec/templates/template_spec.rb
|
233
|
+
has_rdoc: yard
|
234
|
+
homepage: http://github.com/ronin-ruby/ronin-support
|
235
|
+
licenses:
|
236
|
+
- LGPL-2.1
|
237
|
+
post_install_message:
|
238
|
+
rdoc_options: []
|
239
|
+
|
240
|
+
require_paths:
|
241
|
+
- lib
|
242
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
243
|
+
none: false
|
244
|
+
requirements:
|
245
|
+
- - ">="
|
246
|
+
- !ruby/object:Gem::Version
|
247
|
+
segments:
|
248
|
+
- 0
|
249
|
+
version: "0"
|
250
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
251
|
+
none: false
|
252
|
+
requirements:
|
253
|
+
- - ">="
|
254
|
+
- !ruby/object:Gem::Version
|
255
|
+
segments:
|
256
|
+
- 1
|
257
|
+
- 3
|
258
|
+
- 6
|
259
|
+
version: 1.3.6
|
260
|
+
requirements: []
|
261
|
+
|
262
|
+
rubyforge_project: ronin-support
|
263
|
+
rubygems_version: 1.3.7
|
264
|
+
signing_key:
|
265
|
+
specification_version: 3
|
266
|
+
summary: A support library for Ronin.
|
267
|
+
test_files:
|
268
|
+
- spec/network/network_spec.rb
|
269
|
+
- spec/network/http/http_spec.rb
|
270
|
+
- spec/network/http/proxy_spec.rb
|
271
|
+
- spec/network/ssl_spec.rb
|
272
|
+
- spec/templates/erb_spec.rb
|
273
|
+
- spec/templates/template_spec.rb
|
274
|
+
- spec/path_spec.rb
|
275
|
+
- spec/extensions/file_spec.rb
|
276
|
+
- spec/extensions/kernel_spec.rb
|
277
|
+
- spec/extensions/string_spec.rb
|
278
|
+
- spec/extensions/ip_addr_spec.rb
|
279
|
+
- spec/formatting/binary/integer_spec.rb
|
280
|
+
- spec/formatting/binary/string_spec.rb
|
281
|
+
- spec/formatting/digest/string_spec.rb
|
282
|
+
- spec/formatting/text/array_spec.rb
|
283
|
+
- spec/formatting/text/string_spec.rb
|
284
|
+
- spec/formatting/http/integer_spec.rb
|
285
|
+
- spec/formatting/http/string_spec.rb
|
286
|
+
- spec/support_spec.rb
|