1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00

changed module from exploit to auxiliary

git-svn-id: file:///home/svn/framework3/trunk@7595 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Joshua Drake 2009-11-24 17:45:21 +00:00
parent 91a7329810
commit 6e7de5b6d3

View File

@ -13,7 +13,7 @@
require 'msf/core' require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote class Metasploit3 < Msf::Auxiliary
include Msf::Exploit::Remote::DCERPC include Msf::Exploit::Remote::DCERPC
@ -66,8 +66,9 @@ class Metasploit3 < Msf::Exploit::Remote
def run def run
# Determine which pipe to use # Determine which pipe to use
pipe = target['Pipe'] ? target['Pipe'] : datastore['SMBPIPE'] #pipe = target['Pipe'] ? target['Pipe'] : datastore['SMBPIPE']
pipe = datastore['SMBPIPE']
print_status("Connecting to the SMB service...") print_status("Connecting to the SMB service...")
connect() connect()
smb_login() smb_login()