From 533d87efa4461eca7c2e4cebe75231e9788a1219 Mon Sep 17 00:00:00 2001 From: William Vu Date: Mon, 9 Jul 2018 16:01:24 -0500 Subject: [PATCH] Return CheckCode::Unsupported in ETERNALBLUE Defining a check method in the module overrides it. --- modules/exploits/windows/smb/ms17_010_eternalblue.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/exploits/windows/smb/ms17_010_eternalblue.rb b/modules/exploits/windows/smb/ms17_010_eternalblue.rb index af40974605..2ae3e51af5 100644 --- a/modules/exploits/windows/smb/ms17_010_eternalblue.rb +++ b/modules/exploits/windows/smb/ms17_010_eternalblue.rb @@ -108,6 +108,7 @@ class MetasploitModule < Msf::Exploit::Remote def check # todo: create MS17-010 mixin, and hook up auxiliary/scanner/smb/smb_ms17_010 + CheckCode::Unsupported end def exploit