peplum-nmap 0.1.0 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b8b8cbc832f6aba1427bc571e95d2dcf1bdcf1cca46373f1ea291bb43923586f
4
- data.tar.gz: 06a2cbcae6e9d5bb77d4502eb4f29e82dd6425ec473e70a38fd39a2d9f8d8c5c
3
+ metadata.gz: 43119975167b6d77c7c37a659ebe0d0ed00bc7d337d1e75c9bbf5c82734f34f9
4
+ data.tar.gz: a0d173ea8eca5258bd65d4780628936cbb37d738eb1f4ac3aff6482ce5c14c19
5
5
  SHA512:
6
- metadata.gz: e5b9cabeeeda80a9f419ecfbdf0248edd4e43d90940aa099b023b0d510c04fd6fa568073704a24a4dc187d6ec4d0d5ba7929da5f939ef0ee20dd46efe8bb16be
7
- data.tar.gz: 3fec8a89cf625873b304f3d487e6be807d3e33a18294552a41ee8a1107bbf79d6d62619a4488214de082154507bfe44231ae5b28f87cdc724d5e4226a342ed4b
6
+ metadata.gz: '0493a3bc95b08c909ced90634791be7ac8300d18af8b9ad3217515db3e86bc82256e4445533736acf4ed3bd88781eeb845432dc1427eeb441458cce3689779ef'
7
+ data.tar.gz: c3d8f9e06a9bbe248ca916264e07c46ed668ea5b749bd015caac1c3ee7930dbb019bac5d7c31ffc8824eef2a31098c3048b8254b090f4aae2ee89eebd36a1d96
data/examples/rest.rb CHANGED
@@ -28,7 +28,7 @@ request :post, 'instances', {
28
28
  objects: ['192.168.1.*'],
29
29
  max_workers: 5
30
30
  },
31
- native: {
31
+ payload: {
32
32
  connect_scan: true,
33
33
  service_scan: true,
34
34
  default_script: true
data/examples/rpc.rb CHANGED
@@ -16,7 +16,7 @@ nmap.run(
16
16
  objects: ['192.168.1.*'],
17
17
  max_workers: 5
18
18
  },
19
- native: {
19
+ payload: {
20
20
  connect_scan: true,
21
21
  service_scan: true,
22
22
  default_script: true
@@ -5,7 +5,7 @@ require 'tmpdir'
5
5
  module Peplum
6
6
  class Nmap
7
7
 
8
- module Native
8
+ module Payload
9
9
 
10
10
  DEFAULT_OPTIONS = {
11
11
  'output_normal' => '/dev/null',
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Peplum
4
4
  class Nmap
5
- VERSION = "0.1.0"
5
+ VERSION = "0.2.0"
6
6
  end
7
7
  end
data/lib/peplum/nmap.rb CHANGED
@@ -6,13 +6,13 @@ module Peplum
6
6
  class Nmap
7
7
 
8
8
  require_relative "nmap/version"
9
- require_relative "nmap/native"
9
+ require_relative "nmap/payload"
10
10
 
11
11
  class Error < Peplum::Error; end
12
12
 
13
13
  class Application < Peplum::Application
14
- def native_app
15
- Native
14
+ def payload
15
+ Payload
16
16
  end
17
17
  end
18
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peplum-nmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tasos Laskos
@@ -52,7 +52,7 @@ files:
52
52
  - examples/rest/helpers.rb
53
53
  - examples/rpc.rb
54
54
  - lib/peplum/nmap.rb
55
- - lib/peplum/nmap/native.rb
55
+ - lib/peplum/nmap/payload.rb
56
56
  - lib/peplum/nmap/version.rb
57
57
  - peplum-nmap.gemspec
58
58
  homepage: http://ecsypno.com/