From f305988d21677f5b6a505d39b2d90e906922fd41 Mon Sep 17 00:00:00 2001 From: Jaime Geiger Date: Wed, 6 May 2015 17:18:09 -0400 Subject: [PATCH] Fixed regex (was always showing unsupported OS) --- annoy/annoy.cna | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/annoy/annoy.cna b/annoy/annoy.cna index 39e322a..3464504 100644 --- a/annoy/annoy.cna +++ b/annoy/annoy.cna @@ -2,7 +2,7 @@ popup meterpreter_bottom { menu "Annoy User" { - if (host_os(session_host($1)) eq "Microsoft Windows") { + if (host_os(session_host($1)) ismatch '.*Windows.*') { item "Enable Keyboard/Mouse" { m_cmd($1, "uictl enable keyboard"); m_cmd($1, "uictl enable mouse"); @@ -144,4 +144,4 @@ popup shell { } } } -} \ No newline at end of file +}