ronin 1.4.0.rc1 → 1.4.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.md +21 -0
- data/Gemfile +4 -0
- data/README.md +1 -1
- data/bin/ronin-ips +1 -1
- data/bin/ronin-urls +1 -1
- data/bin/ronin-wordlist +25 -0
- data/gemspec.yml +2 -2
- data/lib/bond/completions/ronin.rb +1 -1
- data/lib/ronin.rb +1 -1
- data/lib/ronin/address.rb +1 -1
- data/lib/ronin/arch.rb +1 -1
- data/lib/ronin/author.rb +1 -1
- data/lib/ronin/auto_load.rb +1 -1
- data/lib/ronin/bootstrap.rb +1 -1
- data/lib/ronin/campaign.rb +1 -1
- data/lib/ronin/config.rb +1 -1
- data/lib/ronin/credential.rb +1 -1
- data/lib/ronin/database.rb +1 -1
- data/lib/ronin/database/database.rb +1 -1
- data/lib/ronin/database/exceptions.rb +1 -1
- data/lib/ronin/database/exceptions/invalid_config.rb +1 -1
- data/lib/ronin/database/exceptions/unknown_repository.rb +1 -1
- data/lib/ronin/database/migrations.rb +1 -1
- data/lib/ronin/database/migrations/1.0.0.rb +1 -1
- data/lib/ronin/database/migrations/1.1.0.rb +1 -1
- data/lib/ronin/database/migrations/exceptions.rb +1 -1
- data/lib/ronin/database/migrations/exceptions/duplicate_migration.rb +1 -1
- data/lib/ronin/database/migrations/exceptions/unknown_migration.rb +1 -1
- data/lib/ronin/database/migrations/graph.rb +1 -1
- data/lib/ronin/database/migrations/migration.rb +1 -1
- data/lib/ronin/database/migrations/migrations.rb +1 -1
- data/lib/ronin/email_address.rb +1 -1
- data/lib/ronin/environment.rb +1 -1
- data/lib/ronin/exceptions.rb +1 -1
- data/lib/ronin/exceptions/duplicate_repository.rb +1 -1
- data/lib/ronin/exceptions/repository_not_found.rb +1 -1
- data/lib/ronin/host_name.rb +1 -1
- data/lib/ronin/host_name_ip_address.rb +1 -1
- data/lib/ronin/installation.rb +1 -1
- data/lib/ronin/ip_address.rb +1 -1
- data/lib/ronin/ip_address_mac_address.rb +1 -1
- data/lib/ronin/license.rb +1 -1
- data/lib/ronin/mac_address.rb +1 -1
- data/lib/ronin/model.rb +1 -1
- data/lib/ronin/model/has_authors.rb +1 -1
- data/lib/ronin/model/has_description.rb +1 -1
- data/lib/ronin/model/has_license.rb +1 -1
- data/lib/ronin/model/has_name.rb +1 -1
- data/lib/ronin/model/has_title.rb +1 -1
- data/lib/ronin/model/has_unique_name.rb +1 -1
- data/lib/ronin/model/has_version.rb +1 -1
- data/lib/ronin/model/importable.rb +1 -1
- data/lib/ronin/model/model.rb +1 -1
- data/lib/ronin/model/types.rb +1 -1
- data/lib/ronin/model/types/description.rb +1 -1
- data/lib/ronin/open_port.rb +1 -1
- data/lib/ronin/organization.rb +1 -1
- data/lib/ronin/os.rb +1 -1
- data/lib/ronin/os_guess.rb +1 -1
- data/lib/ronin/password.rb +1 -1
- data/lib/ronin/port.rb +1 -1
- data/lib/ronin/repositories.rb +1 -1
- data/lib/ronin/repository.rb +3 -3
- data/lib/ronin/ronin.rb +1 -1
- data/lib/ronin/script.rb +1 -1
- data/lib/ronin/script/buildable.rb +1 -1
- data/lib/ronin/script/deployable.rb +1 -1
- data/lib/ronin/script/exceptions.rb +1 -1
- data/lib/ronin/script/exceptions/build_failed.rb +1 -1
- data/lib/ronin/script/exceptions/deploy_failed.rb +1 -1
- data/lib/ronin/script/exceptions/exception.rb +1 -1
- data/lib/ronin/script/exceptions/not_built.rb +1 -1
- data/lib/ronin/script/exceptions/test_failed.rb +1 -1
- data/lib/ronin/script/path.rb +1 -1
- data/lib/ronin/script/script.rb +1 -1
- data/lib/ronin/script/testable.rb +1 -1
- data/lib/ronin/service.rb +1 -1
- data/lib/ronin/service_credential.rb +1 -1
- data/lib/ronin/software.rb +1 -1
- data/lib/ronin/spec/database.rb +1 -1
- data/lib/ronin/target.rb +1 -1
- data/lib/ronin/tcp_port.rb +1 -1
- data/lib/ronin/udp_port.rb +1 -1
- data/lib/ronin/ui.rb +1 -1
- data/lib/ronin/ui/cli.rb +1 -1
- data/lib/ronin/ui/cli/class_command.rb +1 -1
- data/lib/ronin/ui/cli/cli.rb +1 -1
- data/lib/ronin/ui/cli/command.rb +47 -7
- data/lib/ronin/ui/cli/commands.rb +1 -1
- data/lib/ronin/ui/cli/commands/campaigns.rb +30 -3
- data/lib/ronin/ui/cli/commands/console.rb +18 -2
- data/lib/ronin/ui/cli/commands/creds.rb +24 -2
- data/lib/ronin/ui/cli/commands/database.rb +26 -3
- data/lib/ronin/ui/cli/commands/emails.rb +25 -2
- data/lib/ronin/ui/cli/commands/exec.rb +6 -2
- data/lib/ronin/ui/cli/commands/help.rb +20 -3
- data/lib/ronin/ui/cli/commands/hosts.rb +27 -2
- data/lib/ronin/ui/cli/commands/install.rb +23 -4
- data/lib/ronin/ui/cli/commands/ips.rb +29 -3
- data/lib/ronin/ui/cli/commands/repos.rb +23 -2
- data/lib/ronin/ui/cli/commands/uninstall.rb +17 -2
- data/lib/ronin/ui/cli/commands/update.rb +17 -2
- data/lib/ronin/ui/cli/commands/urls.rb +32 -3
- data/lib/ronin/ui/cli/commands/wordlist.rb +168 -0
- data/lib/ronin/ui/cli/exceptions.rb +1 -1
- data/lib/ronin/ui/cli/exceptions/unknown_command.rb +1 -1
- data/lib/ronin/ui/cli/model_command.rb +1 -1
- data/lib/ronin/ui/cli/printing.rb +1 -1
- data/lib/ronin/ui/cli/resources_command.rb +1 -1
- data/lib/ronin/ui/cli/script_command.rb +1 -1
- data/lib/ronin/ui/console.rb +1 -1
- data/lib/ronin/ui/console/commands.rb +1 -1
- data/lib/ronin/ui/console/console.rb +1 -1
- data/lib/ronin/ui/console/context.rb +17 -6
- data/lib/ronin/url.rb +15 -1
- data/lib/ronin/url_query_param.rb +1 -1
- data/lib/ronin/url_query_param_name.rb +1 -1
- data/lib/ronin/url_scheme.rb +1 -1
- data/lib/ronin/user_name.rb +1 -1
- data/lib/ronin/vendor.rb +1 -1
- data/lib/ronin/version.rb +2 -2
- data/lib/ronin/web_credential.rb +1 -1
- data/spec/installation_spec.rb +1 -0
- data/spec/repository_spec.rb +1 -1
- data/spec/url_spec.rb +16 -0
- metadata +61 -58
data/ChangeLog.md
CHANGED
@@ -8,11 +8,25 @@
|
|
8
8
|
* Added {Ronin::Port.from}.
|
9
9
|
* Added {Ronin::EmailAddress.from}.
|
10
10
|
* Added {Ronin::Password.parse}.
|
11
|
+
* Added {Ronin::URL#inspect}.
|
11
12
|
* Added {Ronin::Model::HasUniqueName::ClassMethods#parse}.
|
12
13
|
* Added {Ronin::Script::ClassMethods#short_name}.
|
13
14
|
* Added {Ronin::Script::Buildable#build_failed!}.
|
14
15
|
* Added {Ronin::Script::Path#clean}.
|
15
16
|
* Added {Ronin::Script::Path#destroy!}.
|
17
|
+
* Added {Ronin::UI::CLI::Command.usage}.
|
18
|
+
* Added {Ronin::UI::CLI::Command.summary}.
|
19
|
+
* Added {Ronin::UI::CLI::Command.option}.
|
20
|
+
* Added {Ronin::UI::CLI::Command.options}.
|
21
|
+
* Added {Ronin::UI::CLI::Command.options?}.
|
22
|
+
* Added {Ronin::UI::CLI::Command.each_option}.
|
23
|
+
* Added {Ronin::UI::CLI::Command.argument}.
|
24
|
+
* Added {Ronin::UI::CLI::Command.arguments}.
|
25
|
+
* Added {Ronin::UI::CLI::Command.arguments?}.
|
26
|
+
* Added {Ronin::UI::CLI::Command.each_argument}.
|
27
|
+
* Added {Ronin::UI::CLI::Command#start}.
|
28
|
+
* Added {Ronin::UI::CLI::Command#run}.
|
29
|
+
* Added {Ronin::UI::CLI::Command#option_parser}.
|
16
30
|
* Added {Ronin::UI::CLI::Printing}.
|
17
31
|
* Added {Ronin::UI::CLI::ClassCommand}.
|
18
32
|
* Added {Ronin::UI::CLI::ScriptCommand#setup}.
|
@@ -26,12 +40,19 @@
|
|
26
40
|
* Renamed `Ronin::Repository.uninstall!` to {Ronin::Repository.uninstall}.
|
27
41
|
* Renamed `Ronin::UI::CLI::ScriptCommand#load_script` to
|
28
42
|
{Ronin::UI::CLI::ScriptCommand#load!}.
|
43
|
+
* Renamed `Ronin::UI::CLI::Commands::IPs` to
|
44
|
+
{Ronin::UI::CLI::Commands::Ips}.
|
45
|
+
* Renamed `Ronin::UI::CLI::Commands::URLs` to
|
46
|
+
{Ronin::UI::CLI::Commands::Urls}.
|
47
|
+
* Removed thor from the dependencies.
|
29
48
|
* Removed `Ronin::Script::InstanceMethods#script_type` in favor of
|
30
49
|
{Ronin::Script::ClassMethods#short_name}.
|
31
50
|
* Have {Ronin::AutoLoad} call `finalize` directly on the newly auto-loaded
|
32
51
|
model.
|
33
52
|
* Associate {Ronin::EmailAddress} with {Ronin::Credential}.
|
34
53
|
* Ensure that all {Ronin::Script}s have unique name/version properties.
|
54
|
+
* Include {Ronin::Model::HasName}, {Ronin::Model::HasTitle},
|
55
|
+
{Ronin::Model::HasDescription} into {Ronin::Repository}.
|
35
56
|
* Refactored {Ronin::UI::CLI::Command} to use
|
36
57
|
[Parameters::Options](http://rubydoc.info/gems/parameters/0.4.0/Parameters/Options)
|
37
58
|
from parameters 0.4.0.
|
data/Gemfile
CHANGED
@@ -7,6 +7,10 @@ RONIN_URI = 'http://github.com/ronin-ruby'
|
|
7
7
|
|
8
8
|
gemspec
|
9
9
|
|
10
|
+
platforms :jruby do
|
11
|
+
gem 'jruby-openssl', '~> 0.7.0'
|
12
|
+
end
|
13
|
+
|
10
14
|
# DataMapper dependencies
|
11
15
|
# gem 'data_objects', DO_VERSION, :git => "#{DM_URI}/do.git"
|
12
16
|
# gem 'do_sqlite3', DO_VERSION, :git => "#{DM_URI}/do.git"
|
data/README.md
CHANGED
data/bin/ronin-ips
CHANGED
data/bin/ronin-urls
CHANGED
data/bin/ronin-wordlist
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
|
5
|
+
root_dir = File.expand_path(File.join(File.dirname(__FILE__),'..'))
|
6
|
+
if File.directory?(File.join(root_dir,'.git'))
|
7
|
+
Dir.chdir(root_dir) do |path|
|
8
|
+
require 'bundler'
|
9
|
+
|
10
|
+
begin
|
11
|
+
Bundler.setup(:default)
|
12
|
+
rescue Bundler::BundlerError => e
|
13
|
+
warn e.message
|
14
|
+
warn "Run `bundle install` to install missing gems"
|
15
|
+
exit e.status_code
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
lib_dir = File.join(root_dir,'lib')
|
21
|
+
$LOAD_PATH << lib_dir unless $LOAD_PATH.include?(lib_dir)
|
22
|
+
|
23
|
+
require 'ronin/ui/cli/commands/wordlist'
|
24
|
+
|
25
|
+
Ronin::UI::CLI::Commands::Wordlist.start
|
data/gemspec.yml
CHANGED
@@ -63,10 +63,10 @@ dependencies:
|
|
63
63
|
ripl-short_errors: ~> 0.1
|
64
64
|
ripl-color_result: ~> 0.3
|
65
65
|
# Ronin dependencies:
|
66
|
-
ronin-support: ~> 0.4.0.
|
66
|
+
ronin-support: ~> 0.4.0.rc2
|
67
67
|
|
68
68
|
development_dependencies:
|
69
|
-
bundler: ~> 1.0
|
69
|
+
bundler: ~> 1.0
|
70
70
|
yard: ~> 0.7.0
|
71
71
|
yard-dm: ~> 0.1.1
|
72
72
|
yard-dm-is-predefined: ~> 0.2.0
|
data/lib/ronin.rb
CHANGED
data/lib/ronin/address.rb
CHANGED
data/lib/ronin/arch.rb
CHANGED
data/lib/ronin/author.rb
CHANGED
data/lib/ronin/auto_load.rb
CHANGED
data/lib/ronin/bootstrap.rb
CHANGED
data/lib/ronin/campaign.rb
CHANGED
data/lib/ronin/config.rb
CHANGED
data/lib/ronin/credential.rb
CHANGED
data/lib/ronin/database.rb
CHANGED
data/lib/ronin/email_address.rb
CHANGED
data/lib/ronin/environment.rb
CHANGED
data/lib/ronin/exceptions.rb
CHANGED
data/lib/ronin/host_name.rb
CHANGED
data/lib/ronin/installation.rb
CHANGED
data/lib/ronin/ip_address.rb
CHANGED
data/lib/ronin/license.rb
CHANGED
data/lib/ronin/mac_address.rb
CHANGED
data/lib/ronin/model.rb
CHANGED