rapid7/metasploit-framework

View on GitHub
modules/post/windows/manage/change_password.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method run has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def run
    unless client.railgun
      print_error('This module requires a native Windows payload that supports Railgun.')
      return
    end
Severity: Minor
Found in modules/post/windows/manage/change_password.rb - About 1 hr to fix

    Method initialize has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def initialize(info = {})
        super(
          update_info(
            info,
            'Name' => 'Windows Manage Change Password',
    Severity: Minor
    Found in modules/post/windows/manage/change_password.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status