Jump to content
Notícia
  • News ticker sample
  • News ticker sample

"MyC²"

Bronze Member
  • Content Count

    113
  • Joined

  • Last visited

  • WCoins

    0 [ Donate ]

Community Reputation

37

1 Follower

About "MyC²"

  • Rank
    DIG Cheats C.A BR (Programando) C++
  • Birthday 04/12/1997

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. CHEAT WARFACE,ALGUMA DICA ?
  2. Man Qual o Post q vc postou q n deixou vc publicar manda ai pra mim
  3. Oi, Pessoal com tantas pessoas me pedindo um injector para warface resolvi fazer um atualizado. Dialogo: - "Só tem Source Code, cade o injector pronto?" - "Vou postar em breve." - "Só vai injetar para Warface?" - "Não, vou deixa a lista de processo logo abaixo, vou atualizando ao passar do tempo." Lista de processo: Code: Global -> BR incluído. Processos: -> Combat arms -> Warface Source Code #1: using System.Diagnostics; using System; using System.Windows.Forms; using System.Runtime.InteropServices; namespace Inject_Source_By_CoderNever { public partial class Form1 : Form { [DllImport("kernel32", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)] public static extern int ReadProcessMemory(int hProcess, int lpBaseAddress, string lpBuffer, int nSize, ref int lpNumberOfBytesWritten); [DllImport("kernel32", EntryPoint = "LoadLibraryA", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)] public static extern int LoadLibrary(string lpLibFileName); [DllImport("kernel32", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)] public static extern int WriteProcessMemory(System.IntPtr hProcess, int lpBaseAddress, string lpBuffer, int nSize, int lpNumberOfBytesWritten); [DllImport("kernel32", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)] public static extern int VirtualAllocEx(System.IntPtr hProcess, int lpAddress, int dwSize, int flAllocationType, int flProtect); [DllImport("kernel32", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)] public static extern int GetProcAddress(int hModule, string lpProcName); [DllImport("kernel32", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)] public static extern int CreateRemoteThread(System.IntPtr hProcess, int lpThreadAttributes, int dwStackSize, int lpStartAddress, int lpParameter, int dwCreationFlags, int lpThreadId); [DllImport("Kernel32", EntryPoint = "GetModuleHandleA", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)] private static extern int GetModuleHandle(string lpModuleName); [DllImport("kernel32.dll")] public static extern IntPtr OpenProcess(int dwDesiredAccess, bool bInheritHandle, int dwProcessId); [DllImport("kernel32", EntryPoint = "CloseHandle")] private static extern int CloseHandle(System.IntPtr hObject); [DllImport("user32", EntryPoint = "FindWindowA", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)] private static extern int FindWindow(string lpClassName, string lpWindowName); void Inject() { System.IntPtr TargetProcessHandle; int TargetBufferSize; String pszLibFileRemote; int pfnStartAddr; Process[] TargetProcess = Process.GetProcessesByName("Engine"); //ou Game TargetProcessHandle = OpenProcess(0x1F0FFF, false, TargetProcess[0].Id); pszLibFileRemote = Application.StartupPath + ("\\DLLNAME.dll"); pfnStartAddr = GetProcAddress(GetModuleHandle("Kernel32.dll"), "LoadLibraryA"); TargetBufferSize = 1 + pszLibFileRemote.Length; int Rtn; int LoadLibParamAdr; LoadLibParamAdr = VirtualAllocEx(TargetProcessHandle, 0, TargetBufferSize, 4096, 4); Rtn = WriteProcessMemory(TargetProcessHandle, LoadLibParamAdr, pszLibFileRemote, TargetBufferSize, 0); CreateRemoteThread(TargetProcessHandle, 0, 0, pfnStartAddr, LoadLibParamAdr, 0, 0); CloseHandle(TargetProcessHandle); } private void timer1_Tick(object sender, EventArgs e) { Process[] TargetProcess = Process.GetProcessesByName("HSUpdate"); if (TargetProcess.Length == 0) {}else{ Inject(); timer1.Stop(); this.Close(); }} } } Source Code #2 (Somente para Combat arms) -> Injector Combat arms Atualizado 07/10/2017: Public Class Form1 Private TargetProcessHandle As Integer Private pfnStartAddr As Integer Private pszLibFileRemote As String Private TargetBufferSize As Integer Public Const PROCESS_VM_READ = &H10 Public Const TH32CS_SNAPPROCESS = &H2 Public Const MEM_COMMIT = 4096 Public Const PAGE_READWRITE = 4 Public Const PROCESS_CREATE_THREAD = (&H2) Public Const PROCESS_VM_OPERATION = (&H8) Public Const PROCESS_VM_WRITE = (&H20) Public Declare Function ReadProcessMemory Lib "kernel32" ( _ ByVal hProcess As Integer, _ ByVal lpBaseAddress As Integer, _ ByVal lpBuffer As String, _ ByVal nSize As Integer, _ ByRef lpNumberOfBytesWritten As Integer) As Integer Public Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" ( _ ByVal lpLibFileName As String) As Integer Public Declare Function VirtualAllocEx Lib "kernel32" ( _ ByVal hProcess As Integer, _ ByVal lpAddress As Integer, _ ByVal dwSize As Integer, _ ByVal flAllocationType As Integer, _ ByVal flProtect As Integer) As Integer Public Declare Function WriteProcessMemory Lib "kernel32" ( _ ByVal hProcess As Integer, _ ByVal lpBaseAddress As Integer, _ ByVal lpBuffer As String, _ ByVal nSize As Integer, _ ByRef lpNumberOfBytesWritten As Integer) As Integer Public Declare Function GetProcAddress Lib "kernel32" ( _ ByVal hModule As Integer, ByVal lpProcName As String) As Integer Private Declare Function GetModuleHandle Lib "Kernel32" Alias "GetModuleHandleA" ( _ ByVal lpModuleName As String) As Integer Public Declare Function CreateRemoteThread Lib "kernel32" ( _ ByVal hProcess As Integer, _ ByVal lpThreadAttributes As Integer, _ ByVal dwStackSize As Integer, _ ByVal lpStartAddress As Integer, _ ByVal lpParameter As Integer, _ ByVal dwCreationFlags As Integer, _ ByRef lpThreadId As Integer) As Integer Public Declare Function OpenProcess Lib "kernel32" ( _ ByVal dwDesiredAccess As Integer, _ ByVal bInheritHandle As Integer, _ ByVal dwProcessId As Integer) As Integer Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" ( _ ByVal lpClassName As String, _ ByVal lpWindowName As String) As Integer Private Declare Function CloseHandle Lib "kernel32" Alias "CloseHandleA" ( _ ByVal hObject As Integer) As Integer Dim ExeName As String = IO.Path.GetFileNameWithoutExtension(Application.ExecutablePath) Private Sub Inject() On Error GoTo 1 ' If error occurs, app will close without any error messages Timer1.Stop() Dim TargetProcess As Process() = Process.GetProcessesByName("WarRock") TargetProcessHandle = OpenProcess(PROCESS_CREATE_THREAD Or PROCESS_VM_OPERATION Or PROCESS_VM_WRITE, False, TargetProcess(0).Id) pszLibFileRemote = Application.StartupPath & "\" + ExeName + ".dll" pfnStartAddr = GetProcAddress(GetModuleHandle("Kernel32"), "LoadLibraryA") TargetBufferSize = 1 + Len(pszLibFileRemote) Dim Rtn As Integer Dim LoadLibParamAdr As Integer LoadLibParamAdr = VirtualAllocEx(TargetProcessHandle, 0, TargetBufferSize, MEM_COMMIT, PAGE_READWRITE) Rtn = WriteProcessMemory(TargetProcessHandle, LoadLibParamAdr, pszLibFileRemote, TargetBufferSize, 0) CreateRemoteThread(TargetProcessHandle, 0, 0, pfnStartAddr, LoadLibParamAdr, 0, 0) CloseHandle(TargetProcessHandle) 1: Me.Close() End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick If IO.File.Exists(Application.StartupPath & "\" + ExeName + ".dll") Then Dim TargetProcess As Process() = Process.GetProcessesByName("HSUpdate") If TargetProcess.Length = 0 Then Me.TextBox1.Text = ("Waiting for Warrock.exe") Me.TextBox2.Text = ("Let´s Hack") Else Timer1.Stop() Me.TextBox1.Text = "Done..." Call Inject() End If Else Me.TextBox1.Text = ("" + ExeName + ".dll not found") Me.TextBox2.Text = ("Rename the .dll To " + "" + ExeName) End If End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Timer1.Interval = 50 Timer1.Start() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MsgBox("Thats the Status Box!", MsgBoxStyle.Information, "Info") End Sub End Class
  4. Pronto, pra quem quer começar um hack para Warface estão aqui um chams, ESP, AIMBOT (Incluindo um Menu) DirectX SDK: https://www.microsoft.com/en-us/download/details.aspx?id=23549 Detours: http://www.mediafire.com/file/y78qu0byizbuwcu/Detours+3.0v+%5BECH%5D.zip Scan: https://www.virustotal.com/pt/file/6ac6e32118d4b2403a84481861c9ca2f76b17eb2290eb8eeeb42e87f9193752c/analysis/ Code: #include <vector> #include <windows.h> #include <detours.h> #include <iostream> #include <d3d9.h> #include <d3dx9.h> #pragma comment(lib, "detours.lib") #pragma comment(lib, "d3d9.lib") #pragma warning( disable: 4244 ) #pragma warning( disable: 4996 ) #pragma warning( disable: 4838 ) #pragma comment(lib, "winmm.lib") #pragma comment(lib, "d3dx9.lib") #pragma intrinsic(_ReturnAddress) #define TEXT_POS_X 100.0f #define TEXT_POS_Y 125.0f typedef HRESULT(WINAPI *Prototype_Present)(LPDIRECT3DDEVICE9, CONST RECT*, CONST RECT*, HWND, CONST RGNDATA*); typedef HRESULT(WINAPI *Prototype_Reset)(LPDIRECT3DDEVICE9, D3DPRESENT_PARAMETERS*); typedef HRESULT(WINAPI* Prototype_DrawIndexedPrimitive)(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE, INT, UINT, UINT, UINT, UINT); Prototype_Present Prez_OG; Prototype_Reset Res_OG; Prototype_DrawIndexedPrimitive Dip_OG; HRESULT WINAPI Hooked_Present(LPDIRECT3DDEVICE9 Device, CONST RECT *pSrcRect, CONST RECT *pDestRect, HWND hDestWindow, CONST RGNDATA *pDirtyRegion); HRESULT WINAPI Hooked_Reset(LPDIRECT3DDEVICE9 Device, D3DPRESENT_PARAMETERS *pp); HRESULT WINAPI Hooked_DrawIndexedPrimitive(LPDIRECT3DDEVICE9 Device, D3DPRIMITIVETYPE PrimType, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount); ID3DXFont* DxFont = NULL; ID3DXFont* Dx2Font = NULL; LPD3DXLINE pLine = NULL; bool g_Init = false; int g_Index = -1; HMODULE g_HModule = 0; std::vector<void*> g_Vector; char g_Text[128] = { '\0' }; void* g_SelectedAddress = NULL; LPDIRECT3DTEXTURE9 g_Blue = NULL, g_Green = NULL; void DrawFilledBox(int x, int y, int w, int h, D3DCOLOR color); namespace Drawing { void Line(LPDIRECT3DDEVICE9 pDevice, float X, float Y, float Width, float Height, D3DCOLOR Color) { struct Vertex2D { float m_X, m_Y, m_Z, m_T; DWORD m_Color; }; Vertex2D Vertex[4]; Vertex[0].m_Color = Vertex[1].m_Color = Vertex[2].m_Color = Vertex[3].m_Color = Color; Vertex[0].m_Z = Vertex[1].m_Z = Vertex[2].m_Z = Vertex[3].m_Z = 0; Vertex[0].m_T = Vertex[1].m_T = Vertex[2].m_T = Vertex[3].m_T = 0; Vertex[0].m_X = Vertex[2].m_X = X; Vertex[0].m_Y = Vertex[1].m_Y = Y; Vertex[1].m_X = Vertex[3].m_X = X + Width; Vertex[2].m_Y = Vertex[3].m_Y = Y + Height; pDevice->SetTexture(0, NULL); pDevice->SetFVF(D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_TEX1); pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP, 2, Vertex, sizeof(Vertex2D)); } void DrawString(ID3DXFont *Font, float PosX, float PosY, DWORD Color, char *Text) { if (Font == NULL) return; static RECT FontRect; SetRect(&FontRect, 0, 0, 0, 0); Font->DrawTextA(0, Text, -1, &FontRect, DT_CALCRECT, Color); int Width = FontRect.right - FontRect.left; int Height = FontRect.bottom - FontRect.top; FontRect.right = FontRect.left + Width; FontRect.bottom = FontRect.top + Height; FontRect.left = (LONG)PosX; FontRect.top = (LONG)PosY; Font->DrawTextA(0, Text, -1, &FontRect, DT_NOCLIP, Color); } } void DrawRectangle(int x, int y, int w, int h, int r, int g, int b, int a) { if (!IsBadReadPtr(pLine, sizeof(ID3DXLine))) { D3DXVECTOR2 vLine1[2]; D3DXVECTOR2 vLine2[2]; D3DXVECTOR2 vLine3[2]; D3DXVECTOR2 vLine4[2]; pLine->SetAntialias(false); pLine->SetGLLines(true); vLine1[0].x = x; vLine1[0].y = y; vLine1[1].x = x; vLine1[1].y = y + h; vLine2[0].x = x + w; vLine2[0].y = y; vLine2[1].x = x + w; vLine2[1].y = y + h; vLine3[0].x = x; vLine3[0].y = y; vLine3[1].x = x + w; vLine3[1].y = y; vLine4[0].x = x; vLine4[0].y = y + h; vLine4[1].x = x + w; vLine4[1].y = y + h; pLine->Begin(); pLine->Draw(vLine1, 2, D3DCOLOR_RGBA(r, g, b, a)); pLine->Draw(vLine2, 2, D3DCOLOR_RGBA(r, g, b, a)); pLine->Draw(vLine3, 2, D3DCOLOR_RGBA(r, g, b, a)); pLine->Draw(vLine4, 2, D3DCOLOR_RGBA(r, g, b, a)); pLine->End(); } } void DrawFilledBox(int x, int y, int w, int h, D3DCOLOR color) { D3DXVECTOR2 vLine[2]; pLine->SetWidth(w); pLine->SetAntialias(false); pLine->SetGLLines(true); vLine[0].x = x + w / 2; vLine[0].y = y; vLine[1].x = x + w / 2; vLine[1].y = y + h; pLine->Begin(); pLine->Draw(vLine, 2, color); pLine->End(); } DWORD FindDevice(DWORD Len) { DWORD dwObjBase = 0; dwObjBase = (DWORD)LoadLibrary("d3d9.dll"); while (dwObjBase++ < dwObjBase + Len) { if ((*(WORD*)(dwObjBase + 0x00)) == 0x06C7 && (*(WORD*)(dwObjBase + 0x06)) == 0x8689 && (*(WORD*)(dwObjBase + 0x0C)) == 0x8689 ) { dwObjBase += 2; break; } } return(dwObjBase); } DWORD GetDeviceAddress(int VTableIndex) { PDWORD VTable; *(DWORD*)&VTable = *(DWORD*)FindDevice(0x128000); return VTable[VTableIndex]; } void HookThread() { Prez_OG = (Prototype_Present)DetourFunction((PBYTE)GetDeviceAddress(17), (PBYTE)Hooked_Present); Res_OG = (Prototype_Reset)DetourFunction((PBYTE)GetDeviceAddress(16), (PBYTE)Hooked_Reset); Dip_OG = (Prototype_DrawIndexedPrimitive)DetourFunction((PBYTE)GetDeviceAddress(82), (PBYTE)Hooked_DrawIndexedPrimitive); while (true) { if (GetAsyncKeyState(VK_PAUSE) & 1) { FreeLibraryAndExitThread(g_HModule, 0); return; } else if (GetAsyncKeyState(VK_RIGHT) & 1) { if (g_Index != g_Vector.size() - 1) { g_Index++; g_SelectedAddress = g_Vector[g_Index]; } } else if (GetAsyncKeyState(VK_LEFT) & 1) { if (g_Index >= 0) { g_Index--; g_SelectedAddress = g_Vector[g_Index]; if (g_Index == -1) g_SelectedAddress = NULL; } } Sleep(100); } } BOOL WINAPI DllMain(HINSTANCE hInsatnce, DWORD dwReason, LPVOID lpReserved) { if (dwReason == DLL_PROCESS_ATTACH) { g_HModule = hInsatnce; CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HookThread, 0, 0, 0); } else if (dwReason == DLL_PROCESS_DETACH) { if (DxFont != NULL) { DxFont->OnLostDevice(); DxFont->OnResetDevice(); DxFont->Release(); DxFont = NULL; Dx2Font->OnLostDevice(); Dx2Font->OnResetDevice(); Dx2Font->Release(); Dx2Font = NULL; } DetourRemove((PBYTE)Prez_OG, (PBYTE)Hooked_Present); DetourRemove((PBYTE)Res_OG, (PBYTE)Hooked_Reset); DetourRemove((PBYTE)Dip_OG, (PBYTE)Hooked_DrawIndexedPrimitive); } return TRUE; } bool IsAddressPresent(void* Address) { for (auto it = g_Vector.begin(); it != g_Vector.end(); ++it) { if (*it == Address) return true; } return false; } HRESULT GenerateTexture(LPDIRECT3DDEVICE9 pDevice, IDirect3DTexture9 **ppD3Dtex, DWORD colour32) { if (FAILED(pDevice->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4, D3DPOOL_MANAGED, ppD3Dtex, NULL))) return E_FAIL; WORD colour16 = ((WORD)((colour32 >> 28) & 0xF) << 12) | (WORD)(((colour32 >> 20) & 0xF) << 8) | (WORD)(((colour32 >> 12) & 0xF) << 4) | (WORD)(((colour32 >> 4) & 0xF) << 0); D3DLOCKED_RECT d3dlr; (*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0); WORD *pDst16 = (WORD*)d3dlr.pBits; for (int xy = 0; xy < 8 * 8; xy++) *pDst16++ = colour16; (*ppD3Dtex)->UnlockRect(0); return S_OK; } HRESULT WINAPI Hooked_Present(LPDIRECT3DDEVICE9 Device, CONST RECT *pSrcRect, CONST RECT *pDestRect, HWND hDestWindow, CONST RGNDATA *pDirtyRegion) { if (!g_Init) { if (DxFont == NULL) D3DXCreateFontA(Device, 14, 0, true, 1, false, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, ANTIALIASED_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial", &DxFont); D3DXCreateFontA(Device, 100, 0, true, 1, false, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, ANTIALIASED_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Impact", &Dx2Font); if (pLine == NULL) D3DXCreateLine(Device, &pLine); memset(g_Text, 0, sizeof(g_Text)); GenerateTexture(Device, &g_Blue, D3DCOLOR_ARGB(255, 0, 0, 255)); GenerateTexture(Device, &g_Green, D3DCOLOR_ARGB(255, 0, 255, 0)); g_Init = true; } D3DVIEWPORT9 VP; memset(&VP, 0, sizeof(D3DVIEWPORT9)); Device->GetViewport(&VP); float X = (float)VP.Width / 800; float Y = (float)VP.Height / 600; Drawing::DrawString(DxFont, X * TEXT_POS_X, Y * TEXT_POS_Y, D3DCOLOR_ARGB(200, 255, 0, 0), "DirectEx Chams Finder DirectX 9"); Drawing::DrawString(DxFont, X * TEXT_POS_X, Y * TEXT_POS_Y + 10, D3DCOLOR_ARGB(200, 255, 0, 0), "UnknownCheats.me 5/20/2016 by DirectEx"); memset(g_Text, 0, sizeof(g_Text)); sprintf_s(g_Text, sizeof(g_Text), "Return - Address: [0x%X]", g_SelectedAddress); Drawing::DrawString(Dx2Font, X * TEXT_POS_X, Y * TEXT_POS_Y + 50.0f, D3DCOLOR_ARGB(200, 255, 0, 255), g_Text); return Prez_OG(Device, pSrcRect, pDestRect, hDestWindow, pDirtyRegion); } HRESULT WINAPI Hooked_Reset(LPDIRECT3DDEVICE9 Device, D3DPRESENT_PARAMETERS *pp) { if (DxFont != NULL) { DxFont->OnLostDevice(); DxFont->OnResetDevice(); Dx2Font->OnLostDevice(); Dx2Font->OnResetDevice(); } return Res_OG(Device, pp); } HRESULT WINAPI Hooked_DrawIndexedPrimitive(LPDIRECT3DDEVICE9 Device, D3DPRIMITIVETYPE PrimType, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount) { void* ReturnAddress = _ReturnAddress(); if (!IsAddressPresent(ReturnAddress)) g_Vector.push_back(ReturnAddress); if (ReturnAddress != NULL && g_SelectedAddress != NULL && ReturnAddress == g_SelectedAddress) { Device->SetRenderState(D3DRS_ZENABLE, FALSE); Device->SetTexture(0, g_Blue); Dip_OG(Device, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount); Device->SetRenderState(D3DRS_ZENABLE, TRUE); Device->SetTexture(0, g_Green); } return Dip_OG(Device, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount); }
  5. Ok, vou fazer em breve, fique ligado no Topico do Warface
  6. Injector que utilizei foi do servidor americano. Tente utilizar injecto da webcheats
  7. Se eu tivesse o Bypass do Warface BR eu ate postaria meu hack, mas nao tenho Processo: Game.Exe Injetor tem que ser de 2015 - ate hoje
  8. Oii, so vim agradecer por me ajuda.
  9. Preciso desses Endereços, não consegui encontrá-los. Alguém?
  10. Oi, gente se alguém conseguir os seguintes endereços. Player: 0x58D70A <- Exemplo Smoke: 0x5895C9 <- Exemplo World: 0x58D6B8 <- Exemplo Lighting: 0x12203B3 <- Exemplo Endereços do Warface BR Se conseguir o mais rápido possível irei publicar me Hack de warface.
×
×
  • Create New...