From ac2182c69b30040e5e294f148625b4f1b8b666b4 Mon Sep 17 00:00:00 2001 From: Royce Davis Date: Mon, 7 Jan 2013 11:10:21 -0600 Subject: [PATCH] Edited to fix Travis build process --- lib/msf/core/exploit/psexec.rb | 1 + modules/auxiliary/admin/smb/ntdsgrab.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/msf/core/exploit/psexec.rb b/lib/msf/core/exploit/psexec.rb index d62192e2f4..6bff290054 100644 --- a/lib/msf/core/exploit/psexec.rb +++ b/lib/msf/core/exploit/psexec.rb @@ -6,6 +6,7 @@ require 'msf/core' module Msf + ### # # This module alows for resuse of the psexec code execution module diff --git a/modules/auxiliary/admin/smb/ntdsgrab.rb b/modules/auxiliary/admin/smb/ntdsgrab.rb index c6b8b94bb5..3ad486b21b 100644 --- a/modules/auxiliary/admin/smb/ntdsgrab.rb +++ b/modules/auxiliary/admin/smb/ntdsgrab.rb @@ -16,7 +16,8 @@ class Metasploit3 < Msf::Auxiliary XCEPT = Rex::Proto::SMB::Exceptions CONST = Rex::Proto::SMB::Constants - def initialize(info = {}) + + def initialize(info = {}) super(update_info(info, 'Name' => 'Windows Domain Controller - Download NTDS.dit and SYSTEM Hive', 'Description' => %q{This module authenticates to an Active Directory Domain Controller and creates @@ -177,7 +178,6 @@ class Metasploit3 < Msf::Auxiliary - # Create a copy of the SYSTEM hive file and stores it in the Windows # Temp directory on the target host def copy_sys_hive(ip) print_status("Copying SYSTEM hive file to Windows Temp directory")