James Lee
|
f8a307f873
|
use append mode for stderr when creating processes with proc_open in windows, see http://us2.php.net/manual/en/function.proc-open.php#97012 . also, if windows doesn't give us a valid path to cmd.exe from the COMSPEC env var, just use cmd.exe and hope it's in the path
git-svn-id: file:///home/svn/framework3/trunk@13176 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-07-14 20:34:05 +00:00 |
James Lee
|
68185cb48d
|
fix a deadlock when trying to kill spawned processes
git-svn-id: file:///home/svn/framework3/trunk@13073 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-30 05:44:27 +00:00 |
James Lee
|
dd61fa950f
|
when socket creation fails, return a relevant windows error code so the client will raise ::Rex::ConnectionError instead of just erroring out with a RequestError. This fixes some problems with backtraces when routing through a php meterp. See r9794, #3481.
git-svn-id: file:///home/svn/framework3/trunk@11532 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-01-10 08:31:10 +00:00 |
James Lee
|
bf8a534a72
|
clean up process handling in php meterp a bit, fixes the 'shell' command and hopefully makes process interaction a little more robust.
git-svn-id: file:///home/svn/framework3/trunk@11531 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-01-10 08:04:17 +00:00 |
James Lee
|
b453665e5f
|
avoid infinite recursion when links cause circular directory paths by not following symlinks
git-svn-id: file:///home/svn/framework3/trunk@10244 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-09-05 22:18:43 +00:00 |
James Lee
|
35fab7b5ae
|
default to the current directory instead of failing
git-svn-id: file:///home/svn/framework3/trunk@10243 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-09-05 22:08:05 +00:00 |
James Lee
|
efeffe3185
|
add support for file search to php meterp
git-svn-id: file:///home/svn/framework3/trunk@10242 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-09-05 21:49:48 +00:00 |
James Lee
|
9060ce379b
|
add preliminary support for querying registry values when running on Windows
git-svn-id: file:///home/svn/framework3/trunk@10241 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-09-05 20:54:32 +00:00 |
James Lee
|
02167b8d16
|
move the stdapi constants into the stdapi extension to save a little space when php meterpreter is standalone
git-svn-id: file:///home/svn/framework3/trunk@9939 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-07-27 21:16:15 +00:00 |
James Lee
|
8de510f914
|
add udp support for tunneling. tested with udp_probe
git-svn-id: file:///home/svn/framework3/trunk@9816 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-07-13 22:51:15 +00:00 |
James Lee
|
114ca4e535
|
replace / and \ with the current system's directory separator so it doesn't matter what the user types
git-svn-id: file:///home/svn/framework3/trunk@9727 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-07-07 20:40:19 +00:00 |
James Lee
|
2638153f46
|
abstract connect out into it's own function
git-svn-id: file:///home/svn/framework3/trunk@9617 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-06-25 00:39:48 +00:00 |
James Lee
|
c3d183c98d
|
split stadpi out into an extension, add a reverse_tcp stager, make the main meterpreter stage-aware so it will work as a standalone or eval'd by a stager that sets $msgsock and $msgsock_type; see #2128
git-svn-id: file:///home/svn/framework3/trunk@9594 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-06-23 20:00:27 +00:00 |
James Lee
|
f13417be08
|
stdapi is still in the base payload, but this file needs to exist
git-svn-id: file:///home/svn/framework3/trunk@9446 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-06-07 17:00:47 +00:00 |