pwn 0.4.983 → 0.4.985
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +16 -18
- data/README.md +3 -3
- data/lib/pwn/plugins/black_duck_binary_analysis.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: ed13a7d551621823953ae889403c3adc33bf3775708883df68d59264c704b8d6
|
4
|
+
data.tar.gz: c64c47203af2d7de3a6a712ba31b6009f29a995c093ff44f412419f300431f1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb8706639d3bdacfac16917069a75946822de571995f9fc6130cb0150702c2c00ee0130fdb2332a59af2f3d2dbbdc5742cf3d90eda3934cab83becee689dc989
|
7
|
+
data.tar.gz: 160724cfa82a278440c81ba84530fec670a091bd9d2a44071cc675571be025978687844699c28d75fcc7a8e3bdd44924150f88f97bd089a280b2622760388308
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
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:
|
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:
|
25
|
+
# Offense count: 694
|
26
26
|
Lint/UselessRescue:
|
27
27
|
Enabled: false
|
28
28
|
|
29
|
-
# Offense count:
|
29
|
+
# Offense count: 291
|
30
30
|
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
31
31
|
Metrics/AbcSize:
|
32
32
|
Max: 328
|
33
33
|
|
34
|
-
# Offense count:
|
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:
|
51
|
+
# Offense count: 116
|
52
52
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
53
53
|
Metrics/CyclomaticComplexity:
|
54
54
|
Max: 231
|
55
55
|
|
56
|
-
# Offense count:
|
56
|
+
# Offense count: 536
|
57
57
|
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
58
58
|
Metrics/MethodLength:
|
59
|
-
Max:
|
59
|
+
Max: 1001
|
60
60
|
|
61
|
-
# Offense count:
|
61
|
+
# Offense count: 56
|
62
62
|
# Configuration parameters: CountComments, CountAsOne.
|
63
63
|
Metrics/ModuleLength:
|
64
64
|
Max: 1187
|
65
65
|
|
66
|
-
# Offense count:
|
66
|
+
# Offense count: 108
|
67
67
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
68
68
|
Metrics/PerceivedComplexity:
|
69
69
|
Max: 51
|
70
70
|
|
71
|
-
# Offense count:
|
71
|
+
# Offense count: 160
|
72
72
|
Style/ClassVars:
|
73
73
|
Enabled: false
|
74
74
|
|
75
|
-
# Offense count:
|
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
|
+
# 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:
|
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:
|
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:
|
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.
|
40
|
+
pwn[v0.4.985]: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.
|
55
|
+
pwn[v0.4.985]: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.
|
65
|
+
pwn[v0.4.985]: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:
|
@@ -144,7 +144,7 @@ module PWN
|
|
144
144
|
# callback_url: 'optional - callback url',
|
145
145
|
# scan_infoleak: 'optional - scan infoleak (defaults to true)',
|
146
146
|
# code_analysis: 'optional - code analysis (defaults to true)',
|
147
|
-
# scan_code_familiarity: 'optional - scan code familiarity (defaults to
|
147
|
+
# scan_code_familiarity: 'optional - scan code familiarity (defaults to false)',
|
148
148
|
# version: 'optional - version',
|
149
149
|
# product_id: 'optional - product id'
|
150
150
|
# )
|
@@ -162,7 +162,7 @@ module PWN
|
|
162
162
|
callback_url = opts[:callback_url]
|
163
163
|
scan_infoleak = false if opts[:scan_infoleak] ||= true
|
164
164
|
code_analysis = false if opts[:code_analysis] ||= true
|
165
|
-
scan_code_familiarity = false if opts[:scan_code_familiarity] ||=
|
165
|
+
scan_code_familiarity = false if opts[:scan_code_familiarity] ||= false
|
166
166
|
version = opts[:version]
|
167
167
|
product_id = opts[:product_id]
|
168
168
|
|
data/lib/pwn/version.rb
CHANGED