use wav with sounds plugin for windows / linux compat
parent
080ec26afb
commit
c301c7c7b0
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.
Binary file not shown.
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue