pwn 0.4.983 → 0.4.984

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b37c857c5610cb3f21485950d01ca3419cd5523fb2ad1df37580e9507a9f86c
4
- data.tar.gz: 4b88ccf9c60cf1dc6c7960237b8e7eb4bbdac34518ef8054dfb6fcee99a57e2a
3
+ metadata.gz: e128c5ea69d2aaf8374d292b60ce8c6669549cb90f81e6645d7fa30ad16e411c
4
+ data.tar.gz: fc0fc81edeba79c504a2a147103353af158351eaa7b24d565352c17825b53197
5
5
  SHA512:
6
- metadata.gz: 226783806ea0920210e353a6e9c44ff971507740e4ccf5d2e285da799cf7fb50714137ec8117e93b50569e36de23813fff66815c72f1bf88f098c68a34eca216
7
- data.tar.gz: ea09a01cc6741c7f797856cb22c7bc20ff7c680ec315b6d6a55aa0ca34f9cc685f73dcb9289d0af0b66b3fd18477eba334b35d1111622a46cf379bd2ca5aee76
6
+ metadata.gz: ec8ac5586dd3821594201964bc6260d2ac9121972a4c29f240cacba38f92f2892d700e61df7e133139950115c71aa547a0fabfbd45144053caa9cb38e3b5b2df
7
+ data.tar.gz: 577b193c9a0c4f8c3b8ef5ebaa1419e18b5b102974a8b92a40ce271f4e85ea8acf3dce94286733fbaa9cb723dfaaaaad88a70235f9990e1a75ef3d6346314667
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2023-08-22 17:34:13 UTC using RuboCop version 1.56.1.
3
+ # on 2024-01-23 19:41:36 UTC using RuboCop version 1.60.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
@@ -17,21 +17,21 @@ Layout/LineContinuationSpacing:
17
17
  - 'packer/provisioners/wpscan.rb'
18
18
  - 'vagrant/provisioners/beef.rb'
19
19
 
20
- # Offense count: 284
20
+ # Offense count: 290
21
21
  # This cop supports unsafe autocorrection (--autocorrect-all).
22
22
  Lint/UselessAssignment:
23
23
  Enabled: false
24
24
 
25
- # Offense count: 676
25
+ # Offense count: 694
26
26
  Lint/UselessRescue:
27
27
  Enabled: false
28
28
 
29
- # Offense count: 286
29
+ # Offense count: 291
30
30
  # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
31
31
  Metrics/AbcSize:
32
32
  Max: 328
33
33
 
34
- # Offense count: 70
34
+ # Offense count: 71
35
35
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
36
36
  # AllowedMethods: refine
37
37
  Metrics/BlockLength:
@@ -48,31 +48,31 @@ Metrics/CollectionLiteralLength:
48
48
  Exclude:
49
49
  - 'lib/pwn/plugins/uri_scheme.rb'
50
50
 
51
- # Offense count: 109
51
+ # Offense count: 116
52
52
  # Configuration parameters: AllowedMethods, AllowedPatterns.
53
53
  Metrics/CyclomaticComplexity:
54
54
  Max: 231
55
55
 
56
- # Offense count: 522
56
+ # Offense count: 536
57
57
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
58
58
  Metrics/MethodLength:
59
- Max: 466
59
+ Max: 1001
60
60
 
61
- # Offense count: 53
61
+ # Offense count: 56
62
62
  # Configuration parameters: CountComments, CountAsOne.
63
63
  Metrics/ModuleLength:
64
64
  Max: 1187
65
65
 
66
- # Offense count: 102
66
+ # Offense count: 108
67
67
  # Configuration parameters: AllowedMethods, AllowedPatterns.
68
68
  Metrics/PerceivedComplexity:
69
69
  Max: 51
70
70
 
71
- # Offense count: 158
71
+ # Offense count: 160
72
72
  Style/ClassVars:
73
73
  Enabled: false
74
74
 
75
- # Offense count: 287
75
+ # Offense count: 278
76
76
  # This cop supports safe autocorrection (--autocorrect).
77
77
  # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
78
78
  # SupportedStyles: assign_to_condition, assign_inside_condition
@@ -92,25 +92,23 @@ Style/IfUnlessModifier:
92
92
  - 'bin/pwn'
93
93
  - 'lib/pwn/plugins/baresip.rb'
94
94
 
95
- # Offense count: 95
95
+ # Offense count: 94
96
96
  # This cop supports safe autocorrection (--autocorrect).
97
97
  Style/RedundantCondition:
98
98
  Exclude:
99
- - 'bin/pwn_simple_http_server'
100
99
  - 'lib/pwn/plugins/packet.rb'
101
100
 
102
- # Offense count: 13
101
+ # Offense count: 12
103
102
  # This cop supports safe autocorrection (--autocorrect).
104
103
  Style/RedundantStringEscape:
105
104
  Exclude:
106
105
  - 'bin/pwn_autoinc_version'
107
106
  - 'lib/pwn/sast/emoticon.rb'
108
- - 'lib/pwn/sast/php_type_juggling.rb'
109
107
  - 'lib/pwn/sast/port.rb'
110
108
  - 'lib/pwn/sast/redos.rb'
111
109
  - 'vagrant/provisioners/kali_customize.rb'
112
110
 
113
- # Offense count: 44
111
+ # Offense count: 46
114
112
  # This cop supports unsafe autocorrection (--autocorrect-all).
115
113
  Style/SlicingWithRange:
116
114
  Enabled: false
@@ -130,7 +128,7 @@ Style/StringLiterals:
130
128
  Exclude:
131
129
  - 'bin/pwn'
132
130
 
133
- # Offense count: 610
131
+ # Offense count: 637
134
132
  # This cop supports safe autocorrection (--autocorrect).
135
133
  # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
136
134
  # URISchemes: http, https
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.4.983]:001 >>> PWN.help
40
+ pwn[v0.4.984]: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.0@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.983]:001 >>> PWN.help
55
+ pwn[v0.4.984]: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.0@pwn
62
62
  $ rvmsudo gem uninstall --all --executables pwn
63
63
  $ rvmsudo gem install --verbose pwn
64
64
  $ pwn
65
- pwn[v0.4.983]:001 >>> PWN.help
65
+ pwn[v0.4.984]: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.4.983'
4
+ VERSION = '0.4.984'
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.983
4
+ version: 0.4.984
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.