pwn 0.5.204 → 0.5.205

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: b78c39fa6fd1c0c6beb6d291b58729ff4a2edc322d1540007588dd345f7e79c2
4
- data.tar.gz: 413e4516454671b48307209a349d2c49fdebd3348a4695ee146dff1f7bb497b9
3
+ metadata.gz: 1a7214e797d22c0979fd29b1d0280d5f30f59f1f37cc8851352a0978fd3f6c46
4
+ data.tar.gz: 7ec7a4039eb2f12eb982fcaf1ab8f3daf2a245aaa5e27114f35fe87814c84cb4
5
5
  SHA512:
6
- metadata.gz: 39d6ce7d9e66e92a432a82c22aa9db6acda5159d466141386f762f8652dacdc3d8b24ff55ef495c6c7f17387ccaab8d6c0679c54f24f32760bfa2e6977fd1bc4
7
- data.tar.gz: 832c22cbf6ceee84083d3d1e169ea7dfa383877a0497e03a1ab919c71e6594511d8b6b7597ce30033668e82a0b2d8263b1f15e5bf035458d738934d663e14012
6
+ metadata.gz: dfd62b12bf54f0509ec0fc966af44822e4602e1e6141b698a08bb7ec3d4d9705bfc21641ea7be1d6e77fb2d764cf4bbb805fcfa7168c076f76fe779ffb9743b1
7
+ data.tar.gz: 48d4b14dec4d3fe0c7ae6c4973b12e708e9f40ce3dad1038cbc5b97bea3e0e7661f1bb9f4095903b6a06b81ea357ff772580b891e757c68edef6ec971d57e732
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2024-06-20 17:51:21 UTC using RuboCop version 1.64.1.
3
+ # on 2024-09-13 00:23:29 UTC using RuboCop version 1.66.1.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
@@ -41,12 +41,19 @@ Lint/NestedMethodDefinition:
41
41
  Exclude:
42
42
  - 'lib/pwn/plugins/repl.rb'
43
43
 
44
- # Offense count: 311
45
- # This cop supports unsafe autocorrection (--autocorrect-all).
44
+ # Offense count: 309
45
+ # This cop supports safe autocorrection (--autocorrect).
46
46
  # Configuration parameters: AutoCorrect.
47
47
  Lint/UselessAssignment:
48
48
  Enabled: false
49
49
 
50
+ # Offense count: 1
51
+ # This cop supports safe autocorrection (--autocorrect).
52
+ # Configuration parameters: AutoCorrect, CheckForMethodsWithNoSideEffects.
53
+ Lint/Void:
54
+ Exclude:
55
+ - 'bin/pwn_web_cache_deception'
56
+
50
57
  # Offense count: 5
51
58
  # Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
52
59
  # AllowedMethods: refine
@@ -58,10 +65,11 @@ Metrics/BlockLength:
58
65
  - 'lib/pwn/plugins/repl.rb'
59
66
  - 'lib/pwn/sast/banned_function_calls_c.rb'
60
67
 
61
- # Offense count: 44
62
- # Configuration parameters: CountBlocks, Max.
68
+ # Offense count: 1
69
+ # Configuration parameters: CountBlocks, CountModifierForms, Max.
63
70
  Metrics/BlockNesting:
64
- Enabled: false
71
+ Exclude:
72
+ - 'lib/pwn/plugins/tor.rb'
65
73
 
66
74
  # Offense count: 1
67
75
  # Configuration parameters: LengthThreshold.
@@ -104,11 +112,11 @@ Style/Alias:
104
112
  Exclude:
105
113
  - 'lib/pwn/plugins/monkey_patch.rb'
106
114
 
107
- # Offense count: 160
115
+ # Offense count: 163
108
116
  Style/ClassVars:
109
117
  Enabled: false
110
118
 
111
- # Offense count: 279
119
+ # Offense count: 281
112
120
  # This cop supports safe autocorrection (--autocorrect).
113
121
  # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
114
122
  # SupportedStyles: assign_to_condition, assign_inside_condition
@@ -163,7 +171,7 @@ Style/RedundantStringEscape:
163
171
  - 'lib/pwn/sast/redos.rb'
164
172
  - 'vagrant/provisioners/kali_customize.rb'
165
173
 
166
- # Offense count: 55
174
+ # Offense count: 57
167
175
  # This cop supports unsafe autocorrection (--autocorrect-all).
168
176
  Style/SlicingWithRange:
169
177
  Enabled: false
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ cd /opt/pwn
37
37
  $ ./install.sh
38
38
  $ ./install.sh ruby-gem
39
39
  $ pwn
40
- pwn[v0.5.204]:001 >>> PWN.help
40
+ pwn[v0.5.205]: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.3.4@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.5.204]:001 >>> PWN.help
55
+ pwn[v0.5.205]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
  If you're using a multi-user install of RVM do:
@@ -62,7 +62,7 @@ $ rvm use ruby-3.3.4@pwn
62
62
  $ rvmsudo gem uninstall --all --executables pwn
63
63
  $ rvmsudo gem install --verbose pwn
64
64
  $ pwn
65
- pwn[v0.5.204]:001 >>> PWN.help
65
+ pwn[v0.5.205]:001 >>> PWN.help
66
66
  ```
67
67
 
68
68
  PWN periodically upgrades to the latest version of Ruby which is reflected in `/opt/pwn/.ruby-version`. The easiest way to upgrade to the latest version of Ruby from a previous PWN installation is to run the following script:
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.5.204'
4
+ VERSION = '0.5.205'
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.5.204
4
+ version: 0.5.205
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.