From 759960cc3338d10eafbd70f847536215e804f867 Mon Sep 17 00:00:00 2001 From: asoto-r7 Date: Wed, 6 Feb 2019 21:46:13 -0600 Subject: [PATCH] Provide feedback if the device appears to be patched --- modules/auxiliary/gather/cisco/cisco_rv320_config.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/auxiliary/gather/cisco/cisco_rv320_config.rb b/modules/auxiliary/gather/cisco/cisco_rv320_config.rb index 3f74e96731..dcb0ebd08d 100644 --- a/modules/auxiliary/gather/cisco/cisco_rv320_config.rb +++ b/modules/auxiliary/gather/cisco/cisco_rv320_config.rb @@ -113,6 +113,9 @@ class MetasploitModule < Msf::Auxiliary user = body.match(/^user (.*)/)[1] hash = body.match(/^password (.*)/)[1] report_cred(user, hash) + else body.match(/refresh content='0; url=\/default.htm/) + fail_with(Failure::NotVulnerable, "Response suggests device is patched") + return end end end