modules/post/windows/manage/pxeexploit.rb
Method initialize
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize
super(
'Name' => 'Windows Manage PXE Exploit Server',
'Description' => %q{
This module provides a PXE server, running a DHCP and TFTP server.
Method run
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def run
if !client.lanattacks
print_status('Loading lanattacks extension...')
client.core.use('lanattacks')
elsif datastore['RESETPXE']