rapid7/metasploit-framework

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

Summary

Maintainability
A
3 hrs
Test Coverage

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

  def initialize
    super(
      'Name' => 'Windows Manage PXE Exploit Server',
      'Description' => %q{
        This module provides a PXE server, running a DHCP and TFTP server.
Severity: Minor
Found in modules/post/windows/manage/pxeexploit.rb - About 1 hr to fix

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

      def run
        if !client.lanattacks
          print_status('Loading lanattacks extension...')
          client.core.use('lanattacks')
        elsif datastore['RESETPXE']
    Severity: Minor
    Found in modules/post/windows/manage/pxeexploit.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status