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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d231662348a2f93ca5d2c282ba395848dc3a9f1cbac00fd5a033787ca95d21c4
4
- data.tar.gz: 1e6ec131ce26a248425bdc8fa36d30eecb844d675092c3ac12e12c8e728c7079
3
+ metadata.gz: 5923e4860e5758cc34bb8e0698b534997bf17cbcfa117d1ce0908fab20e0105a
4
+ data.tar.gz: 3dde8a7b2b293e886b9b017df90e893b22dd0f0911b954bc44a147a9401d1a7a
5
5
  SHA512:
6
- metadata.gz: 35b1ccc8c208aa3070ed01a7251bf86b2be58b8f6b6da55c6e89f3043a45d3553ab68d28919767d285e662fae6c5887359b5333f0f16ae38bf23e0a5c96577c1
7
- data.tar.gz: 759ac72f2f7af9b2c323c1d8fcc28e3cb2f1468aaf2d81d1cbdc52856f5f28c7a663ef804a2e8303f41dff7b3dd93eca96d435e4a91ad42b0b6b958d56587481
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.664]:001 >>> PWN.help
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.664]:001 >>> PWN.help
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
- # break if scan_status == 'completed'
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
 
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PWN
4
- VERSION = '0.4.664'
4
+ VERSION = '0.4.665'
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.664
4
+ version: 0.4.665
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.