Skip to content

Commit 1b2554b

Browse files
committed
Add a default template for CVE-2010-1240 PDF exploit
1 parent cca30b5 commit 1b2554b

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)