pwn 0.4.688 → 0.4.689
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 +10 -3
- 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: 80a2ba8d5e9a5f68d6b9042f124e8b248cf717018578d8d6671586015a504b25
|
4
|
+
data.tar.gz: dd33ca623452c9b4002019e1b79165e1ed45cf7222c0fd7ffb3c63b4dfbbb10d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b04c9a36db52a55c636028c8cb4c6bfc51f382de5590e7142c52732221559b8ea9ab58cfebf1dea926c8dca97f34dd30c9e32a2cd38edfb9d2d844f437a34bc
|
7
|
+
data.tar.gz: abd627bf5a913d05b5cd65aa91d60fa4a68597bab736b6fed6703b83cb44ceed977e0e28ceefce9991e12cad90749ec91c01219ce8e8ee958c37e8ade174ccdc
|
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.689]: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.689]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
|
@@ -14,6 +14,13 @@ OptionParser.new do |options|
|
|
14
14
|
--csv-b vuln_scan2.csv \\
|
15
15
|
--csv-diff vuln_scan_diff.csv \\
|
16
16
|
--exclude-column-names 'Synopsis,Description,Solution,See Also,Plugin Output,Asset UUID,Vulnerability State,IP Address,FQDN,NetBios,OS,MAC Address,Plugin Family,CVSS Base Score,CVSS Temporal Score,CVSS Temporal Vector,CVSS Vector,CVSS3 Base Score,CVSS3 Temporal Score,CVSS3 Temporal Vector,CVSS3 Vector,System Type,Host Start,Host End,Vulnerability Priority Rating (VPR),First Found,Last Found,Host Scan Schedule ID,Host Scan ID,Indexed At,Last Authenticated Results Date,Last Unauthenticated Results Date,Tracked,Risk Factor,Severity,Original Severity,Modification,Plugin Family ID,Plugin Type,Plugin Version,Service,Plugin Modification Date,Plugin Publication Date,Checks for Malware,Exploit Available,Exploited by Malware,Exploited by Nessus,CANVAS,D2 Elliot,Metasploit,Core Exploits,ExploitHub,Default Account,Patch Available,In The News,Unsupported By Vendor,Last Fixed'
|
17
|
+
|
18
|
+
EXAMPLE w/ OpeVAS Results:
|
19
|
+
#{$PROGRAM_NAME} \\
|
20
|
+
--csv-a vuln_scan1.csv \\
|
21
|
+
--csv-b vuln_scan2.csv \\
|
22
|
+
--csv-diff vuln_scan_diff.csv \\
|
23
|
+
--exclude-column-names 'Timestamp, Result ID'
|
17
24
|
"
|
18
25
|
|
19
26
|
options.on('-aCSV', '--csv-a=CSV', '<Required - First CSV to Compare)>') do |c1|
|
@@ -42,7 +49,7 @@ if opts.empty?
|
|
42
49
|
exit 1
|
43
50
|
end
|
44
51
|
|
45
|
-
def
|
52
|
+
def ommit_columns_by_index(opts = {})
|
46
53
|
csv = opts[:csv]
|
47
54
|
columns_index_arr = opts[:columns_index_arr]
|
48
55
|
|
@@ -112,12 +119,12 @@ def csv_diff(opts = {})
|
|
112
119
|
end
|
113
120
|
|
114
121
|
if columns_index_arr.any?
|
115
|
-
larger_csv =
|
122
|
+
larger_csv = ommit_columns_by_index(
|
116
123
|
csv: larger_csv,
|
117
124
|
columns_index_arr: columns_index_arr
|
118
125
|
)
|
119
126
|
|
120
|
-
smaller_csv =
|
127
|
+
smaller_csv = ommit_columns_by_index(
|
121
128
|
csv: smaller_csv,
|
122
129
|
columns_index_arr: columns_index_arr
|
123
130
|
)
|
data/lib/pwn/version.rb
CHANGED