DIR Return Create A Forum - Home
---------------------------------------------------------
ThingsForum
HTML https://thingsforum.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: C/C++
*****************************************************
#Post#: 65--------------------------------------------------
Simple Memory Writter
DIR By: Freakfrash
Date: April 6, 2014, 4:01 pm
---------------------------------------------------------
Hello ThingHacks - Community
I've thought about to share my Simple Memory Writter.
What does that programm do?
It's a trainer which changes the value from your added address.
This programm is very simple made also it's simple to use.
--- Code ---
/*
Autor: Freakfrash
Project: Simple mixed C and C++ Trainer
Function: Should edit the Memory of a Programm
Date: Started at '05.04.2014' stopped at...
Credits:
*/
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <iostream>
void FindWindowFunction(void);
using namespace std;
////////////////////////////////////////////////////////////////////////////////
///////////////MAIN
FUNCTION////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
int main()
{
system("color F0");
printf("\t\t\t |||||||||||||||||||");
printf("\n\t\t\t || FreakSpy v1.0 ||");
printf("\n\t\t\t |||||||||||||||||||");
printf("\n--------------------------------------------------------------------------------");
FindWindowFunction();
printf("\n\n--------------------------------------------------------------------------------");
getch();
}
////////////////////////////////////////////////////////////////////////////////
///////////////VOID
FUNCTION////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
void FindWindowFunction(){
////////////////////////////////////////////////////////////////////////////////
int AmmoFirstWep = 99;
HWND hWnd = FindWindow(0, "Call of Duty 4");
////////////////////////////////////////////////////////////////////////////////
if (hWnd == 0) {
printf("\n\t\t Can't find Call Of Duty 4");
} else {
DWORD ProcID;
GetWindowThreadProcessId(hWnd, &ProcID);
HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE,
ProcID);
////////////////////////////////////////////////////////////////////////////////
if (!hProc) {
printf("\n\t\t Can't open the process.");
} else {
int OpeningProcessSuccesful =
WriteProcessMemory(hProc, (LPVOID)0x012FCF88, &AmmoFirstWep,
(DWORD)sizeof(AmmoFirstWep), NULL);
////////////////////////////////////////////////////////////////////////////////
if (OpeningProcessSuccesful > 0) {
printf("\n\t\t All Features succesfully
working");
} else {
printf("\n\t\t Features aren't working");
}
////////////////////////////////////////////////////////////////////////////////
CloseHandle(hProc);
}
}
}
////////////////////////////////////////////////////////////////////////////////
/////// Functions
//////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
// FindWindow();
// GetWindowThreadProcessId();
// OpenProcess();
// WriteProcessMemory();
// CloseHandle();
--- End Code ---
Credits:
Me (Freakfrash) for the most work.
♥♦krìeger♣♠ for helping me.
#Post#: 66--------------------------------------------------
Re: Simple Memory Writter
DIR By: FLUXIE
Date: April 6, 2014, 4:16 pm
---------------------------------------------------------
Nice and easy thx for your post :D
#Post#: 129--------------------------------------------------
Re: Simple Memory Writter
DIR By: fredaikis
Date: April 26, 2014, 2:14 pm
---------------------------------------------------------
You forgot to add them credits for full source :trollface: <--
ADD THEM FKN SMILIES
*****************************************************
Page 1 of 1