# This configuration was generated by # `rubocop --auto-gen-config` # on 2024-06-17 17:41:04 UTC using RuboCop version 1.64.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: 21 # 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/ollama.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: 9 # Configuration parameters: AllowedMethods, AllowedPatterns. Lint/NestedMethodDefinition: Exclude: - 'lib/pwn/plugins/repl.rb' # Offense count: 307 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AutoCorrect. Lint/UselessAssignment: Enabled: false # Offense count: 5 # Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns. # AllowedMethods: refine Metrics/BlockLength: Exclude: - '**/*.gemspec' - 'lib/pwn/plugins/android.rb' - 'lib/pwn/plugins/msr206.rb' - 'lib/pwn/plugins/repl.rb' - 'lib/pwn/sast/banned_function_calls_c.rb' # Offense count: 44 # Configuration parameters: CountBlocks, Max. Metrics/BlockNesting: Enabled: false # Offense count: 1 # Configuration parameters: LengthThreshold. Metrics/CollectionLiteralLength: Exclude: - 'lib/pwn/plugins/uri_scheme.rb' # Offense count: 1 # Configuration parameters: AllowedMethods, AllowedPatterns, Max. Metrics/CyclomaticComplexity: Exclude: - 'lib/pwn/plugins/android.rb' # Offense count: 1 # Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: Exclude: - 'lib/pwn/banner/code_cave.rb' # Offense count: 9 # Configuration parameters: CountComments, Max, CountAsOne. Metrics/ModuleLength: Exclude: - 'lib/pwn/banner/code_cave.rb' - 'lib/pwn/plugins/android.rb' - 'lib/pwn/plugins/black_duck_binary_analysis.rb' - 'lib/pwn/plugins/gqrx.rb' - 'lib/pwn/plugins/msr206.rb' - 'lib/pwn/plugins/nessus_cloud.rb' - 'lib/pwn/plugins/open_ai.rb' - 'lib/pwn/plugins/packet.rb' - 'lib/pwn/plugins/repl.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: prefer_alias, prefer_alias_method Style/Alias: Exclude: - 'lib/pwn/plugins/monkey_patch.rb' # Offense count: 160 Style/ClassVars: Enabled: false # Offense count: 279 # 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: - 'lib/pwn/plugins/baresip.rb' - 'lib/pwn/plugins/mail_agent.rb' # Offense count: 10 # This cop supports unsafe autocorrection (--autocorrect-all). Style/MapIntoArray: Exclude: - 'bin/pwn_android_war_dialer' - 'bin/pwn_domain_reversewhois' - 'bin/pwn_jenkins_install_plugin' - 'bin/pwn_jenkins_thinBackup_aws_s3' - 'bin/pwn_www_uri_buster' - 'lib/pwn/plugins/char.rb' - 'lib/pwn/plugins/credit_card.rb' - 'lib/pwn/plugins/nexpose_vuln_scan.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/RedundantBegin: Exclude: - 'lib/pwn/plugins/transparent_browser.rb' # Offense count: 94 # This cop supports safe autocorrection (--autocorrect). Style/RedundantCondition: Exclude: - 'lib/pwn/plugins/packet.rb' # Offense count: 12 # This cop supports safe autocorrection (--autocorrect). Style/RedundantStringEscape: Exclude: - 'bin/pwn_autoinc_version' - 'lib/pwn/sast/emoticon.rb' - 'lib/pwn/sast/port.rb' - 'lib/pwn/sast/redos.rb' - 'vagrant/provisioners/kali_customize.rb' # Offense count: 55 # This cop supports unsafe autocorrection (--autocorrect-all). Style/SlicingWithRange: Enabled: false