stop bruting if the page isn't there

git-svn-id: file:///home/svn/framework3/trunk@8641 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
James Lee 2010-02-25 20:50:46 +00:00
parent 76dd732db4
commit dfe9698cb3
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ class Metasploit3 < Msf::Auxiliary
}
}, 25)
return :done if (res.code == 404)
srvhdr = res.headers['Server']
success = true if (res.code == 200)