diff --git a/data/sounds/default/excellent.mp3 b/data/sounds/default/excellent.mp3 index 0079af7937..ed98378a7d 100755 Binary files a/data/sounds/default/excellent.mp3 and b/data/sounds/default/excellent.mp3 differ diff --git a/data/sounds/default/exploit_worked.mp3 b/data/sounds/default/exploit_worked.mp3 new file mode 100755 index 0000000000..17311f3a81 Binary files /dev/null and b/data/sounds/default/exploit_worked.mp3 differ diff --git a/data/sounds/default/session_open.mp3 b/data/sounds/default/got_a_shell.mp3 similarity index 100% rename from data/sounds/default/session_open.mp3 rename to data/sounds/default/got_a_shell.mp3 diff --git a/data/sounds/default/wonderful.mp3 b/data/sounds/default/wonderful.mp3 new file mode 100755 index 0000000000..585c83cc2d Binary files /dev/null and b/data/sounds/default/wonderful.mp3 differ diff --git a/plugins/sounds.rb b/plugins/sounds.rb index 7cd7dd84d8..35689e640a 100644 --- a/plugins/sounds.rb +++ b/plugins/sounds.rb @@ -13,9 +13,8 @@ module Msf class Plugin::EventSounds < Msf::Plugin - attr_accessor :theme, :base, :queue, :queue_thread - attr_reader :try_harder, :session_open, :excellent + attr_reader :try_harder, :excellent, :got_a_shell, :exploit_worked, :wonderful, :excellent include Msf::SessionEvent @@ -24,12 +23,18 @@ class Plugin::EventSounds < Msf::Plugin end def on_session_open(session) - sound = [excellent, session_open].sample + sound = [ + excellent, + got_a_shell, + exploit_worked, + wonderful, + excellent + ].sample play_sound(sound) end def on_session_close(session, reason='') - play_sound(session_close) + # Cannot find an audio clip of muts saying something suitable for this. end def on_session_fail(reason='') @@ -70,9 +75,12 @@ class Plugin::EventSounds < Msf::Plugin def init_sound_paths - @try_harder = 'try_harder' - @session_open = 'session_open' - @excellent = 'excellent' + @try_harder = 'try_harder' + @excellent = 'excellent' + @got_a_shell = 'got_a_shell' + @exploit_worked = 'exploit_worked' + @wonderful = 'wonderful' + @excellent = 'excellent' end