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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5811b94ebb8792ce1d6180dae05dccf4b78a68343d341dcf9caa36493d09b789
4
- data.tar.gz: 395f5c07477d138582bfdcd89a01f5b2c0f97598f6a91ba0817ee3ba61d0c892
3
+ metadata.gz: 80a2ba8d5e9a5f68d6b9042f124e8b248cf717018578d8d6671586015a504b25
4
+ data.tar.gz: dd33ca623452c9b4002019e1b79165e1ed45cf7222c0fd7ffb3c63b4dfbbb10d
5
5
  SHA512:
6
- metadata.gz: f8f98dbbfaae621771788447bb06c0877c7e469f41e0843ce95c14fbaa6b41bb99609c6aca065a561531c205ee2e9b1e2e6e48249ef100bf0d6f7f65c5874c57
7
- data.tar.gz: cfc7f236d7d7f9e75df6562759475e298340825c59115144102a887192e7c4325a249e8d150ac78b41c44a1b84f2b62ef921a648b376691a8081d691a5ac179e
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.688]:001 >>> PWN.help
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.688]:001 >>> PWN.help
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 ommit_columns_by_indices(opts = {})
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 = ommit_columns_by_indices(
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 = ommit_columns_by_indices(
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PWN
4
- VERSION = '0.4.688'
4
+ VERSION = '0.4.689'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.688
4
+ version: 0.4.689
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.