Land #5550, custom exe_filename for to_exe_vba

bug/bundler_fix
William Vu 2015-06-16 19:10:49 -05:00
commit dc07938668
No known key found for this signature in database
GPG Key ID: 68BD00CE25866743
1 changed files with 28 additions and 28 deletions

View File

@ -1035,8 +1035,8 @@ require 'msf/core/exe/segment_appender'
persist = opts[:persist] || false
hash_sub = {}
hash_sub[:exe_filename] = opts[:exe_filename] || Rex::Text.rand_text_alpha(rand(8)+8) << '.exe'
hash_sub[:var_shellcode] = Rex::Text.rand_text_alpha(rand(8)+8)
hash_sub[:exe_filename] = Rex::Text.rand_text_alpha(rand(8)+8) << '.exe'
hash_sub[:var_fname] = Rex::Text.rand_text_alpha(rand(8)+8)
hash_sub[:var_func] = Rex::Text.rand_text_alpha(rand(8)+8)
hash_sub[:var_stream] = Rex::Text.rand_text_alpha(rand(8)+8)