From 5e630b34e1d522d9b5db8efdb4bb68d8cb39d10e Mon Sep 17 00:00:00 2001 From: rmdavy Date: Sat, 9 Jun 2018 17:03:32 +0100 Subject: [PATCH] Minor Update Removed some Spaces at EOL --- modules/auxiliary/fileformat/badpdf.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/auxiliary/fileformat/badpdf.rb b/modules/auxiliary/fileformat/badpdf.rb index 6819ecdb8b..9b5bdf3288 100644 --- a/modules/auxiliary/fileformat/badpdf.rb +++ b/modules/auxiliary/fileformat/badpdf.rb @@ -15,11 +15,11 @@ class MetasploitModule < Msf::Auxiliary code into an existing PDF document if possible. }, 'License' => MSF_LICENSE, - 'Author' => + 'Author' => [ - 'Assaf Baharav', # Code provided as POC by CheckPoint - 'Yaron Fruchtmann', # Code provided as POC by CheckPoint - 'Ido Solomon', # Code provided as POC by CheckPoint + 'Assaf Baharav', # Code provided as POC by CheckPoint + 'Yaron Fruchtmann', # Code provided as POC by CheckPoint + 'Ido Solomon', # Code provided as POC by CheckPoint 'Richard Davy - secureyourit.co.uk', # Metasploit ], 'Platform' => [ 'win' ], @@ -83,7 +83,7 @@ class MetasploitModule < Msf::Auxiliary print_error "Could not find placeholder to poison file this time...." return end - + newfilename = datastore['PDFINJECT'][(0..(datastore['PDFINJECT'].length-5))]+"_malicious.pdf" #Write content to file File.open(newfilename, 'wb') { |file| file.write(newdata) } @@ -93,7 +93,7 @@ class MetasploitModule < Msf::Auxiliary else print_error "Something went wrong creating malicious PDF file" end - + end