killav usage
git-svn-id: file:///home/svn/framework3/trunk@7272 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
adece18fd5
commit
cf25726236
|
@ -4,6 +4,21 @@
|
||||||
# Provided by: Jerome Athias <jerome.athias [at] free.fr>
|
# Provided by: Jerome Athias <jerome.athias [at] free.fr>
|
||||||
#
|
#
|
||||||
|
|
||||||
|
@@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...")
|
print_status("Killing Antivirus services on the target...")
|
||||||
|
|
||||||
avs = %W{
|
avs = %W{
|
||||||
|
|
Loading…
Reference in New Issue