use wav with sounds plugin for windows / linux compat

bug/bundler_fix
Brent Cook 2015-12-08 16:20:44 -06:00
parent 080ec26afb
commit c301c7c7b0
11 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -51,7 +51,7 @@ class Plugin::EventSounds < Msf::Plugin
begin begin
while(true) while(true)
while(event = self.queue.shift) while(event = self.queue.shift)
path = ::File.join(self.base, self.theme, "#{event}.mp3") path = ::File.join(self.base, self.theme, "#{event}.wav")
if(::File.exists?(path)) if(::File.exists?(path))
Rex::Compat.play_sound(path) Rex::Compat.play_sound(path)
else else