modules/post/windows/gather/file_from_raw_ntfs.rb
Method run
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def run
version = get_version_info
fail_with(Failure::NoTarget, 'Module not valid for Windows 2000') if version.build_number == Msf::WindowsVersion::Win2000
fail_with(Failure::NoAccess, 'You don\'t have administrative privileges') unless is_admin?
Method initialize
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Windows File Gather File from Raw NTFS',