add LINEMAX option

git-svn-id: file:///home/svn/framework3/trunk@9844 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-07-16 18:39:30 +00:00
parent 3b4c732ec0
commit ff56230ef0
1 changed files with 5 additions and 1 deletions

View File

@ -80,8 +80,12 @@ begin
#
lplat = [Msf::Platform::Windows]
larch = [ARCH_X86]
linemax = 1700
if (session.exploit_datastore['LineMax'])
linemax = session.exploit_datastore['LineMax'].to_i
end
opts = {
:linemax => 1700,
:linemax => linemax,
:decoder => File.join(Msf::Config.install_root, "data", "exploits", "cmdstager", "vbs_b64"),
#:nodelete => true # keep temp files (for debugging)
}