.rubocop_todo.yml in pwn-0.5.43 vs .rubocop_todo.yml in pwn-0.5.44
- old
+ new
@@ -1,13 +1,20 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2024-01-23 19:41:36 UTC using RuboCop version 1.60.1.
+# on 2024-03-04 01:40:30 UTC using RuboCop version 1.61.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
+# Offense count: 1
+# Configuration parameters: Severity, Include.
+# Include: **/*.gemspec
+Gemspec/RequiredRubyVersion:
+ Exclude:
+ - 'pwn.gemspec'
+
# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
Layout/LineContinuationSpacing:
@@ -15,66 +22,84 @@
- 'packer/provisioners/beef.rb'
- 'packer/provisioners/metasploit.rb'
- 'packer/provisioners/wpscan.rb'
- 'vagrant/provisioners/beef.rb'
-# Offense count: 290
+# Offense count: 18
+# This cop supports safe autocorrection (--autocorrect).
+# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
+# URISchemes: http, https
+Layout/LineLength:
+ Exclude:
+ - 'Vagrantfile'
+ - 'bin/pwn_diff_csv_files_w_column_exclude'
+ - 'lib/pwn/banner/jmp_esp.rb'
+ - 'lib/pwn/plugins/mail_agent.rb'
+ - 'lib/pwn/plugins/open_ai.rb'
+ - 'lib/pwn/reports/fuzz.rb'
+ - 'lib/pwn/reports/phone.rb'
+ - 'lib/pwn/reports/sast.rb'
+ - 'lib/pwn/reports/uri_buster.rb'
+ - 'lib/pwn/sast/banned_function_calls_c.rb'
+
+# Offense count: 294
# This cop supports unsafe autocorrection (--autocorrect-all).
+# Configuration parameters: AutoCorrect.
Lint/UselessAssignment:
Enabled: false
-# Offense count: 694
-Lint/UselessRescue:
- Enabled: false
-
-# Offense count: 291
-# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
-Metrics/AbcSize:
- Max: 328
-
-# Offense count: 71
-# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
+# Offense count: 3
+# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
# AllowedMethods: refine
Metrics/BlockLength:
- Max: 196
+ Exclude:
+ - '**/*.gemspec'
+ - 'lib/pwn/plugins/android.rb'
+ - 'lib/pwn/plugins/msr206.rb'
+ - 'lib/pwn/sast/banned_function_calls_c.rb'
-# Offense count: 49
-# Configuration parameters: CountBlocks.
+# Offense count: 44
+# Configuration parameters: CountBlocks, Max.
Metrics/BlockNesting:
- Max: 5
+ Enabled: false
# Offense count: 1
# Configuration parameters: LengthThreshold.
Metrics/CollectionLiteralLength:
Exclude:
- 'lib/pwn/plugins/uri_scheme.rb'
-# Offense count: 116
-# Configuration parameters: AllowedMethods, AllowedPatterns.
+# Offense count: 1
+# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
Metrics/CyclomaticComplexity:
- Max: 231
+ Exclude:
+ - 'lib/pwn/plugins/android.rb'
-# Offense count: 536
-# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
+# Offense count: 1
+# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
- Max: 1001
+ Exclude:
+ - 'lib/pwn/banner/code_cave.rb'
-# Offense count: 56
-# Configuration parameters: CountComments, CountAsOne.
+# Offense count: 8
+# Configuration parameters: CountComments, Max, CountAsOne.
Metrics/ModuleLength:
- Max: 1187
+ Exclude:
+ - 'lib/pwn/banner/code_cave.rb'
+ - 'lib/pwn/plugins/android.rb'
+ - 'lib/pwn/plugins/black_duck_binary_analysis.rb'
+ - 'lib/pwn/plugins/ibm_appscan.rb'
+ - 'lib/pwn/plugins/msr206.rb'
+ - 'lib/pwn/plugins/nessus_cloud.rb'
+ - 'lib/pwn/plugins/open_ai.rb'
+ - 'lib/pwn/plugins/packet.rb'
-# Offense count: 108
-# Configuration parameters: AllowedMethods, AllowedPatterns.
-Metrics/PerceivedComplexity:
- Max: 51
-
# Offense count: 160
Style/ClassVars:
Enabled: false
-# Offense count: 278
+# Offense count: 280
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment:
Enabled: false
@@ -83,16 +108,17 @@
# This cop supports safe autocorrection (--autocorrect).
Style/ExplicitBlockArgument:
Exclude:
- 'lib/pwn/plugins/nmap_it.rb'
-# Offense count: 2
+# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
Style/IfUnlessModifier:
Exclude:
- 'bin/pwn'
- 'lib/pwn/plugins/baresip.rb'
+ - 'lib/pwn/plugins/mail_agent.rb'
# Offense count: 94
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantCondition:
Exclude:
@@ -106,11 +132,11 @@
- 'lib/pwn/sast/emoticon.rb'
- 'lib/pwn/sast/port.rb'
- 'lib/pwn/sast/redos.rb'
- 'vagrant/provisioners/kali_customize.rb'
-# Offense count: 46
+# Offense count: 48
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/SlicingWithRange:
Enabled: false
# Offense count: 1
@@ -125,12 +151,5 @@
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- 'bin/pwn'
-
-# Offense count: 637
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
-# URISchemes: http, https
-Layout/LineLength:
- Max: 1620