mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
Fixes #696. Default direct to FALSE if port is 139
git-svn-id: file:///home/svn/framework3/trunk@7933 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
5830e359b6
commit
6147db8722
@ -73,7 +73,7 @@ module Exploit::Remote::SMB
|
||||
# and the destination port is configured as 139
|
||||
direct = smb_direct
|
||||
if(datastore.default?('SMBDirect') and rport.to_i == 139)
|
||||
direct = true
|
||||
direct = false
|
||||
end
|
||||
|
||||
c = SIMPLE.new(s, direct)
|
||||
|
Loading…
Reference in New Issue
Block a user