fix inject support

git-svn-id: file:///home/svn/framework3/trunk@10406 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-09-21 02:19:33 +00:00
parent a0b193f9d3
commit 837e6e5075
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ require 'metasm'
end
#try to inject code into executable by adding a section without affecting executable behavior
if(opts[:insert])
if(opts[:inject])
if endjunk
raise RuntimeError, "Junk at end of file. Is this a packed exe?"
end