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 


can PostMessage post a string?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Thu Feb 26, 2009 11:00 pm    Post subject: Reply with quote

either a trampolined version of postmessage or sendmessage will do
Back to top
View user's profile Send private message
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Thu Feb 26, 2009 11:09 pm    Post subject: Reply with quote

slippppppppp wrote:
WM_CHAR is a parameter that can be used in PostMessage.

char* SendText = "hi im kool";

for( int i = 0; i <= strlen( SendText ); i++ )
PostMessage( HWND, WM_CHAR, SendText[i], 0 );

basically, this is postmessaging each letter one by one from SendText.


thanks works

_________________
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Fri Feb 27, 2009 3:42 pm    Post subject: Reply with quote

Slugsnack wrote:
either a trampolined version of postmessage or sendmessage will do


I might be wrong but I think SendMessage->SendInput->NtUserSendInput->Hooked in kernelmode by gg.

SO only pma works.
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Fri Feb 27, 2009 7:09 pm    Post subject: Reply with quote

No... SendMessage does not call SendInput Rolling Eyes.
Messages and Input are very different things.

Disassemble User32.dll and you'll see.

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

Joined: 25 Jul 2008
Posts: 1053

PostPosted: Fri Feb 27, 2009 9:33 pm    Post subject: Reply with quote

dnsi0 wrote:
Slugsnack wrote:
either a trampolined version of postmessage or sendmessage will do


I might be wrong but I think SendMessage->SendInput->NtUserSendInput->Hooked in kernelmode by gg.

SO only pma works.


WTF?!?!
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Fri Feb 27, 2009 10:01 pm    Post subject: Reply with quote

_void_ wrote:
dnsi0 wrote:
Slugsnack wrote:
either a trampolined version of postmessage or sendmessage will do


I might be wrong but I think SendMessage->SendInput->NtUserSendInput->Hooked in kernelmode by gg.

SO only pma works.


WTF?!?!


lol i thought dnsi knew something too ;( Guess i was wrong.

_________________
Back to top
View user's profile Send private message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Fri Feb 27, 2009 11:25 pm    Post subject: Reply with quote

Couldn't you directly set the username/pass in memory?
_________________
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Sat Feb 28, 2009 7:47 am    Post subject: Reply with quote

HalfPrime wrote:
Couldn't you directly set the username/pass in memory?


i think they check the edit box text, not the memory of the edit box.

_________________
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Sat Feb 28, 2009 8:36 am    Post subject: Reply with quote

blankrider wrote:
_void_ wrote:
dnsi0 wrote:
Slugsnack wrote:
either a trampolined version of postmessage or sendmessage will do


I might be wrong but I think SendMessage->SendInput->NtUserSendInput->Hooked in kernelmode by gg.

SO only pma works.


WTF?!?!


lol i thought dnsi knew something too ;( Guess i was wrong.


Wow... I mixed up alot of apis...
Back to top
View user's profile Send private message
kitterz
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Dec 2007
Posts: 1268

PostPosted: Sat Feb 28, 2009 2:01 pm    Post subject: Reply with quote

dnsi0 wrote:
blankrider wrote:
_void_ wrote:
dnsi0 wrote:
Slugsnack wrote:
either a trampolined version of postmessage or sendmessage will do


I might be wrong but I think SendMessage->SendInput->NtUserSendInput->Hooked in kernelmode by gg.

SO only pma works.


WTF?!?!


lol i thought dnsi knew something too ;( Guess i was wrong.


Wow... I mixed up alot of apis...


lol ya...SendMessage can be trampolined as well

_________________
Back to top
View user's profile Send private message Send e-mail
ElJEffro
Grandmaster Cheater Supreme
Reputation: 0

Joined: 15 Apr 2007
Posts: 1881
Location: La Tierra

PostPosted: Sun Mar 01, 2009 5:23 pm    Post subject: Reply with quote

For postmessage the best you can really do is setcursorpos + click inside the boxes, then use Irwin's method, then for PIN, enable pin typer for a few seconds and enter the PIN with Irwin's way then disable it to avoid being detected
Back to top
View user's profile Send private message
Henley
Grandmaster Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 671

PostPosted: Sun Mar 01, 2009 5:30 pm    Post subject: Reply with quote

http://forum.cheatengine.org/viewtopic.php?t=178609
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sun Mar 01, 2009 5:32 pm    Post subject: Reply with quote

dnsi0 wrote:
blankrider wrote:
_void_ wrote:
dnsi0 wrote:
Slugsnack wrote:
either a trampolined version of postmessage or sendmessage will do


I might be wrong but I think SendMessage->SendInput->NtUserSendInput->Hooked in kernelmode by gg.

SO only pma works.


WTF?!?!


lol i thought dnsi knew something too ;( Guess i was wrong.


Wow... I mixed up alot of apis...

you are probably thinking of keybd_event/mouse_event
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Sun Mar 01, 2009 5:48 pm    Post subject: Reply with quote

ElJEffro wrote:
For postmessage the best you can really do is setcursorpos + click inside the boxes, then use Irwin's method, then for PIN, enable pin typer for a few seconds and enter the PIN with Irwin's way then disable it to avoid being detected


You dont need pin typer for the characters to be typed in with WM_CHAR messages.
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 All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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