nexpose_cyberark 0.0.1-java → 0.0.2-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjU1OTg2OGJiYTQxMzk1ZjIyOTE2ZTZkMWQwMmNkMzkyZThkMzQ5ZA==
4
+ YWY4OThlN2EyYjczN2E5ZmU4ZTMxYWZhZGYxNzA2NjI0NzBhOGNmMA==
5
5
  data.tar.gz: !binary |-
6
- NmY1YTRlYzEwYTgxMmRjNjgxOTZkZTYxYjkxNWEyZjc2MzY0NTgzMA==
6
+ NmNjNjUzYjM5MzYyYmRmZWRlNWExODExOTllZDg2NzllZGYyZGRlOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MGQxMTRkMDI4OGMwN2U2MDVkNGRhZTEwMTljNTU3N2Y4NjYzMTQwNTRiNmUz
10
- OWE5NjhlMzg1MzJkMTMxMDE3MzFhZjA0ZTE2NzZjNjg5YWJjNGQ5MWFlYjQ3
11
- MTJiMTRjODRlOTcxN2RlOWFlMTBkZDBjNTI4NmYxMWE0NTEzMjU=
9
+ Y2RhN2UwY2ZjNWIwNjQyNGNmYzJlZjAxMTgyNjI0Y2E5N2Q0ZWU5YjIwZGIz
10
+ NjZlZmVmYjQ3MzFlMmNhZWI4Mjc3YzNhM2E3OTY4NjIyMmEyZGIxNjk4Yjgw
11
+ NzVhODI5MmQzMTJmOGZmNDRkM2QzZDI3MDUzMjVjYzhjNDY1Mzg=
12
12
  data.tar.gz: !binary |-
13
- M2RmNDAwMTk5YWRlYjQwZDY0MGFkNmRmOTQ4NWVmOGMxNzc1MzBiOWJiNzg5
14
- YjA1YjAzYzIwMDgzNDhlOTE4YTJlNzYwNTJmYmM3YmEzOWFhODhlOGU5Nzg0
15
- OTFiMjFmMjQ0ZGM4ZWY0ZjYyMTQzMzIxMzA4NmZlZDVjNjM3ZTk=
13
+ MDZiODIzYTk3MWU4YzIxYmM5YjgyZGFkNmUyYWQxNmU0ZGY5NGY1MTAzYjU2
14
+ ZDUzNWQ2OWZhNzgxZjM3YzA4N2YwZTAzODkwMzEyMWU1MTgzZmIxOTBmOWJm
15
+ YzljMGQ3ZGE3YWUzZjNlYzAwYzRjNTY5N2NlMjdkYjkwZWIwMTk=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nexpose_cyberark (0.0.1-java)
4
+ nexpose_cyberark (0.0.2-java)
5
5
  nexpose (>= 0.6.0)
6
6
 
7
7
  GEM
@@ -22,8 +22,9 @@ module NexposeCyberark
22
22
  asset_data = PasswordOps::get_password(vault_options)
23
23
  host = nil if range_scenario
24
24
  unless asset_data[:password].nil?
25
- credential_cifs = Credential.for_service(asset_data[:os], 'Administrator', asset_data, nil, host)
26
- site_credentials.push(credential_cifs)
25
+ asset_data[:os] == 'cifs' ? user = 'Administrator' : user = 'root'
26
+ credential = Credential.for_service(asset_data[:os], user, asset_data, nil, host)
27
+ site_credentials.push(credential)
27
28
  end
28
29
  end
29
30
  # Save site
@@ -1,3 +1,3 @@
1
1
  module NexposeCyberark
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1,4 +1,4 @@
1
- # coding: utf-8
1
+ # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'nexpose_cyberark/version'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexpose_cyberark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: java
6
6
  authors:
7
7
  - Damian Finol
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-25 00:00:00.000000000 Z
11
+ date: 2014-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler