Skip to content

Commit 54c1e13

Browse files
committed
Land rapid7#4140, @wchen-r7's default template for adobe_pdf_embedded_exe
* Fixes rapid7#4134 * Adds a default PDF template
2 parents adefb23 + 1b2554b commit 54c1e13

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
616 Bytes
Binary file not shown.

modules/exploits/windows/fileformat/adobe_pdf_embedded_exe.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def initialize(info = {})
5050

5151
register_options(
5252
[
53-
OptString.new('INFILENAME', [ true, 'The Input PDF filename.']),
53+
OptPath.new('INFILENAME', [ true, 'The Input PDF filename.', ::File.join(Msf::Config.data_directory, 'exploits', 'CVE-2010-1240', 'template.pdf') ]),
5454
OptString.new('EXENAME', [ false, 'The Name of payload exe.']),
5555
OptString.new('FILENAME', [ false, 'The output filename.', 'evil.pdf']),
5656
OptString.new('LAUNCH_MESSAGE', [ false, 'The message to display in the File: area',

0 commit comments

Comments
 (0)