ronin-support 0.4.0.rc1 → 0.4.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +1 -0
- data/ChangeLog.md +10 -0
- data/Gemfile +1 -1
- data/README.md +1 -1
- data/Rakefile +8 -0
- data/gemspec.yml +2 -1
- data/lib/ronin/extensions.rb +1 -1
- data/lib/ronin/extensions/enumerable.rb +1 -1
- data/lib/ronin/extensions/file.rb +1 -1
- data/lib/ronin/extensions/ip_addr.rb +1 -1
- data/lib/ronin/extensions/kernel.rb +1 -1
- data/lib/ronin/extensions/meta.rb +1 -1
- data/lib/ronin/extensions/regexp.rb +1 -1
- data/lib/ronin/extensions/resolv.rb +1 -1
- data/lib/ronin/extensions/string.rb +1 -1
- data/lib/ronin/formatting.rb +1 -1
- data/lib/ronin/formatting/binary.rb +1 -1
- data/lib/ronin/formatting/digest.rb +1 -1
- data/lib/ronin/formatting/extensions.rb +1 -1
- data/lib/ronin/formatting/extensions/binary.rb +1 -1
- data/lib/ronin/formatting/extensions/binary/file.rb +1 -1
- data/lib/ronin/formatting/extensions/binary/integer.rb +1 -1
- data/lib/ronin/formatting/extensions/binary/string.rb +1 -1
- data/lib/ronin/formatting/extensions/digest.rb +1 -1
- data/lib/ronin/formatting/extensions/digest/file.rb +1 -1
- data/lib/ronin/formatting/extensions/digest/string.rb +1 -1
- data/lib/ronin/formatting/extensions/html.rb +1 -1
- data/lib/ronin/formatting/extensions/html/integer.rb +1 -1
- data/lib/ronin/formatting/extensions/html/string.rb +1 -1
- data/lib/ronin/formatting/extensions/http.rb +1 -1
- data/lib/ronin/formatting/extensions/http/integer.rb +1 -1
- data/lib/ronin/formatting/extensions/http/string.rb +1 -1
- data/lib/ronin/formatting/extensions/sql.rb +1 -1
- data/lib/ronin/formatting/extensions/sql/string.rb +1 -1
- data/lib/ronin/formatting/extensions/text.rb +1 -1
- data/lib/ronin/formatting/extensions/text/array.rb +1 -1
- data/lib/ronin/formatting/extensions/text/string.rb +1 -1
- data/lib/ronin/formatting/html.rb +1 -1
- data/lib/ronin/formatting/http.rb +1 -1
- data/lib/ronin/formatting/sql.rb +1 -1
- data/lib/ronin/formatting/text.rb +1 -1
- data/lib/ronin/fuzzing.rb +1 -1
- data/lib/ronin/fuzzing/extensions.rb +1 -1
- data/lib/ronin/fuzzing/extensions/string.rb +1 -1
- data/lib/ronin/fuzzing/fuzzing.rb +1 -1
- data/lib/ronin/mixin.rb +1 -1
- data/lib/ronin/network.rb +1 -1
- data/lib/ronin/network/esmtp.rb +1 -1
- data/lib/ronin/network/extensions.rb +1 -1
- data/lib/ronin/network/extensions/esmtp.rb +1 -1
- data/lib/ronin/network/extensions/esmtp/net.rb +1 -1
- data/lib/ronin/network/extensions/http.rb +1 -1
- data/lib/ronin/network/extensions/http/net.rb +1 -1
- data/lib/ronin/network/extensions/http/uri/http.rb +1 -1
- data/lib/ronin/network/extensions/imap.rb +1 -1
- data/lib/ronin/network/extensions/imap/net.rb +1 -1
- data/lib/ronin/network/extensions/pop3.rb +1 -1
- data/lib/ronin/network/extensions/pop3/net.rb +1 -1
- data/lib/ronin/network/extensions/smtp.rb +1 -1
- data/lib/ronin/network/extensions/smtp/net.rb +1 -1
- data/lib/ronin/network/extensions/ssl.rb +1 -1
- data/lib/ronin/network/extensions/ssl/net.rb +1 -1
- data/lib/ronin/network/extensions/tcp.rb +1 -1
- data/lib/ronin/network/extensions/tcp/net.rb +1 -1
- data/lib/ronin/network/extensions/telnet.rb +1 -1
- data/lib/ronin/network/extensions/telnet/net.rb +1 -1
- data/lib/ronin/network/extensions/udp.rb +1 -1
- data/lib/ronin/network/extensions/udp/net.rb +1 -1
- data/lib/ronin/network/http.rb +1 -1
- data/lib/ronin/network/http/exceptions.rb +1 -1
- data/lib/ronin/network/http/exceptions/unknown_request.rb +1 -1
- data/lib/ronin/network/http/http.rb +103 -72
- data/lib/ronin/network/http/proxy.rb +1 -1
- data/lib/ronin/network/imap.rb +1 -1
- data/lib/ronin/network/mixins.rb +1 -1
- data/lib/ronin/network/mixins/esmtp.rb +1 -1
- data/lib/ronin/network/mixins/http.rb +3 -3
- data/lib/ronin/network/mixins/imap.rb +1 -1
- data/lib/ronin/network/mixins/mixin.rb +1 -1
- data/lib/ronin/network/mixins/pop3.rb +1 -1
- data/lib/ronin/network/mixins/smtp.rb +1 -1
- data/lib/ronin/network/mixins/ssl.rb +144 -0
- data/lib/ronin/network/mixins/tcp.rb +6 -5
- data/lib/ronin/network/mixins/telnet.rb +1 -1
- data/lib/ronin/network/mixins/udp.rb +29 -3
- data/lib/ronin/network/network.rb +1 -1
- data/lib/ronin/network/pop3.rb +1 -1
- data/lib/ronin/network/smtp.rb +1 -1
- data/lib/ronin/network/smtp/email.rb +1 -1
- data/lib/ronin/network/smtp/smtp.rb +1 -1
- data/lib/ronin/network/ssl.rb +3 -6
- data/lib/ronin/network/tcp.rb +27 -28
- data/lib/ronin/network/telnet.rb +1 -1
- data/lib/ronin/network/udp.rb +56 -19
- data/lib/ronin/path.rb +1 -1
- data/lib/ronin/spec/ui/output.rb +1 -1
- data/lib/ronin/support.rb +1 -1
- data/lib/ronin/support/inflector.rb +1 -1
- data/lib/ronin/support/support.rb +1 -1
- data/lib/ronin/support/version.rb +2 -2
- data/lib/ronin/templates.rb +1 -1
- data/lib/ronin/templates/erb.rb +1 -1
- data/lib/ronin/templates/template.rb +1 -1
- data/lib/ronin/ui/output.rb +1 -1
- data/lib/ronin/ui/output/helpers.rb +1 -1
- data/lib/ronin/ui/output/output.rb +1 -1
- data/lib/ronin/ui/output/terminal.rb +1 -1
- data/lib/ronin/ui/output/terminal/color.rb +1 -1
- data/lib/ronin/ui/output/terminal/raw.rb +1 -1
- data/lib/ronin/ui/shell.rb +67 -7
- data/lib/ronin/wordlist.rb +51 -1
- data/spec/extensions/ip_addr_spec.rb +1 -1
- data/spec/network/http/http_spec.rb +193 -0
- data/spec/network/tcp_spec.rb +244 -0
- data/spec/network/udp_spec.rb +245 -0
- data/spec/spec_helper.rb +5 -0
- data/spec/ui/shell_spec.rb +7 -3
- data/spec/wordlist_spec.rb +25 -0
- metadata +35 -19
data/.yardopts
CHANGED
data/ChangeLog.md
CHANGED
@@ -42,6 +42,9 @@
|
|
42
42
|
* Added {Ronin::Fuzzing.sint64}.
|
43
43
|
* Added {Ronin::Wordlist}.
|
44
44
|
* Added {Ronin::Network::Mixins::Mixin}.
|
45
|
+
* Added {Ronin::Network::Mixins::SSL}.
|
46
|
+
* Added missing {Ronin::Network::UDP#udp_send} and
|
47
|
+
{Ronin::Network::Mixins::UDP#udp_send} methods.
|
45
48
|
* Added {Ronin::UI::Output::Helpers#print_exception}.
|
46
49
|
* Made {Regexp::HOST_NAME} case-insensitive.
|
47
50
|
* Refactored {Regexp::IPv4} to not match invalid IPv4 addresses.
|
@@ -58,8 +61,15 @@
|
|
58
61
|
* Moved `Net.*` methods into the {Ronin::Network} modules.
|
59
62
|
* Fixed bugs in {Ronin::Network::UDP#udp_connect} and
|
60
63
|
{Ronin::Network::UDP#udp_server}.
|
64
|
+
* Fixed a bug in {Ronin::Network::HTTP.expand_url}, where the URI query-string
|
65
|
+
was not being escaped.
|
66
|
+
* Allow {Ronin::Network::HTTP.request} to accept `:query` and `:query_params`
|
67
|
+
options.
|
61
68
|
* Fixed a bug in {Ronin::Network::Mixins::HTTP#http_session}, where
|
62
69
|
normalized options were not being yielded.
|
70
|
+
* {Ronin::Network::HTTP#http_get_headers} and
|
71
|
+
{Ronin::Network::HTTP#http_post_headers} now return a Hash of Capitalized
|
72
|
+
Header names and String values.
|
63
73
|
* Allow {Ronin::Templates::Erb} to use `<%- -%>` syntax.
|
64
74
|
* Alias `<<` to `write` in {Ronin::UI::Output::Helpers}.
|
65
75
|
* Fixed bugs in {Ronin::UI::Shell}.
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -84,7 +84,7 @@ please see [Everyday Ronin](http://ronin-ruby.github.com/guides/everyday_ronin.h
|
|
84
84
|
|
85
85
|
## License
|
86
86
|
|
87
|
-
Copyright (c) 2006-
|
87
|
+
Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
|
88
88
|
|
89
89
|
This file is part of Ronin Support.
|
90
90
|
|
data/Rakefile
CHANGED
@@ -23,6 +23,14 @@ Ore::Tasks.new
|
|
23
23
|
|
24
24
|
require 'rspec/core/rake_task'
|
25
25
|
RSpec::Core::RakeTask.new
|
26
|
+
|
27
|
+
namespace :spec do
|
28
|
+
RSpec::Core::RakeTask.new(:network) do |t|
|
29
|
+
t.pattern = 'spec/network/{**/}*_spec.rb'
|
30
|
+
t.rspec_opts = '--tag network'
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
26
34
|
task :test => :spec
|
27
35
|
task :default => :spec
|
28
36
|
|
data/gemspec.yml
CHANGED
data/lib/ronin/extensions.rb
CHANGED
data/lib/ronin/formatting.rb
CHANGED
data/lib/ronin/formatting/sql.rb
CHANGED
data/lib/ronin/fuzzing.rb
CHANGED
data/lib/ronin/mixin.rb
CHANGED
data/lib/ronin/network.rb
CHANGED
data/lib/ronin/network/esmtp.rb
CHANGED