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