Fixed problem when running cmd_exec in PHP Meterpreter on Linux
git-svn-id: file:///home/svn/framework3/trunk@10850 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
3dd35cdcd4
commit
245cfd3b61
|
@ -47,7 +47,6 @@ def cmd_exec(cmd)
|
||||||
break if d == ""
|
break if d == ""
|
||||||
end
|
end
|
||||||
cmd.channel.close
|
cmd.channel.close
|
||||||
cmd.close
|
|
||||||
return o
|
return o
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue