Use wordpress_and_online? before actions

bug/bundler_fix
William Vu 2017-02-08 07:24:57 -06:00
parent 3fdd3d3651
commit befe224c58
1 changed files with 5 additions and 0 deletions

View File

@ -66,6 +66,11 @@ class MetasploitModule < Msf::Auxiliary
end
def run_host(_ip)
if !wordpress_and_online?
print_error("WordPress not detected at #{full_uri}")
return
end
case action.name
when 'LIST'
do_list