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 


[CrackMe] Well... actually.. ClickMe!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Crackmes
View previous topic :: View next topic  
Author Message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Tue Jul 03, 2007 9:05 am    Post subject: [CrackMe] Well... actually.. ClickMe! Reply with quote

The object of this CrackMe should be apparent. I expect this to be easy, considering I didn't even hide the ASCII, and I didn't even bother putting in any anti debug tricks.

Now, I present to you the result of me being bored.

(Note: "Ticking ZF" or any answer along those lines will not be accepted.)
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Tue Jul 03, 2007 9:19 am    Post subject: Reply with quote

haha its funny Very HappyVery Happy

edit: i found a way to click it, but nothing happens Sad

just right click on the process line on crackme then move the mouse over the click me Razz

i bet this isnt the way it was ment to, but i clicked it and then it just moves O_o lol

*i dont know how to do this kind of stuff!*
Back to top
View user's profile Send private message MSN Messenger
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Tue Jul 03, 2007 10:16 am    Post subject: Reply with quote

hmm? Confused
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Tue Jul 03, 2007 1:43 pm    Post subject: Reply with quote

nice, how did you do?
Back to top
View user's profile Send private message MSN Messenger
CrisNMP
Fun Supervisor
Reputation: 16

Joined: 11 Apr 2007
Posts: 4649

PostPosted: Tue Jul 03, 2007 2:09 pm    Post subject: Reply with quote

lol nice
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Tue Jul 03, 2007 2:16 pm    Post subject: Reply with quote

I didn't even need to touch the program, I just made a program to click it Razz

Code:

#include <windows.h>

HANDLE hCons;

void puts(char* what)
{
   DWORD no;

   WriteFile(hCons, what, lstrlen(what), &no, NULL);
   WriteFile(hCons, "\n", 1, &no, NULL);
}

int __cdecl main(int argc, char* argv[])
{
   HWND hwndClickme, hwndButtan;

   hCons = GetStdHandle(STD_OUTPUT_HANDLE);

   puts("Searching for Clickme window...");
   
   hwndClickme = FindWindow("Teh Leet", "Click Me");
   if (!hwndClickme) {
      puts("Unable to find window.");
      CloseHandle(hCons);
      return 1;
   } else {
      puts("Found window. Finding Child...");
      hwndButtan = FindWindowEx(hwndClickme, NULL, "Button", "Click me!");
      if (!hwndButtan) {
         puts("Unable to find suitable child.");
         CloseHandle(hCons);
         return 2;
      } else {
         puts("Found child. Sending click...");
         SendMessage(hwndButtan, WM_LBUTTONDOWN, 0, 0);
         SendMessage(hwndButtan, WM_LBUTTONUP, 0, 0);
         puts("Click sent.");
         puts("Finding second window...");
         hwndClickme = FindWindow("Teh Leet", "i r invisible =D");
         if (!hwndClickme) {
            puts("Unable to find window.");
            CloseHandle(hCons);
            return 3;
         } else {
            puts("Found window, finding child...");
            hwndButtan = FindWindowEx(hwndClickme, NULL, "Button", "Oh dang...");
            if (!hwndButtan) {
               puts("Unable to find suitable child.");
               CloseHandle(hCons);
               return 3;
            } else {
               puts("Found child. Sending click...");
               SendMessage(hwndButtan, WM_LBUTTONDOWN, 0, 0);
               SendMessage(hwndButtan, WM_LBUTTONUP, 0, 0);
               puts("Click sent, closing main window...");
               SendMessage(hwndClickme, WM_CLOSE, 0, 0);
               puts("Main window closed.");
            }
         }
      }
   }
   CloseHandle(hCons);
   return 0;
}


Last edited by appalsap on Tue Jul 03, 2007 3:10 pm; edited 3 times in total
Back to top
View user's profile Send private message
bygword
Cheater
Reputation: 0

Joined: 27 Jun 2007
Posts: 32

PostPosted: Tue Jul 03, 2007 2:19 pm    Post subject: Reply with quote

this program is for wat?
Back to top
View user's profile Send private message
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Tue Jul 03, 2007 2:23 pm    Post subject: Reply with quote

>=0 appalsap raped everyone -_-"

i r invisible =D

_________________


Last edited by UnLmtD on Tue Jul 03, 2007 9:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Tue Jul 03, 2007 3:08 pm    Post subject: Reply with quote

Yeah okay high, program revised to

1. Invoke the message box
2. Close the program
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Tue Jul 03, 2007 7:39 pm    Post subject: Reply with quote

Nice job, like I said, it will be easy.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25281
Location: The netherlands

PostPosted: Tue Jul 03, 2007 8:57 pm    Post subject: Reply with quote

beat it without even having to hack it
poping up the taskmanager and hold the left mouse down and move it over the window and click it.

when invisible a little harder, but you can see where it appears when minimizing/maximizing it, and then do the same method.

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Simsgy
Grandmaster Cheater
Reputation: 0

Joined: 07 May 2007
Posts: 581
Location: My new avatar <3

PostPosted: Wed Jul 04, 2007 4:32 am    Post subject: Reply with quote

Woot I did it.
Thanks DB.

Edit:

i r invisible =D FTW!

_________________

Designer, WebMaster and a Delphi programmer.
TrPlayer, my biggest Delphi project hosted on SourceForge.net
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Ksbunker
Advanced Cheater
Reputation: 0

Joined: 18 Oct 2006
Posts: 88

PostPosted: Wed Jul 04, 2007 5:26 am    Post subject: re: Reply with quote

Could have jumped directly from WM_CREATE (004011AF CMP DWORD PTR SS:[EBP-88], 1) to the Congratulations MessageBox @ 40146E.

Instead, modifed crackme in such a way that every level is passed as desired in consecutive order.

Directions. (New instruction @ Address)

JMP 4012A4 @ 00401245 (1st level passed)

JMP 40143A @ 00401345
JMP 40146C @ 00401449 (2nd level passed and Done)
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