Proper read.
git-svn-id: file:///home/svn/framework3/trunk@13305 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
aad07f85b4
commit
bb3f572efd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue