From 46852e8ab01fd870c1c361f2ddd2f2ed32e04858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franci=20=C5=A0acer?= Date: Fri, 18 Aug 2017 22:27:26 +0200 Subject: [PATCH] Update scheduleme.rb Fixed a bug introduced in commit #aa03db1f5c4a694d258879ccdf0dcaaf7f576355 --- scripts/meterpreter/scheduleme.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/meterpreter/scheduleme.rb b/scripts/meterpreter/scheduleme.rb index 7a9d443882..3bee975373 100644 --- a/scripts/meterpreter/scheduleme.rb +++ b/scripts/meterpreter/scheduleme.rb @@ -241,7 +241,7 @@ password = nil end } -if client.platform != 'windows' +if client.platform == 'windows' if helpcall == 1 usage() elsif cmd == nil && file == nil