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:
parent
91a7329810
commit
6e7de5b6d3
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user