diff --git a/modules/auxiliary/gather/wp_all_in_one_migration_export.rb b/modules/auxiliary/gather/wp_all_in_one_migration_export.rb index 6c2e538c2d..811654726b 100644 --- a/modules/auxiliary/gather/wp_all_in_one_migration_export.rb +++ b/modules/auxiliary/gather/wp_all_in_one_migration_export.rb @@ -58,7 +58,7 @@ class Metasploit3 < Msf::Auxiliary unless res fail_with(Failure::Unknown, "#{peer} - No response from the target") end - + if res.code != 200 fail_with(Failure::UnexpectedReply, "#{peer} - Server responded with status code #{res.code}") end