pwn 0.5.254 → 0.5.255
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 +4 -4
- data/.rubocop_todo.yml +22 -2
- data/README.md +3 -3
- data/lib/pwn/plugins/xxd.rb +1 -1
- data/lib/pwn/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbd1e88ca6f32bad8caca9af01e501719c10b77ca87900d573fff515fa2b36a9
|
4
|
+
data.tar.gz: 5893b292e10e9bcc992992094b867566de49147e8da5bffed22df4365d8360e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70e309082fe970c343f2047544ec52f70d8612cee6f45e877024e0dafeb5c27582cea7b9b7e82345873bcd595ed7726259e6d3c1e75ea2b54d925495dbf14032
|
7
|
+
data.tar.gz: e2d0f317667a15e9b01f334db186c5515bd6ddc637ea4bad60e8409fc0a8d51ebf22e655b7ceda9a4d9ce05d27a2aef760af154b90a84618d2681aa243d20824
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2025-
|
3
|
+
# on 2025-04-21 18:26:41 UTC using RuboCop version 1.75.2.
|
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,7 +41,7 @@ Lint/RedundantTypeConversion:
|
|
41
41
|
- 'lib/pwn/plugins/jenkins.rb'
|
42
42
|
- 'lib/pwn/plugins/repl.rb'
|
43
43
|
|
44
|
-
# Offense count:
|
44
|
+
# Offense count: 319
|
45
45
|
# This cop supports safe autocorrection (--autocorrect).
|
46
46
|
# Configuration parameters: AutoCorrect.
|
47
47
|
Lint/UselessAssignment:
|
@@ -173,10 +173,30 @@ Style/RedundantBegin:
|
|
173
173
|
|
174
174
|
# Offense count: 94
|
175
175
|
# This cop supports safe autocorrection (--autocorrect).
|
176
|
+
# Configuration parameters: AllowedMethods.
|
177
|
+
# AllowedMethods: nonzero?
|
176
178
|
Style/RedundantCondition:
|
177
179
|
Exclude:
|
178
180
|
- 'lib/pwn/plugins/packet.rb'
|
179
181
|
|
182
|
+
# Offense count: 13
|
183
|
+
# This cop supports safe autocorrection (--autocorrect).
|
184
|
+
Style/RedundantParentheses:
|
185
|
+
Exclude:
|
186
|
+
- 'lib/pwn/sast/banned_function_calls_c.rb'
|
187
|
+
- 'lib/pwn/sast/cmd_execution_java.rb'
|
188
|
+
- 'lib/pwn/sast/cmd_execution_python.rb'
|
189
|
+
- 'lib/pwn/sast/cmd_execution_ruby.rb'
|
190
|
+
- 'lib/pwn/sast/cmd_execution_scala.rb'
|
191
|
+
- 'lib/pwn/sast/deserial_java.rb'
|
192
|
+
- 'lib/pwn/sast/factory.rb'
|
193
|
+
- 'lib/pwn/sast/log4j.rb'
|
194
|
+
- 'lib/pwn/sast/logger.rb'
|
195
|
+
- 'lib/pwn/sast/php_input_mechanisms.rb'
|
196
|
+
- 'lib/pwn/sast/php_type_juggling.rb'
|
197
|
+
- 'lib/pwn/sast/throw_errors.rb'
|
198
|
+
- 'lib/pwn/sast/type_script_type_juggling.rb'
|
199
|
+
|
180
200
|
# Offense count: 12
|
181
201
|
# This cop supports safe autocorrection (--autocorrect).
|
182
202
|
Style/RedundantStringEscape:
|
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.
|
40
|
+
pwn[v0.5.255]:001 >>> PWN.help
|
41
41
|
```
|
42
42
|
|
43
43
|
[](https://youtu.be/G7iLUY4FzsI)
|
@@ -52,7 +52,7 @@ $ rvm use ruby-3.4.1@pwn
|
|
52
52
|
$ gem uninstall --all --executables pwn
|
53
53
|
$ gem install --verbose pwn
|
54
54
|
$ pwn
|
55
|
-
pwn[v0.5.
|
55
|
+
pwn[v0.5.255]: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.4.1@pwn
|
|
62
62
|
$ rvmsudo gem uninstall --all --executables pwn
|
63
63
|
$ rvmsudo gem install --verbose pwn
|
64
64
|
$ pwn
|
65
|
-
pwn[v0.5.
|
65
|
+
pwn[v0.5.255]: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/plugins/xxd.rb
CHANGED
data/lib/pwn/version.rb
CHANGED