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
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2006-
|
2
|
+
# Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
|
3
3
|
#
|
4
4
|
# This file is part of Ronin.
|
5
5
|
#
|
@@ -25,11 +25,38 @@ module Ronin
|
|
25
25
|
module CLI
|
26
26
|
module Commands
|
27
27
|
#
|
28
|
-
#
|
28
|
+
# Manages {Campaign Campaigns}.
|
29
|
+
#
|
30
|
+
# ## Usage
|
31
|
+
#
|
32
|
+
# ronin campaigns [options]
|
33
|
+
#
|
34
|
+
# ## Options
|
35
|
+
#
|
36
|
+
# -v, --[no-]verbose Enable verbose output.
|
37
|
+
# -q, --[no-]quiet Disable verbose output.
|
38
|
+
# --[no-]silent Silence all output.
|
39
|
+
# --[no-]color Enables color output.
|
40
|
+
# -D, --database [URI] The Database URI.
|
41
|
+
# --[no-]csv CSV output.
|
42
|
+
# --[no-]xml XML output.
|
43
|
+
# --[no-]yaml YAML output.
|
44
|
+
# --[no-]json JSON output.
|
45
|
+
# -n, --named [NAMED] Name to search for.
|
46
|
+
# -d, --describing [DESCRIBING] Description to search for.
|
47
|
+
# -T, --targeting [ADDR [...]] Addresses to search for.
|
48
|
+
# -O [NAME [...]], Orgs to search for.
|
49
|
+
# --targeting-orgs
|
50
|
+
# -l, --[no-]list List all Campaigns.
|
51
|
+
# Default: true
|
52
|
+
# -a, --add [NAME] Create a new Campaign.
|
53
|
+
# --targets [ADDR [...]] Addresses to target.
|
29
54
|
#
|
30
55
|
class Campaigns < ResourcesCommand
|
31
56
|
|
32
|
-
model Campaign
|
57
|
+
model Campaign
|
58
|
+
|
59
|
+
summary 'Managed Campaigns'
|
33
60
|
|
34
61
|
query_option :named, :type => String,
|
35
62
|
:flag => '-n',
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2006-
|
2
|
+
# Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
|
3
3
|
#
|
4
4
|
# This file is part of Ronin.
|
5
5
|
#
|
@@ -28,7 +28,23 @@ module Ronin
|
|
28
28
|
module CLI
|
29
29
|
module Commands
|
30
30
|
#
|
31
|
-
#
|
31
|
+
# Starts the Ronin Console.
|
32
|
+
#
|
33
|
+
# ## Usage
|
34
|
+
#
|
35
|
+
# ronin console [options]
|
36
|
+
#
|
37
|
+
# ## Options
|
38
|
+
#
|
39
|
+
# -v, --[no-]verbose Enable verbose output.
|
40
|
+
# -q, --[no-]quiet Disable verbose output.
|
41
|
+
# --[no-]silent Silence all output.
|
42
|
+
# --[no-]color Enables color output.
|
43
|
+
# -D, --database [URI] The database to URI.
|
44
|
+
# -r, --require [PATH] Ruby files to require.
|
45
|
+
# Default: []
|
46
|
+
# --[no-]backtrace Enable long backtraces.
|
47
|
+
# -V, --[no-]version Print the Ronin version.
|
32
48
|
#
|
33
49
|
class Console < Command
|
34
50
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2006-
|
2
|
+
# Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
|
3
3
|
#
|
4
4
|
# This file is part of Ronin.
|
5
5
|
#
|
@@ -28,12 +28,34 @@ module Ronin
|
|
28
28
|
module CLI
|
29
29
|
module Commands
|
30
30
|
#
|
31
|
-
#
|
31
|
+
# Lists {Credential Credentials}.
|
32
|
+
#
|
33
|
+
# ## Usage
|
34
|
+
#
|
35
|
+
# ronin creds [options]
|
36
|
+
#
|
37
|
+
# ## Options
|
38
|
+
#
|
39
|
+
# -v, --[no-]verbose Enable verbose output.
|
40
|
+
# -q, --[no-]quiet Disable verbose output.
|
41
|
+
# --[no-]silent Silence all output.
|
42
|
+
# --[no-]color Enables color output.
|
43
|
+
# -D, --database [URI] The Database URI.
|
44
|
+
# --[no-]csv CSV output.
|
45
|
+
# --[no-]xml XML output.
|
46
|
+
# --[no-]yaml YAML output.
|
47
|
+
# --[no-]json JSON output.
|
48
|
+
# -u, --for-user [USER] Username to search for.
|
49
|
+
# -p, --with-password [PASS] Password to search for.
|
50
|
+
# -l, --[no-]list List all Credentials.
|
51
|
+
# Default: true
|
32
52
|
#
|
33
53
|
class Creds < ResourcesCommand
|
34
54
|
|
35
55
|
model Credential
|
36
56
|
|
57
|
+
summary 'Lists Credentials'
|
58
|
+
|
37
59
|
query_option :for_user, :type => String,
|
38
60
|
:flag => '-u',
|
39
61
|
:usage => 'USER',
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2006-
|
2
|
+
# Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
|
3
3
|
#
|
4
4
|
# This file is part of Ronin.
|
5
5
|
#
|
@@ -27,11 +27,34 @@ module Ronin
|
|
27
27
|
module CLI
|
28
28
|
module Commands
|
29
29
|
#
|
30
|
-
#
|
30
|
+
# Manages the Ronin Database.
|
31
|
+
#
|
32
|
+
# ## Usage
|
33
|
+
#
|
34
|
+
# ronin database [options]
|
35
|
+
#
|
36
|
+
# ## Options
|
37
|
+
#
|
38
|
+
# -v, --[no-]verbose Enable verbose output.
|
39
|
+
# -q, --[no-]quiet Disable verbose output.
|
40
|
+
# --[no-]silent Silence all output.
|
41
|
+
# --[no-]color Enables color output.
|
42
|
+
# -a, --add [NAME]
|
43
|
+
# -s, --set [NAME]
|
44
|
+
# -r, --remove [NAME]
|
45
|
+
# -C, --clear [NAME]
|
46
|
+
# --uri [sqlite3:///path]
|
47
|
+
# --adapter [DB]
|
48
|
+
# --host [HOST]
|
49
|
+
# --port [PORT]
|
50
|
+
# --user [USER]
|
51
|
+
# --password [PASSWORD]
|
52
|
+
# --database [NAME]
|
53
|
+
# --path [PATH]
|
31
54
|
#
|
32
55
|
class Database < Command
|
33
56
|
|
34
|
-
summary
|
57
|
+
summary 'Manages the Ronin Database'
|
35
58
|
|
36
59
|
option :add, :type => Symbol,
|
37
60
|
:flag => '-a',
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2006-
|
2
|
+
# Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
|
3
3
|
#
|
4
4
|
# This file is part of Ronin.
|
5
5
|
#
|
@@ -25,12 +25,35 @@ module Ronin
|
|
25
25
|
module CLI
|
26
26
|
module Commands
|
27
27
|
#
|
28
|
-
#
|
28
|
+
# Manages {EmailAddress EmailAddresses}.
|
29
|
+
#
|
30
|
+
# ## Usage
|
31
|
+
#
|
32
|
+
# ronin emails [options]
|
33
|
+
#
|
34
|
+
# ## Options
|
35
|
+
#
|
36
|
+
# -v, --[no-]verbose Enable verbose output.
|
37
|
+
# -q, --[no-]quiet Disable verbose output.
|
38
|
+
# --[no-]silent Silence all output.
|
39
|
+
# --[no-]color Enables color output.
|
40
|
+
# -D, --database [URI] The Database URI.
|
41
|
+
# --[no-]csv CSV output.
|
42
|
+
# --[no-]xml XML output.
|
43
|
+
# --[no-]yaml YAML output.
|
44
|
+
# --[no-]json JSON output.
|
45
|
+
# -H, --with-hosts [HOST [...]]
|
46
|
+
# -I, --with-ips [IP [...]]
|
47
|
+
# -u, --with-users [NAME [...]]
|
48
|
+
# -l, --[no-]list Default: true
|
49
|
+
# -i, --import [FILE]
|
29
50
|
#
|
30
51
|
class Emails < ResourcesCommand
|
31
52
|
|
32
53
|
model EmailAddress
|
33
54
|
|
55
|
+
summary 'Manages EmailAddresses'
|
56
|
+
|
34
57
|
query_option :with_hosts, :type => Array,
|
35
58
|
:flag => '-H',
|
36
59
|
:usage => 'HOST [...]'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2006-
|
2
|
+
# Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
|
3
3
|
#
|
4
4
|
# This file is part of Ronin.
|
5
5
|
#
|
@@ -26,7 +26,11 @@ module Ronin
|
|
26
26
|
module CLI
|
27
27
|
module Commands
|
28
28
|
#
|
29
|
-
#
|
29
|
+
# Runs a Ruby script in the Ronin environment.
|
30
|
+
#
|
31
|
+
# ## Usage
|
32
|
+
#
|
33
|
+
# ronin exec SCRIPT [ARGS...]
|
30
34
|
#
|
31
35
|
class Exec
|
32
36
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2006-
|
2
|
+
# Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
|
3
3
|
#
|
4
4
|
# This file is part of Ronin.
|
5
5
|
#
|
@@ -25,13 +25,30 @@ module Ronin
|
|
25
25
|
module CLI
|
26
26
|
module Commands
|
27
27
|
#
|
28
|
-
#
|
28
|
+
# Displays the list of available commands or prints information on a
|
29
|
+
# specific command.
|
30
|
+
#
|
31
|
+
# ## Usage
|
32
|
+
#
|
33
|
+
# ronin help [options] COMMAND
|
34
|
+
#
|
35
|
+
# ## Options
|
36
|
+
#
|
37
|
+
# -v, --[no-]verbose Enable verbose output.
|
38
|
+
# -q, --[no-]quiet Disable verbose output.
|
39
|
+
# --[no-]silent Silence all output.
|
40
|
+
# --[no-]color Enables color output.
|
41
|
+
#
|
42
|
+
# ## Arguments
|
43
|
+
#
|
44
|
+
# COMMAND The command to display
|
29
45
|
#
|
30
46
|
class Help < Command
|
31
47
|
|
32
48
|
summary 'Displays the list of available commands or prints information on a specific command'
|
33
49
|
|
34
|
-
argument :command, :type
|
50
|
+
argument :command, :type => Symbol,
|
51
|
+
:description => 'The command to display'
|
35
52
|
|
36
53
|
#
|
37
54
|
# Lists the available commands.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2006-
|
2
|
+
# Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
|
3
3
|
#
|
4
4
|
# This file is part of Ronin.
|
5
5
|
#
|
@@ -25,12 +25,37 @@ module Ronin
|
|
25
25
|
module CLI
|
26
26
|
module Commands
|
27
27
|
#
|
28
|
-
#
|
28
|
+
# Manages {HostName HostNames}.
|
29
|
+
#
|
30
|
+
# ## Usage
|
31
|
+
#
|
32
|
+
# ronin hosts [options]
|
33
|
+
#
|
34
|
+
# ## Options
|
35
|
+
#
|
36
|
+
# -v, --[no-]verbose Enable verbose output.
|
37
|
+
# -q, --[no-]quiet Disable verbose output.
|
38
|
+
# --[no-]silent Silence all output.
|
39
|
+
# --[no-]color Enables color output.
|
40
|
+
# --database [URI] The Database URI.
|
41
|
+
# --[no-]csv CSV output.
|
42
|
+
# --[no-]xml XML output.
|
43
|
+
# --[no-]yaml YAML output.
|
44
|
+
# --[no-]json JSON output.
|
45
|
+
# -i, --import [FILE]
|
46
|
+
# -I, --with-ips [IP [...]]
|
47
|
+
# -p, --with-ports [PORT [...]]
|
48
|
+
# -D, --domain [DOMAIN]
|
49
|
+
# -T, --tld [TLD]
|
50
|
+
# -l, --[no-]list Default: true
|
51
|
+
# -L, --lookup [IP]
|
29
52
|
#
|
30
53
|
class Hosts < ResourcesCommand
|
31
54
|
|
32
55
|
model HostName
|
33
56
|
|
57
|
+
summary 'Manages HostNames'
|
58
|
+
|
34
59
|
query_option :with_ips, :type => Array,
|
35
60
|
:flag => '-I',
|
36
61
|
:usage => 'IP [...]'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2006-
|
2
|
+
# Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
|
3
3
|
#
|
4
4
|
# This file is part of Ronin.
|
5
5
|
#
|
@@ -26,8 +26,27 @@ module Ronin
|
|
26
26
|
module CLI
|
27
27
|
module Commands
|
28
28
|
#
|
29
|
-
#
|
29
|
+
# Installs Ronin {Repository Repositories}.
|
30
30
|
#
|
31
|
+
# ## Usage
|
32
|
+
#
|
33
|
+
# ronin install [options] URI
|
34
|
+
#
|
35
|
+
# ## Options
|
36
|
+
#
|
37
|
+
# -v, --[no-]verbose Enable verbose output.
|
38
|
+
# -q, --[no-]quiet Disable verbose output.
|
39
|
+
# --[no-]silent Silence all output.
|
40
|
+
# --[no-]color Enables color output.
|
41
|
+
# --[no-]rsync
|
42
|
+
# --[no-]svn
|
43
|
+
# --[no-]hg
|
44
|
+
# --[no-]git
|
45
|
+
#
|
46
|
+
# ## Arguments
|
47
|
+
#
|
48
|
+
# URI The URI of the Repository
|
49
|
+
#
|
31
50
|
class Install < Command
|
32
51
|
|
33
52
|
summary 'Installs Ronin Repositories'
|
@@ -37,8 +56,8 @@ module Ronin
|
|
37
56
|
option :hg, :type => true
|
38
57
|
option :git, :type => true
|
39
58
|
|
40
|
-
argument :uri, :type
|
41
|
-
:
|
59
|
+
argument :uri, :type => String,
|
60
|
+
:description => 'The URI of the Repository'
|
42
61
|
|
43
62
|
#
|
44
63
|
# Sets up the install command.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2006-
|
2
|
+
# Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
|
3
3
|
#
|
4
4
|
# This file is part of Ronin.
|
5
5
|
#
|
@@ -26,12 +26,38 @@ module Ronin
|
|
26
26
|
module CLI
|
27
27
|
module Commands
|
28
28
|
#
|
29
|
-
#
|
29
|
+
# Manages {IPAddress IPAddresses}.
|
30
30
|
#
|
31
|
-
|
31
|
+
# ## Usage
|
32
|
+
#
|
33
|
+
# ronin ips [options]
|
34
|
+
#
|
35
|
+
# ## Options
|
36
|
+
#
|
37
|
+
# -v, --[no-]verbose Enable verbose output.
|
38
|
+
# -q, --[no-]quiet Disable verbose output.
|
39
|
+
# --[no-]silent Silence all output.
|
40
|
+
# --[no-]color Enables color output.
|
41
|
+
# -D, --database [URI] The Database URI.
|
42
|
+
# --[no-]csv CSV output.
|
43
|
+
# --[no-]xml XML output.
|
44
|
+
# --[no-]yaml YAML output.
|
45
|
+
# --[no-]json JSON output.
|
46
|
+
# -i, --import [FILE]
|
47
|
+
# -4, --[no-]v4
|
48
|
+
# -6, --[no-]v6
|
49
|
+
# -p, --with-ports [PORT [...]]
|
50
|
+
# -M, --with-macs [MAC [...]]
|
51
|
+
# -H, --with-hosts [HOST [...]]
|
52
|
+
# --[no-]list Default: true
|
53
|
+
# -L, --lookup [HOST]
|
54
|
+
#
|
55
|
+
class Ips < ResourcesCommand
|
32
56
|
|
33
57
|
model IPAddress
|
34
58
|
|
59
|
+
summary 'Manages IPAddresses'
|
60
|
+
|
35
61
|
query_option :v4, :type => true, :flag => '-4'
|
36
62
|
query_option :v6, :type => true, :flag => '-6'
|
37
63
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2006-
|
2
|
+
# Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
|
3
3
|
#
|
4
4
|
# This file is part of Ronin.
|
5
5
|
#
|
@@ -25,7 +25,28 @@ module Ronin
|
|
25
25
|
module CLI
|
26
26
|
module Commands
|
27
27
|
#
|
28
|
-
#
|
28
|
+
# Lists Ronin {Repository Repositories}.
|
29
|
+
#
|
30
|
+
# ## Usage
|
31
|
+
#
|
32
|
+
# ronin repos [options] REPO
|
33
|
+
#
|
34
|
+
# ## Options
|
35
|
+
#
|
36
|
+
# -v, --[no-]verbose Enable verbose output.
|
37
|
+
# -q, --[no-]quiet Disable verbose output.
|
38
|
+
# --[no-]silent Silence all output.
|
39
|
+
# --[no-]color Enables color output.
|
40
|
+
# -D, --database [URI] The Database URI.
|
41
|
+
# --domain [DOMAIN] Domain to filter by.
|
42
|
+
# -n, --named [NAME] Name to filter by.
|
43
|
+
# -t, --titled [TITLE] Title to filter by.
|
44
|
+
# -d, --describing [DESC]
|
45
|
+
# -L, --licensed-under [LICENSE] License to filter by.
|
46
|
+
#
|
47
|
+
# ## Arguments
|
48
|
+
#
|
49
|
+
# REPO Repository to list
|
29
50
|
#
|
30
51
|
class Repos < ModelCommand
|
31
52
|
|