nexposecli 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.0
5
+ before_install: gem install bundler -v 1.12.5
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in nexposecli.gemspec
4
+ gemspec
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
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
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