1
mirror of https://github.com/rapid7/metasploit-payloads synced 2024-12-21 05:35:54 +01:00

Merged patch from timwr fixing process handle type

This commit is contained in:
OJ 2014-09-16 09:49:12 +10:00
commit 5f41877622

View File

@ -37,7 +37,7 @@ public class stdapi_sys_process_execute implements Command {
synchronized (stdapi_sys_process_execute.class) {
pid++;
response.add(TLVType.TLV_TYPE_PID, pid);
response.add(TLVType.TLV_TYPE_PROCESS_HANDLE, pid);
response.add(TLVType.TLV_TYPE_PROCESS_HANDLE, new Long(pid));
}
response.add(TLVType.TLV_TYPE_CHANNEL_ID, channel.getID());
} else {