Skip to content

Commit a02f88b

Browse files
committed
pwn_nessus_cloud_create_scan Driver - more code refinement
1 parent 1999189 commit a02f88b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $ rvm use ruby-3.1.2@pwn
3737
$ rvm list gemsets
3838
$ gem install --verbose pwn
3939
$ pwn
40-
pwn[v0.4.437]:001 >>> PWN.help
40+
pwn[v0.4.438]:001 >>> PWN.help
4141
```
4242

4343
[![Installing the pwn Security Automation Framework](https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png)](https://youtu.be/G7iLUY4FzsI)
@@ -52,7 +52,7 @@ $ rvm use ruby-3.1.2@pwn
5252
$ gem uninstall --all --executables pwn
5353
$ gem install --verbose pwn
5454
$ pwn
55-
pwn[v0.4.437]:001 >>> PWN.help
55+
pwn[v0.4.438]:001 >>> PWN.help
5656
```
5757

5858

bin/pwn_nessus_cloud_create_scan

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ begin
252252

253253
settings[:file_targets] = file_targets if file_targets
254254

255-
settings[:tag_targets] = tag_targets_arr if tag_targets_arr
255+
settings[:tag_targets] = tag_targets_arr if tag_targets_arr.any?
256256

257257
settings[:agent_group_id] = agent_group_id_arr if agent_group_id_arr.any?
258258

@@ -262,7 +262,7 @@ begin
262262

263263
settings[:emails] = emails if emails
264264

265-
settings[:acls] = acls if acls
265+
# settings[:acls] = acls if acls
266266

267267
# Part 3: Populate credentials object from YAML config (optional)
268268
credentials = yaml[:credentials] if yaml[:credentials]

lib/pwn/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module PWN
4-
VERSION = '0.4.437'
4+
VERSION = '0.4.438'
55
end

0 commit comments

Comments
 (0)