Skip to content

Commit 2735c03

Browse files
committed
fixed issues as requested.
fixed.
1 parent 8bead8f commit 2735c03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/post/windows/manage/killav.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ def initialize(info={})
2323

2424
def run
2525

26-
avs = ::File.read(::File.join(Msf::Config.data_directory, "/wordlists/av_list.txt"))
26+
avs = ::File.read(::File.join(Msf::Config.data_directory, 'wordlists', 'av_list.txt'))
2727

2828
client.sys.process.get_processes().each do |x|
29-
if (avs.index(x['name'].downcase))
29+
if avs.include?(x['name'].downcase)
3030
print_status("Killing off #{x['name']}...")
3131
client.sys.process.kill(x['pid'])
3232
end

0 commit comments

Comments
 (0)