rapid7/metasploit-framework

View on GitHub
modules/post/osx/gather/autologin_password.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

  def run
    # ensure the user is root (or can read the kcpassword)
    unless is_root?
      fail_with(Failure::NoAccess, 'Root privileges are required to read kcpassword file')
    end
Severity: Minor
Found in modules/post/osx/gather/autologin_password.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status