metasploit-framework/external/source/meterpreter
James Lee 73331b66e6 Fix execution with spaces in args by using sh -c
In posix, a command like "echo 'foo bar'" would previously get parsed
out into arguments for execve like [ "echo", "'foo", "bar'" ] which
obviously isn't what you want. After this commit, it sticks the whole
thing in an arg to sh so the execve call ends up looking like
  execve("/bin/sh", ["sh", "-c", "echo 'foo bar'"], [/* 26 vars */]) = 0
This is still a little less than ideal because shell escapes become a
problem; fortunately, that's easy to deal with on the client side as
long as module developers take it into account.
2012-05-13 14:55:57 -06:00
..
java Squashed commit of the following: 2012-05-08 13:48:21 -06:00
output Add empty directories from svn repo. 2011-11-09 18:41:40 -06:00
source Fix execution with spaces in args by using sh -c 2012-05-13 14:55:57 -06:00
tools Major merge of Meterpreter POSIX codebase from JR, Win32 projects may need a few more fixes to work properly 2009-08-10 02:02:16 +00:00
workspace No need for pcap in stdapi anymore 2012-02-18 12:46:13 -07:00
Makefile Ensure the dir exists before copying files there 2012-02-22 20:54:20 -07:00