c# how send message (csgo)

Posts 1–3 of 3 · Page 1 of 1
c# how send message (csgo)
Hello guys how to send message cs go c#
m_dwClientCmd pattern:
engine.dll
new byte[] { 0x55, 0x8B, 0xEC, 0x8B, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x81, 0xF9, 0x00, 0x00, 0x00, 0x00, 0x75, 0x0C, 0xA1, 0x00, 0x00, 0x00, 0x00, 0x35, 0x00, 0x00, 0x00, 0x00, 0xEB, 0x0B }
"xxxxx????xx????xxx????x????xx"

and here some almost ready pasta
Code:
        public void SendClientCmd(string cmd)
        {
            var address = WinApi.VirtualAllocEx(<cshandle>, IntPtr.Zero, cmd.Length + 1, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE);

            <writestring>(address, cmd);

            var threadHandle = WinApi.CreateRemoteThread(<cshandle>, IntPtr.Zero, 0, m_dwClientCmd, address, 0, IntPtr.Zero);

            WinApi.WaitForSingleObject(threadHandle, INFINITE);
            WinApi.VirtualFreeEx(<cshandle>, address, MEM_RELEASE);
            WinApi.CloseHandle(threadHandle);
        }
you can google all windows api functions and import them easily
also replace <> with your own variables/functions

then simply use SendClientCmd("say hello world");

hope it will help you
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us