fix silly error handling arguments

git-svn-id: file:///home/svn/framework3/trunk@9637 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-06-30 19:28:31 +00:00
parent 03918eeeda
commit 219c298109
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class Plugin::Wmap < Msf::Plugin
def cmd_wmap_attack(*args)
aurl = args.shift
puri = URI.parse(val)
puri = URI.parse(aurl)
tssl = (puri.scheme == "https") ? true : false
if (puri.host.nil? or puri.host.empty?)