nexposecli 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/Gemfile +4 -0
- data/README.md +24 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/nexposecli +1723 -0
- data/bin/nexposecli.test +6 -0
- data/bin/setup +8 -0
- data/lib/nexposecli/argparse.rb +167 -0
- data/lib/nexposecli/version.rb +3 -0
- data/lib/nexposecli.rb +10 -0
- data/nexposecli.gemspec +25 -0
- data/spec/nexposecli_spec.rb +11 -0
- data/spec/spec_helper.rb +2 -0
- metadata +135 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3ca5df9c0324a088bfb5fec57fb11f2e481bc8bb
|
4
|
+
data.tar.gz: 0cf8f9d512a2e5df13abe5ad4531f9d2b08af352
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: bdd6027d40eae40d9ebfb734e9a8a6e2abef8544d26f1173aec4c32d05322eeadaa8f78e7b6836959f2a07f3c032c2d16b60bc8ba757312250643516badae270
|
7
|
+
data.tar.gz: 7990bd7e7cfc55f52c29fc4d41adae43046cc3085f7aed646e581d98c4c14b79fbb773b31f398f8e657d82560bd0fb5e7657bdc675b839a25c08c15d9b416b71
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# Nexposecli
|
2
|
+
|
3
|
+
This is the experimental gem package for the Ruby Nexpose command-line utility using the Nexpose gem.
|
4
|
+
|
5
|
+
This gem is heavily used for internal automation of Rapid7's Nexpose Enterprise Console activities and configuration.
|
6
|
+
|
7
|
+
Install it yourself as:
|
8
|
+
|
9
|
+
$ gem install nexposecli
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
nexposecli --help
|
14
|
+
|
15
|
+
or an example of running a query to list all active scans
|
16
|
+
|
17
|
+
nexposecli --config ./lab.yaml --list --SCAN
|
18
|
+
|
19
|
+
TODO: Write more detailed usage instructions here
|
20
|
+
|
21
|
+
## Contributing
|
22
|
+
|
23
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/frozenr7/nexposecli.
|
24
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "nexposecli"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|