Proper read.

git-svn-id: file:///home/svn/framework3/trunk@13305 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Weeks 2011-07-23 01:40:25 +00:00
parent aad07f85b4
commit bb3f572efd
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ module Exploit::EXE
def get_custom_exe
file = ::File.open(datastore['EXE::Custom'],'rb')
exe = file.read
exe = file.read(file.stat.size)
file.close
exe
end