metasploit-framework/lib/msf/core/exploit
sinn3r 807142e988 'Size' may not exist in certain PDF structure.
This is a fix for issues related to:
'undefined method `[]' for nil:NilClass'

It is possible that a PDF may not have the 'Size' xref, and people
are running into the 'undefined method'[]' for NilClass' exception.
Because the pdf parser always assumes there is a Size field,
so it uses a match() function to find the value for Size, which
can be nil.

See the following bug report for example:
https://dev.metasploit.com/redmine/issues/7014
2012-06-26 16:09:13 -05:00
..
http IE 10/Win8 detection support 2012-06-25 00:36:04 -05:00
afp.rb Fix an error condition with the afp server info module 2012-04-30 18:29:44 -05:00
arkeia.rb Cutting over rails3 to master. 2012-04-15 23:35:38 -05:00
browser_autopwn.rb Add a :method property for autopwn_info 2012-04-17 18:32:11 -06:00
brute.rb Cutting over rails3 to master. 2012-04-15 23:35:38 -05:00
brutetargets.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
capture.rb Dont run ifconfig on windows 2012-02-04 01:18:32 -06:00
cmdstager.rb Reverting the autoload changes until we can upgrade to a new ActiveSupport library or find a workaround 2011-05-12 20:03:55 +00:00
cmdstager_debug_asm.rb See #4089, fix method definitions 2011-04-07 13:19:43 +00:00
cmdstager_debug_write.rb See #4089, fix method definitions 2011-04-07 13:19:43 +00:00
cmdstager_tftp.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
cmdstager_vbs.rb Reverting the autoload changes until we can upgrade to a new ActiveSupport library or find a workaround 2011-05-12 20:03:55 +00:00
cmdstager_vbs_adodb.rb See #4089, fix method definitions 2011-04-07 13:19:43 +00:00
db2.rb tidy pass on exploit mixins 2010-09-26 21:02:00 +00:00
dcerpc.rb Because true is a boolean and 'True' is a string. 2011-07-23 13:47:41 +00:00
dcerpc.rb.ut.rb Fixes #441. Unpack the version in a way that works with 1.9 2009-11-02 15:09:54 +00:00
dcerpc_epm.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
dcerpc_lsa.rb Fixes #441. Unpack the version in a way that works with 1.9 2009-11-02 15:09:54 +00:00
dcerpc_mgmt.rb Fixes #441. Unpack the version in a way that works with 1.9 2009-11-02 15:09:54 +00:00
dect_coa.rb tidy pass on exploit mixins 2010-09-26 21:02:00 +00:00
dhcp.rb Reverting the autoload changes until we can upgrade to a new ActiveSupport library or find a workaround 2011-05-12 20:03:55 +00:00
dialup.rb tidy pass on exploit mixins 2010-09-26 21:02:00 +00:00
egghunter.rb Reverting the autoload changes until we can upgrade to a new ActiveSupport library or find a workaround 2011-05-12 20:03:55 +00:00
exe.rb Add support for EXE::Custom in EncodedPayload#encoded_exe 2012-04-16 12:09:25 -06:00
fileformat.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
fmtstr.rb remove has_badchars? in favor of Rex::Text.badchar_index 2010-11-08 17:00:07 +00:00
ftp.rb See #4868, reverts r13103 2011-07-12 23:07:51 +00:00
ftpserver.rb Pile of small bug fixes for the FTP server and mixin 2011-10-14 23:07:09 +00:00
imap.rb Add pop3/imap4 scanners 2010-02-26 19:06:26 +00:00
ip.rb tidy pass on exploit mixins 2010-09-26 21:02:00 +00:00
ipv6.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
java.rb add an extra check for JAVA_HOME 2010-11-24 01:11:17 +00:00
kernel_mode.rb Change the encapsulation method to allow multiple methods without 2011-12-02 13:18:37 -05:00
lorcon.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
lorcon2.rb This patch adds detailed thread tracking across the metasploit framework, along with a new console command (threads) to manage these. This level of tracking is required to accurately monitor background tasks, assist with debugging, and kill orphaned threads. 2010-11-12 06:19:49 +00:00
mixins.rb Extracted common AFP functionality to mixin 2012-03-13 09:56:03 +02:00
mssql.rb Make domain option requirement more clear 2012-05-24 10:11:08 -05:00
mssql_commands.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
mssql_sqli.rb Add SQLI version of MSSQL Payload from Rodrigo Marcos! 2011-01-27 16:48:07 +00:00
mysql.rb Need to account for the fact the server may timeout during operation 2012-06-24 20:17:51 -05:00
ndmp.rb Bug fix for the ndmp stack 2011-06-18 16:35:40 +00:00
ntlm.rb Add the utils require, sometimes it was actually needed 2011-07-19 21:51:13 +00:00
omelet.rb Reverting the autoload changes until we can upgrade to a new ActiveSupport library or find a workaround 2011-05-12 20:03:55 +00:00
oracle.rb improve error reporting 2010-11-24 06:09:36 +00:00
pdf.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
pdf_parse.rb 'Size' may not exist in certain PDF structure. 2012-06-26 16:09:13 -05:00
pop2.rb Cutting over rails3 to master. 2012-04-15 23:35:38 -05:00
postgres.rb Save the pilfered file as loot 2012-05-23 18:07:13 -06:00
riff.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
seh.rb Cutting over rails3 to master. 2012-04-15 23:35:38 -05:00
seh.rb.ut.rb Cutting over rails3 to master. 2012-04-15 23:35:38 -05:00
smb.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
smtp.rb Fix up the stored banner for SMTP 2010-02-26 18:47:48 +00:00
smtp_deliver.rb Ignores SMTP Auth when no creds provided 2012-06-04 16:41:36 -05:00
snmp.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
sunrpc.rb Reverting the autoload changes until we can upgrade to a new ActiveSupport library or find a workaround 2011-05-12 20:03:55 +00:00
tcp.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
tcp.rb.ut.rb Cutting over rails3 to master. 2012-04-15 23:35:38 -05:00
telnet.rb Don't convert the timeout to an integer, it makes 0.1 -> 0 svn status eek. See #3483 2011-01-10 19:42:58 +00:00
tftp.rb Reverting the autoload changes until we can upgrade to a new ActiveSupport library or find a workaround 2011-05-12 20:03:55 +00:00
tns.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
udp.rb Improvements to the cleanup process, close sockets properly for exploits and auxiliary 2010-05-01 16:26:24 +00:00
vim_soap.rb Space at EOF cleanup 2012-05-24 16:28:20 -06:00
wbemexec.rb Add WbemExec mixin, modify MS10-061 to use MOF technique 2011-02-17 19:22:11 +00:00
wdbrpc.rb tidy pass on exploit mixins 2010-09-26 21:02:00 +00:00
wdbrpc_client.rb Import the scanner and utility modules for the VxWorks WDB Agent service 2010-08-02 05:56:26 +00:00