# This configuration was generated by # `rubocop --auto-gen-config` # on 2023-08-22 17:34:13 UTC using RuboCop version 1.56.1. # 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: 5 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/LineContinuationSpacing: Exclude: - 'packer/provisioners/beef.rb' - 'packer/provisioners/metasploit.rb' - 'packer/provisioners/wpscan.rb' - 'vagrant/provisioners/beef.rb' # Offense count: 284 # This cop supports unsafe autocorrection (--autocorrect-all). Lint/UselessAssignment: Enabled: false # Offense count: 676 Lint/UselessRescue: Enabled: false # Offense count: 286 # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. Metrics/AbcSize: Max: 328 # Offense count: 70 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. # AllowedMethods: refine Metrics/BlockLength: Max: 196 # Offense count: 49 # Configuration parameters: CountBlocks. Metrics/BlockNesting: Max: 5 # Offense count: 1 # Configuration parameters: LengthThreshold. Metrics/CollectionLiteralLength: Exclude: - 'lib/pwn/plugins/uri_scheme.rb' # Offense count: 109 # Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/CyclomaticComplexity: Max: 231 # Offense count: 522 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: Max: 466 # Offense count: 53 # Configuration parameters: CountComments, CountAsOne. Metrics/ModuleLength: Max: 1187 # Offense count: 102 # Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/PerceivedComplexity: Max: 51 # Offense count: 158 Style/ClassVars: Enabled: false # Offense count: 287 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions. # SupportedStyles: assign_to_condition, assign_inside_condition Style/ConditionalAssignment: Enabled: false # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Style/ExplicitBlockArgument: Exclude: - 'lib/pwn/plugins/nmap_it.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Style/IfUnlessModifier: Exclude: - 'bin/pwn' - 'lib/pwn/plugins/baresip.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/RedundantBegin: Exclude: - 'lib/pwn/www/hacker_one.rb' # Offense count: 95 # This cop supports safe autocorrection (--autocorrect). Style/RedundantCondition: Exclude: - 'bin/pwn_simple_http_server' - 'lib/pwn/plugins/packet.rb' # Offense count: 13 # This cop supports safe autocorrection (--autocorrect). Style/RedundantStringEscape: Exclude: - 'bin/pwn_autoinc_version' - 'lib/pwn/sast/emoticon.rb' - 'lib/pwn/sast/php_type_juggling.rb' - 'lib/pwn/sast/port.rb' - 'lib/pwn/sast/redos.rb' - 'vagrant/provisioners/kali_customize.rb' # Offense count: 44 # This cop supports unsafe autocorrection (--autocorrect-all). Style/SlicingWithRange: Enabled: false # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowModifier. Style/SoleNestedConditional: Exclude: - 'bin/pwn' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'bin/pwn' # Offense count: 610 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. # URISchemes: http, https Layout/LineLength: Max: 1620