pwn 0.4.922 → 0.4.924

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: 2dd0df4df7e699b6d8878a7dd533fb323d8a040c42947d2834ee53aee350e429
4
- data.tar.gz: 4a883894dd0ce7916fce48cecc184e1cf0da8c2f8c3ebb9fe62d44bbc807cff3
3
+ metadata.gz: 8f52f5a00595e64e9969f0319067ab211cf3df8438274aa89efdbdc376f40804
4
+ data.tar.gz: c9e5d62d57d9083b22504b1c8ae4d70d8b05c890761a2d3dfea9a4cc32eb3e6c
5
5
  SHA512:
6
- metadata.gz: 2e0d6dbb056ac39599fdb7760be4af50228f4fa4e846834b5cedc5d16436a219f7114a0fd7db5ba17934bd7dd9a924a4ff15a8e8f1144000c0539adcf033952b
7
- data.tar.gz: bb51c3da5a0fe2d01004b42cbe420ffb74351fd1ff550451c482e7a4c8f9ccc087a6b23de8f9a016b0b925a8ac42300958c57c75a701c5510d5beb15e782af27
6
+ metadata.gz: 42979a9a7df6d28c8108794f353b0a3c57f66faed8f051ccc2016d62d0b50a02c877cd2f73d76edad7b79f48361f365201c9d30613e88ee17de18e62dac2aef7
7
+ data.tar.gz: 0cda27394a59d9dd547501ff28371db33265872f2d8447ce5539235e74eb551a6674d06b57e2aa4475cc41fb45a8f0c857ea1aa8dca8259ac3bc8015d52ad5c6
data/Gemfile CHANGED
@@ -11,7 +11,7 @@ gemspec
11
11
  # In some circumstances custom flags are passed to gems in order
12
12
  # to build appropriately. Defer to ./reinstall_pwn_gemset.sh
13
13
  # to review these custom flags (e.g. pg, serialport, etc).
14
- gem 'activesupport', '7.0.8'
14
+ gem 'activesupport', '7.1.0'
15
15
  gem 'anemone', '0.7.2'
16
16
  gem 'authy', '3.0.1'
17
17
  gem 'aws-sdk', '3.1.0'
@@ -23,7 +23,7 @@ gem 'bundler', '>=2.4.20'
23
23
  gem 'bundler-audit', '0.9.1'
24
24
  gem 'bunny', '2.22.0'
25
25
  gem 'colorize', '1.1.0'
26
- gem 'credit_card_validations', '6.0.0'
26
+ # gem 'credit_card_validations', '6.0.0'
27
27
  gem 'eventmachine', '1.2.7'
28
28
  gem 'executable-hooks', '1.6.1'
29
29
  gem 'faker', '3.2.1'
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.922]:001 >>> PWN.help
40
+ pwn[v0.4.924]:001 >>> PWN.help
41
41
  ```
42
42
 
43
43
  If you're using a multi-user install of RVM do:
@@ -48,7 +48,7 @@ $ rvm use ruby-3.2.2@pwn
48
48
  $ rvm list gemsets
49
49
  $ rvmsudo gem install --verbose pwn
50
50
  $ pwn
51
- pwn[v0.4.922]:001 >>> PWN.help
51
+ pwn[v0.4.924]:001 >>> PWN.help
52
52
  ```
53
53
 
54
54
  [![Installing the pwn Security Automation Framework](https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png)](https://youtu.be/G7iLUY4FzsI)
@@ -63,7 +63,7 @@ $ rvm use ruby-3.2.2@pwn
63
63
  $ gem uninstall --all --executables pwn
64
64
  $ gem install --verbose pwn
65
65
  $ pwn
66
- pwn[v0.4.922]:001 >>> PWN.help
66
+ pwn[v0.4.924]:001 >>> PWN.help
67
67
  ```
68
68
 
69
69
  If you're using a multi-user install of RVM do:
@@ -73,7 +73,7 @@ $ rvm use ruby-3.2.2@pwn
73
73
  $ rvmsudo gem uninstall --all --executables pwn
74
74
  $ rvmsudo gem install --verbose pwn
75
75
  $ pwn
76
- pwn[v0.4.922]:001 >>> PWN.help
76
+ pwn[v0.4.924]:001 >>> PWN.help
77
77
  ```
78
78
 
79
79
 
data/bin/pwn_bdba_scan CHANGED
@@ -36,6 +36,10 @@ OptionParser.new do |options|
36
36
  opts[:scan_attempts] = a
37
37
  end
38
38
 
39
+ options.on('-S', '--sleep-between-scan-attempts', '<Optional - Seconds to Sleep Between Attempts to Scan a File if the Scan was Aborted Due to Queue Timeouts or RestClient Exceptions (Default: 60)>') do |s|
40
+ opts[:sleep_between_scan_attempts] = s
41
+ end
42
+
39
43
  options.on('-R', '--report-only', '<Optional - Only Generate a Black Duck Binary Analysis Scan Report for an Existing Scan (Default: false)>') do |o|
40
44
  opts[:report_only] = o
41
45
  end
@@ -79,6 +83,7 @@ begin
79
83
  queue_timeout = opts[:queue_timeout] ||= 5_400
80
84
 
81
85
  scan_attempts = opts[:scan_attempts] ||= 3
86
+ sleep_between_scan_attempts = opts[:sleep_between_scan_attempts] ||= 60
82
87
 
83
88
  report_only = opts[:report_only] ||= false
84
89
 
@@ -153,7 +158,7 @@ rescue IO::TimeoutError,
153
158
 
154
159
  if abort_total <= scan_attempts.to_i
155
160
  puts 'Sleeping for 60 Seconds and Retrying...'
156
- sleep 60
161
+ sleep sleep_between_scan_attempts.to_i
157
162
  retry
158
163
  end
159
164
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'credit_card_validations'
4
- require 'credit_card_validations/string'
3
+ # require 'credit_card_validations'
4
+ # require 'credit_card_validations/string'
5
5
 
6
6
  module PWN
7
7
  module Plugins
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.922'
4
+ VERSION = '0.4.924'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.922
4
+ version: 0.4.924
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-04 00:00:00.000000000 Z
11
+ date: 2023-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 7.0.8
19
+ version: 7.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 7.0.8
26
+ version: 7.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: anemone
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -164,20 +164,6 @@ dependencies:
164
164
  - - '='
165
165
  - !ruby/object:Gem::Version
166
166
  version: 1.1.0
167
- - !ruby/object:Gem::Dependency
168
- name: credit_card_validations
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - '='
172
- - !ruby/object:Gem::Version
173
- version: 6.0.0
174
- type: :runtime
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - '='
179
- - !ruby/object:Gem::Version
180
- version: 6.0.0
181
167
  - !ruby/object:Gem::Dependency
182
168
  name: eventmachine
183
169
  requirement: !ruby/object:Gem::Requirement