View previous topic :: View next topic |
Author |
Message |
DeletedUser14087 I post too much Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Sun Aug 31, 2008 12:02 pm Post subject: [MSVC++]ReverseMe |
|
|
Hi.
|
|
Back to top |
|
|
SunBeam I post too much Reputation: 65
Joined: 25 Feb 2005 Posts: 4022 Location: Romania
|
Posted: Sun Aug 31, 2008 12:49 pm Post subject: |
|
|
Fix it, then we will kick its arse
|
|
Back to top |
|
|
DoomsDay Grandmaster Cheater Reputation: 0
Joined: 06 Jan 2007 Posts: 768 Location: %HomePath%
|
|
Back to top |
|
|
&Vage Grandmaster Cheater Supreme Reputation: 0
Joined: 25 Jul 2008 Posts: 1053
|
Posted: Sun Aug 31, 2008 1:04 pm Post subject: |
|
|
Lol @ FindWindow method
|
|
Back to top |
|
|
SunBeam I post too much Reputation: 65
Joined: 25 Feb 2005 Posts: 4022 Location: Romania
|
Posted: Sun Aug 31, 2008 3:33 pm Post subject: |
|
|
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 No wonder there was no good_boy..
|
|
Back to top |
|
|
SunBeam I post too much Reputation: 65
Joined: 25 Feb 2005 Posts: 4022 Location: Romania
|
Posted: Sun Aug 31, 2008 5:13 pm Post subject: |
|
|
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 |
|
|
DeletedUser14087 I post too much Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Mon Sep 01, 2008 4:42 am Post subject: |
|
|
_void_ wrote: | Lol @ FindWindow method |
they bypassed my protection !!
|
|
Back to top |
|
|
zeroc0de Cheater Reputation: 0
Joined: 31 Aug 2008 Posts: 32
|
Posted: Tue Sep 02, 2008 7:54 pm Post subject: |
|
|
Rot1 wrote: | _void_ wrote: | Lol @ FindWindow method |
they bypassed my protection !! |
Weak protection.
|
|
Back to top |
|
|
&Vage Grandmaster Cheater Supreme Reputation: 0
Joined: 25 Jul 2008 Posts: 1053
|
Posted: Fri Sep 05, 2008 9:26 pm Post subject: |
|
|
zeroc0de wrote: | Rot1 wrote: | _void_ wrote: | Lol @ FindWindow method |
they bypassed my protection !! |
Weak protection. |
It's not even considered a protection.
|
|
Back to top |
|
|
zeroc0de Cheater Reputation: 0
Joined: 31 Aug 2008 Posts: 32
|
Posted: Fri Sep 05, 2008 9:33 pm Post subject: |
|
|
_void_ wrote: | zeroc0de wrote: | Rot1 wrote: | _void_ wrote: | Lol @ FindWindow method |
they bypassed my protection !! |
Weak protection. |
It's not even considered a protection. |
True that.
|
|
Back to top |
|
|
DeletedUser14087 I post too much Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Sat Sep 06, 2008 1:38 am Post subject: |
|
|
zeroc0de wrote: | _void_ wrote: | zeroc0de wrote: | Rot1 wrote: | _void_ wrote: | Lol @ FindWindow method |
they bypassed my protection !! |
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 |
|
|
|