Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 09-19-2014, 14:43
Sir.V65j Sir.V65j is offline
Friend
 
Join Date: Oct 2010
Posts: 66
Rept. Given: 35
Rept. Rcvd 32 Times in 15 Posts
Thanks Given: 70
Thanks Rcvd at 54 Times in 21 Posts
Sir.V65j Reputation: 32
set bp(eb fe) on that offset
then use this function:
Quote:
function SniffSerial(PI: PROCESS_INFORMATION; Ctx: _Context): string;
var
X: Cardinal;
Buff: PChar;
begin
GetMem(Buff,50);

SuspendThread(PI.hThread);
GetThreadContext(PI.hThread,Ctx);
ReadProcessMemory(PI.hProcess,Pointer(Ctx.Edx),Buff,50,X);

Result:=trim(Buff) ;
FreeMem(Buff);
end;
thanks NimaSubZero & anorganix
you can use this source
Attached Files
File Type: rar Coding a Serial Sniffer_anorganix.rar (313.1 KB, 59 views)

Last edited by Sir.V65j; 09-19-2014 at 15:04. Reason: add a source code
Reply With Quote
The Following 3 Users Gave Reputation+1 to Sir.V65j For This Useful Post:
anon_c (09-20-2014), chessgod101 (09-20-2014), Mahmoudnia (09-27-2014)
The Following User Says Thank You to Sir.V65j For This Useful Post:
anon_c (09-15-2015)
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Olly Registers Recorder n0ital General Discussion 5 04-07-2006 03:35


All times are GMT +8. The time now is 17:12.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )