1
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:
HD Moore 2009-12-21 19:04:28 +00:00
parent 5830e359b6
commit 6147db8722

View File

@ -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)