예제 #1
0
 public PACKET_MSG_ONLINE(UInt32 s = 0)
 {
     header    = new PACKET((UInt32)Marshal.SizeOf(typeof(PACKET_MSG_ONLINE)), PACKET_TYPE.MSG_ONLINE);
     isMonitor = 0;
     bits      = 64;
     pid       = 0xffffffff;
 }
예제 #2
0
        //public byte data[0]; // Use Puppet.Util.(S|Des)erializeBinary()

        public PACKET_BINARY(int _ = 0)
        {
            header = new PACKET((UInt32)Marshal.SizeOf(typeof(PACKET_BINARY)), PACKET_TYPE.BINARY);
        }
예제 #3
0
        //public char data[0]; // Use Puppet.Util.(S|Des)erializeString()

        public PACKET_STRING(int _ = 0)
        {
            header = new PACKET((UInt32)Marshal.SizeOf(typeof(PACKET_STRING)), PACKET_TYPE.STRING);
        }
예제 #4
0
 public PACKET_INTEGER(UInt64 d = 0)
 {
     header = new PACKET((UInt32)Marshal.SizeOf(typeof(PACKET_INTEGER)), PACKET_TYPE.INTEGER);
     data   = d;
 }
예제 #5
0
 public PACKET_ACK(UInt32 s = 0)
 {
     header = new PACKET((UInt32)Marshal.SizeOf(typeof(PACKET_ACK)), PACKET_TYPE.ACK);
     status = s;
 }
예제 #6
0
 public PACKET_CMD_LOADDLL(int _ = 0)
 {
     header = new PACKET((UInt32)Marshal.SizeOf(typeof(PACKET_CMD_LOADDLL)), PACKET_TYPE.CMD_LOADDLL);
 }
예제 #7
0
 public PACKET_CMD_VERDICT(int _ = 0)
 {
     header  = new PACKET((UInt32)Marshal.SizeOf(typeof(PACKET_CMD_VERDICT)), PACKET_TYPE.CMD_VERDICT);
     verdict = 0;
 }
예제 #8
0
 public PACKET_CMD_MEMORY(int _ = 0)
 {
     header = new PACKET((UInt32)Marshal.SizeOf(typeof(PACKET_CMD_MEMORY)), PACKET_TYPE.CMD_MEMORY);
     len    = 0xffffffff;
 }
예제 #9
0
 public PACKET_CMD_CONTEXT(int _ = 0)
 {
     header = new PACKET((UInt32)Marshal.SizeOf(typeof(PACKET_CMD_CONTEXT)), PACKET_TYPE.CMD_CONTEXT);
     idx    = 0xffffffff;
 }
예제 #10
0
 public PACKET_CMD_BREAK(int _ = 0)
 {
     header = new PACKET((UInt32)Marshal.SizeOf(typeof(PACKET_CMD_BREAK)), PACKET_TYPE.CMD_BREAK);
 }
예제 #11
0
 public PACKET_CMD_HOOK(int _ = 0)
 {
     header = new PACKET((UInt32)Marshal.SizeOf(typeof(PACKET_CMD_HOOK)), PACKET_TYPE.CMD_HOOK);
     method = 0;
 }
예제 #12
0
 public PACKET_CMD_KILL(int _ = 0)
 {
     header = new PACKET((UInt32)Marshal.SizeOf(typeof(PACKET_CMD_KILL)), PACKET_TYPE.CMD_KILL);
     pid    = 0xffffffff;
 }
예제 #13
0
 public PACKET_MSG_ONHOOK(int _ = 0)
 {
     header = new PACKET((UInt32)Marshal.SizeOf(typeof(PACKET_MSG_ONHOOK)), PACKET_TYPE.MSG_ONHOOK);
     phase  = 0;
 }