pwn 0.4.664 → 0.4.665
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/bin/pwn_diff_csv_files_w_column_exclude +3 -0
- data/bin/pwn_nessus_cloud_vulnscan +3 -3
- data/lib/pwn/plugins/open_ai.rb +2 -0
- data/lib/pwn/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5923e4860e5758cc34bb8e0698b534997bf17cbcfa117d1ce0908fab20e0105a
|
4
|
+
data.tar.gz: 3dde8a7b2b293e886b9b017df90e893b22dd0f0911b954bc44a147a9401d1a7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e23034ce0921c4efb5018facb7f13d2856dec27e69eb85cab6ce7fbb1a8b941c77aecceaaeaf3799112906beb1c69c3a5ffce58a0f0063f808e88701fc0c675f
|
7
|
+
data.tar.gz: 99e8d782a9dca25ecc89b395f103fd89f2ff64a54b0f429274de85244df229c116c474488e492fa22c848464d6f7b1c71f58ad32fad6528bd6a117fe493ab015
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.2.2@pwn
|
|
37
37
|
$ rvm list gemsets
|
38
38
|
$ gem install --verbose pwn
|
39
39
|
$ pwn
|
40
|
-
pwn[v0.4.
|
40
|
+
pwn[v0.4.665]:001 >>> PWN.help
|
41
41
|
```
|
42
42
|
|
43
43
|
[![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.2.2@pwn
|
|
52
52
|
$ gem uninstall --all --executables pwn
|
53
53
|
$ gem install --verbose pwn
|
54
54
|
$ pwn
|
55
|
-
pwn[v0.4.
|
55
|
+
pwn[v0.4.665]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
|
@@ -49,6 +49,9 @@ def csv_diff(opts = {})
|
|
49
49
|
include_csv_headers = opts[:include_csv_headers]
|
50
50
|
column_names_to_exclude = opts[:column_names_to_exclude]
|
51
51
|
|
52
|
+
# TODO: Exclude the column values for diff consideration
|
53
|
+
# while including the columns in the diff...figure out what
|
54
|
+
# to do with the columns' values.
|
52
55
|
columns_index_arr = []
|
53
56
|
column_names_to_exclude&.each do |column_name|
|
54
57
|
column_index = smaller_csv.first.find_index(column_name)
|
@@ -77,11 +77,11 @@ begin
|
|
77
77
|
)
|
78
78
|
|
79
79
|
scan_status = scan_status_resp[:status]
|
80
|
-
break if scan_status != 'initializing' && scan_status != 'pending' && scan_status != 'running' && scan_status != 'publishing'
|
81
|
-
|
80
|
+
# break if scan_status != 'initializing' && scan_status != 'pending' && scan_status != 'running' && scan_status != 'publishing'
|
81
|
+
break if scan_status == 'completed'
|
82
82
|
end
|
83
83
|
|
84
|
-
raise "Scan status reached an unexpected condition: #{scan_status}. Re-verify the scan config for, '#{scan_name}' and try again." unless scan_status == 'completed'
|
84
|
+
# raise "Scan status reached an unexpected condition: #{scan_status}. Re-verify the scan config for, '#{scan_name}' and try again." unless scan_status == 'completed'
|
85
85
|
|
86
86
|
puts 'scan complete.'
|
87
87
|
|
data/lib/pwn/plugins/open_ai.rb
CHANGED
@@ -229,6 +229,8 @@ module PWN
|
|
229
229
|
|
230
230
|
json_resp
|
231
231
|
rescue JSON::ParserError => e
|
232
|
+
# TODO: Leverage PWN::Plugins::Log & log to JSON file
|
233
|
+
# in order to manage memory
|
232
234
|
if e.message.include?('exceeded')
|
233
235
|
if request.length > max_tokens
|
234
236
|
puts "Request Length Too Long: #{request.length}\n"
|
data/lib/pwn/version.rb
CHANGED