Try 445 then 139 - faster in most cases

git-svn-id: file:///home/svn/framework3/trunk@6675 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-06-20 02:43:56 +00:00
parent 58fb65d4ef
commit 2061f2e048
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class Metasploit3 < Msf::Auxiliary
# Fingerprint a single host # Fingerprint a single host
def run_host(ip) def run_host(ip)
[[139, false], [445, true]].each do |info| [[445, true], [139, false]].each do |info|
datastore['RPORT'] = info[0] datastore['RPORT'] = info[0]
datastore['SMBDirect'] = info[1] datastore['SMBDirect'] = info[1]