2010-01-24 18:56:48 +00:00
|
|
|
sounds = {
|
2013-09-30 18:47:53 +00:00
|
|
|
'num0' => '0',
|
|
|
|
'num1' => '1',
|
|
|
|
'num2' => '2',
|
|
|
|
'num3' => '3',
|
|
|
|
'num4' => '4',
|
|
|
|
'num5' => '5',
|
|
|
|
'num6' => '6',
|
|
|
|
'num7' => '7',
|
|
|
|
'num8' => '8',
|
|
|
|
'num9' => '9',
|
|
|
|
'closed' => 'closed',
|
|
|
|
'opened' => 'opened',
|
|
|
|
'plugin_load' => 'meta sploit sound plugin has been loaded',
|
|
|
|
'plugin_unload' => 'sound plugin has been unloaded',
|
|
|
|
'session' => 'session',
|
|
|
|
'address' => 'address',
|
|
|
|
'port' => 'port',
|
|
|
|
'dot' => 'dot',
|
|
|
|
'session_open_meterpreter' => 'a new meterp reter session has been opened',
|
|
|
|
'session_open_shell' => 'a new command shell session has been opened',
|
|
|
|
'session_open_vnc' => 'a new VNC session has been opened'
|
2010-01-24 18:56:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
voice_name = 'Zarvox'
|
|
|
|
|
|
|
|
def create_aiff(voice, file,text)
|
2013-09-30 18:47:53 +00:00
|
|
|
system("say -v #{voice} -o #{file}.aiff #{text}")
|
2010-01-24 18:56:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
sounds.keys.each do |k|
|
2013-09-30 18:47:53 +00:00
|
|
|
create_aiff(voice_name, k, sounds[k])
|
2010-01-24 18:56:48 +00:00
|
|
|
end
|
|
|
|
|