rapid7/metasploit-framework — pull request #1934 by Ruslaideemin (2013-06-10 04:38:34+00:00)
Title: Fix UltraISO Exploit File Creation

Both ultraiso_ccd.rb and ultraiso_cue.rb use File.open to create
files, instead of using the create_file() function. This leads
to files being created in the wrong directory.

We work around this by dynamically changing the
file_format_filename function to return the corrected filename.