pwn 0.4.615 → 0.4.616
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 +24 -18
- data/README.md +2 -2
- data/lib/pwn/plugins/char.rb +2 -2
- 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: 07d6ae5051610f818620f4c6435ad3e1149f9ac5c36f68b54f4ec012d9aefd08
|
|
4
|
+
data.tar.gz: 4c4bbf2f7178ef1c43b168f36bff45f7b5175fb92f6c9686a1f79888ab00cd4f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e5d4ad9b2a4a304e96c72d1955feacfcf098116d4ee14d59062badedbf44fd8502ae75e0eb85cb83131da0529baf56292c08d5d8e78111c24cac53ec7767797e
|
|
7
|
+
data.tar.gz: 912dfb0843d52dff40ef0f0e0fa409eefae3ab13867fb9b3733aaaf060a5e783d08b3f819fb5d32383fada9f2eadd7a6f88c3e5b738bc77f4f0e14124f1cfdd7
|
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-
|
|
3
|
+
# on 2023-03-07 16:56:25 UTC using RuboCop version 1.48.0.
|
|
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,37 +17,43 @@ Layout/LineContinuationSpacing:
|
|
|
17
17
|
- 'packer/provisioners/wpscan.rb'
|
|
18
18
|
- 'vagrant/provisioners/beef.rb'
|
|
19
19
|
|
|
20
|
-
# Offense count:
|
|
20
|
+
# Offense count: 270
|
|
21
21
|
Lint/UselessAssignment:
|
|
22
22
|
Enabled: false
|
|
23
23
|
|
|
24
|
-
# Offense count:
|
|
24
|
+
# Offense count: 631
|
|
25
25
|
Lint/UselessRescue:
|
|
26
26
|
Enabled: false
|
|
27
27
|
|
|
28
|
-
# Offense count:
|
|
29
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns,
|
|
28
|
+
# Offense count: 271
|
|
29
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
|
30
30
|
Metrics/AbcSize:
|
|
31
31
|
Max: 328
|
|
32
32
|
|
|
33
|
-
# Offense count:
|
|
34
|
-
# Configuration parameters: CountComments, CountAsOne,
|
|
33
|
+
# Offense count: 69
|
|
34
|
+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
|
35
35
|
# AllowedMethods: refine
|
|
36
36
|
Metrics/BlockLength:
|
|
37
37
|
Max: 196
|
|
38
38
|
|
|
39
|
-
# Offense count:
|
|
39
|
+
# Offense count: 47
|
|
40
40
|
# Configuration parameters: CountBlocks.
|
|
41
41
|
Metrics/BlockNesting:
|
|
42
42
|
Max: 5
|
|
43
43
|
|
|
44
|
-
# Offense count:
|
|
45
|
-
# Configuration parameters:
|
|
44
|
+
# Offense count: 1
|
|
45
|
+
# Configuration parameters: LengthThreshold.
|
|
46
|
+
Metrics/CollectionLiteralLength:
|
|
47
|
+
Exclude:
|
|
48
|
+
- 'lib/pwn/plugins/uri_scheme.rb'
|
|
49
|
+
|
|
50
|
+
# Offense count: 98
|
|
51
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
|
46
52
|
Metrics/CyclomaticComplexity:
|
|
47
53
|
Max: 231
|
|
48
54
|
|
|
49
|
-
# Offense count:
|
|
50
|
-
# Configuration parameters: CountComments, CountAsOne,
|
|
55
|
+
# Offense count: 493
|
|
56
|
+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
|
51
57
|
Metrics/MethodLength:
|
|
52
58
|
Max: 466
|
|
53
59
|
|
|
@@ -56,12 +62,12 @@ Metrics/MethodLength:
|
|
|
56
62
|
Metrics/ModuleLength:
|
|
57
63
|
Max: 1186
|
|
58
64
|
|
|
59
|
-
# Offense count:
|
|
60
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns
|
|
65
|
+
# Offense count: 90
|
|
66
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
|
61
67
|
Metrics/PerceivedComplexity:
|
|
62
68
|
Max: 51
|
|
63
69
|
|
|
64
|
-
# Offense count:
|
|
70
|
+
# Offense count: 166
|
|
65
71
|
Style/ClassVars:
|
|
66
72
|
Enabled: false
|
|
67
73
|
|
|
@@ -102,14 +108,14 @@ Style/RedundantStringEscape:
|
|
|
102
108
|
- 'lib/pwn/sast/redos.rb'
|
|
103
109
|
- 'vagrant/provisioners/kali_customize.rb'
|
|
104
110
|
|
|
105
|
-
# Offense count:
|
|
111
|
+
# Offense count: 46
|
|
106
112
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
107
113
|
Style/SlicingWithRange:
|
|
108
114
|
Enabled: false
|
|
109
115
|
|
|
110
|
-
# Offense count:
|
|
116
|
+
# Offense count: 579
|
|
111
117
|
# This cop supports safe autocorrection (--autocorrect).
|
|
112
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns
|
|
118
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
|
113
119
|
# URISchemes: http, https
|
|
114
120
|
Layout/LineLength:
|
|
115
121
|
Max: 1620
|
data/README.md
CHANGED
|
@@ -37,7 +37,7 @@ $ rvm use ruby-ruby-3.2.1@pwn
|
|
|
37
37
|
$ rvm list gemsets
|
|
38
38
|
$ gem install --verbose pwn
|
|
39
39
|
$ pwn
|
|
40
|
-
pwn[v0.4.
|
|
40
|
+
pwn[v0.4.616]:001 >>> PWN.help
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
[](https://youtu.be/G7iLUY4FzsI)
|
|
@@ -52,7 +52,7 @@ $ rvm use ruby-ruby-3.2.1@pwn
|
|
|
52
52
|
$ gem uninstall --all --executables pwn
|
|
53
53
|
$ gem install --verbose pwn
|
|
54
54
|
$ pwn
|
|
55
|
-
pwn[v0.4.
|
|
55
|
+
pwn[v0.4.616]:001 >>> PWN.help
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
|
data/lib/pwn/plugins/char.rb
CHANGED
|
@@ -368,7 +368,7 @@ module PWN
|
|
|
368
368
|
end
|
|
369
369
|
end
|
|
370
370
|
|
|
371
|
-
if File.
|
|
371
|
+
if File.empty?(this_file)
|
|
372
372
|
File.unlink(this_file)
|
|
373
373
|
else
|
|
374
374
|
print '.'
|
|
@@ -376,7 +376,7 @@ module PWN
|
|
|
376
376
|
rescue StandardError => e
|
|
377
377
|
puts "FILE GENERATION ATTEMPT OF: #{this_file} RESULTED THE FOLLOWING ERROR:"
|
|
378
378
|
puts "#{e.class}: #{e.message}\n#{e.backtrace}\n\n\n"
|
|
379
|
-
File.unlink(this_file) if File.
|
|
379
|
+
File.unlink(this_file) if File.empty?(this_file)
|
|
380
380
|
next
|
|
381
381
|
end
|
|
382
382
|
print "\n"
|
data/lib/pwn/version.rb
CHANGED