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 


[MSVC++]ReverseMe

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Crackmes
View previous topic :: View next topic  
Author Message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sun Aug 31, 2008 12:02 pm    Post subject: [MSVC++]ReverseMe Reply with quote

Hi.
Back to top
View user's profile Send private message
SunBeam
I post too much
Reputation: 65

Joined: 25 Feb 2005
Posts: 4022
Location: Romania

PostPosted: Sun Aug 31, 2008 12:49 pm    Post subject: Reply with quote

Fix it, then we will kick its arse Smile
Back to top
View user's profile Send private message
DoomsDay
Grandmaster Cheater
Reputation: 0

Joined: 06 Jan 2007
Posts: 768
Location: %HomePath%

PostPosted: Sun Aug 31, 2008 12:51 pm    Post subject: Reply with quote

Name any window "Ollydbg" and it will send it a WM_CLOSE message.
Bitch: initterm
@SunBeam: http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en
Back to top
View user's profile Send private message
&Vage
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Jul 2008
Posts: 1053

PostPosted: Sun Aug 31, 2008 1:04 pm    Post subject: Reply with quote

Lol @ FindWindow method
Back to top
View user's profile Send private message
SunBeam
I post too much
Reputation: 65

Joined: 25 Feb 2005
Posts: 4022
Location: Romania

PostPosted: Sun Aug 31, 2008 3:33 pm    Post subject: Reply with quote

It misses the switch case on TRUE condition (if name = NULL) and by the looks of it, by default, MSVC2008 doesn't compile unreferenced crap from the source. Guess that has slipped his mind Smile No wonder there was no good_boy..
Back to top
View user's profile Send private message
SunBeam
I post too much
Reputation: 65

Joined: 25 Feb 2005
Posts: 4022
Location: Romania

PostPosted: Sun Aug 31, 2008 5:13 pm    Post subject: Reply with quote

So much for pseudo:

[ http://pastebin.com/d13fb420b ]

Code:
#include <windows.h>
#include <stdio.h>

HWND hWnd = FindWindow(NULL, L"Ollydbg");

int main( void )
{
   BOOL condition;
   char *name[MAX_PATH];
   char *dummymsg[MAX_PATH] = {"Congrats on cracking me !!!"};

   printf("Input your name: ");
   scanf_s("%s", &name);
   if(name != NULL)
      condition = FALSE;

   Sleep(50);
   if(hWnd != NULL)
      PostMessage(hWnd, WM_CLOSE, NULL, NULL);

   switch(condition)
   {
   case TRUE:printf("Grats to %s on reversing me bitch\n", name);
   case FALSE:printf("You Failed @ Reversing Me %s\n", name);
   }

   Sleep(2000);
   return EXIT_SUCCESS;
}
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Mon Sep 01, 2008 4:42 am    Post subject: Reply with quote

_void_ wrote:
Lol @ FindWindow method


they bypassed my protection !! Very Happy
Back to top
View user's profile Send private message
zeroc0de
Cheater
Reputation: 0

Joined: 31 Aug 2008
Posts: 32

PostPosted: Tue Sep 02, 2008 7:54 pm    Post subject: Reply with quote

Rot1 wrote:
_void_ wrote:
Lol @ FindWindow method


they bypassed my protection !! Very Happy


Weak protection.
Back to top
View user's profile Send private message
&Vage
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Jul 2008
Posts: 1053

PostPosted: Fri Sep 05, 2008 9:26 pm    Post subject: Reply with quote

zeroc0de wrote:
Rot1 wrote:
_void_ wrote:
Lol @ FindWindow method


they bypassed my protection !! Very Happy


Weak protection.

It's not even considered a protection.
Back to top
View user's profile Send private message
zeroc0de
Cheater
Reputation: 0

Joined: 31 Aug 2008
Posts: 32

PostPosted: Fri Sep 05, 2008 9:33 pm    Post subject: Reply with quote

_void_ wrote:
zeroc0de wrote:
Rot1 wrote:
_void_ wrote:
Lol @ FindWindow method


they bypassed my protection !! Very Happy


Weak protection.

It's not even considered a protection.


True that.
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sat Sep 06, 2008 1:38 am    Post subject: Reply with quote

zeroc0de wrote:
_void_ wrote:
zeroc0de wrote:
Rot1 wrote:
_void_ wrote:
Lol @ FindWindow method


they bypassed my protection !! Very Happy


Weak protection.

It's not even considered a protection.


True that.


i guess next time i'd have to put [/sarcasm] @ the end. -_-
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Crackmes 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 cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites