Skip to content

Commit 9cb54fc

Browse files
committed
rubocop --auto-gen-config
1 parent c331c05 commit 9cb54fc

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

.rubocop_todo.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2025-01-14 18:50:21 UTC using RuboCop version 1.70.0.
3+
# on 2025-02-15 22:50:15 UTC using RuboCop version 1.72.1.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -30,7 +30,18 @@ Lint/NestedMethodDefinition:
3030
Exclude:
3131
- 'lib/pwn/plugins/repl.rb'
3232

33-
# Offense count: 316
33+
# Offense count: 8
34+
# This cop supports safe autocorrection (--autocorrect).
35+
Lint/RedundantTypeConversion:
36+
Exclude:
37+
- 'bin/pwn_xss_dom_vectors'
38+
- 'lib/pwn/plugins/beef.rb'
39+
- 'lib/pwn/plugins/defect_dojo.rb'
40+
- 'lib/pwn/plugins/hacker_one.rb'
41+
- 'lib/pwn/plugins/jenkins.rb'
42+
- 'lib/pwn/plugins/repl.rb'
43+
44+
# Offense count: 320
3445
# This cop supports safe autocorrection (--autocorrect).
3546
# Configuration parameters: AutoCorrect.
3647
Lint/UselessAssignment:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $ cd /opt/pwn
3737
$ ./install.sh
3838
$ ./install.sh ruby-gem
3939
$ pwn
40-
pwn[v0.5.246]:001 >>> PWN.help
40+
pwn[v0.5.247]:001 >>> PWN.help
4141
```
4242

4343
[![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.4.1@pwn
5252
$ gem uninstall --all --executables pwn
5353
$ gem install --verbose pwn
5454
$ pwn
55-
pwn[v0.5.246]:001 >>> PWN.help
55+
pwn[v0.5.247]:001 >>> PWN.help
5656
```
5757

5858
If you're using a multi-user install of RVM do:
@@ -62,7 +62,7 @@ $ rvm use ruby-3.4.1@pwn
6262
$ rvmsudo gem uninstall --all --executables pwn
6363
$ rvmsudo gem install --verbose pwn
6464
$ pwn
65-
pwn[v0.5.246]:001 >>> PWN.help
65+
pwn[v0.5.247]:001 >>> PWN.help
6666
```
6767

6868
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:

lib/pwn/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module PWN
4-
VERSION = '0.5.246'
4+
VERSION = '0.5.247'
55
end

0 commit comments

Comments
 (0)