diff --git a/scripts/meterpreter/killav.rb b/scripts/meterpreter/killav.rb index 686fd57e0a..6510b90ac7 100644 --- a/scripts/meterpreter/killav.rb +++ b/scripts/meterpreter/killav.rb @@ -4,6 +4,21 @@ # Provided by: Jerome Athias # +@@exec_opts = Rex::Parser::Arguments.new( + "-h" => [ false, "Help menu." ] +) +def usage + print_line("Usage:" + @@exec_opts.usage) + raise Rex::Script::Completed +end + +@@exec_opts.parse(args) { |opt, idx, val| + case opt + when "-h" + usage + end +} + print_status("Killing Antivirus services on the target...") avs = %W{