Help Need How 2 get the commands sended by my app 2 internet

General discussion about PLUC and Linux in Pakistan.

Help Need How 2 get the commands sended by my app 2 internet

Postby swatiantigers » Mon May 01, 2006 12:59 pm

hi
i wants to know on windows that what commands are sended by my application to the internet for example i wants to get the commands of msn. or how to get the commands sended by my app to the usb and serial port. i think i have to use any tool for it. please help me wants to write some applications.

thanx alot
Image
swatiantigers
Lance Naik
 
Posts: 44
Joined: Tue Feb 22, 2005 11:54 am
Website: http://www.swatiantigers.net
WLM: anees042@hotmail.com
Yahoo Messenger: anees042@yahoo.com
Location: swat

Strace

Postby dajazzguy » Mon May 01, 2006 9:04 pm

you can use strace command to see the system calls that is particular program / process is passing to the kernel.

get the pid of the process by using the command

ps aux | grep programname

and u can see the program function calls bu using

strace -p pidofprogramtowatch

consult the man pages for more info
Farhan Diwan
RHCE, Certified MySQL DBA
dajazzguy
Naik
 
Posts: 65
Joined: Sat May 31, 2003 11:34 pm
WLM: farhan_494@hotmail.com
Yahoo Messenger: farhan_494@yahoo.com
Location: karachi

Re : how to get commands

Postby swatiantigers » Thu May 18, 2006 6:05 pm

Salam & hi

thanx for the reply. can you tell me is there any equivalent for windows?



thanx alot
Image
swatiantigers
Lance Naik
 
Posts: 44
Joined: Tue Feb 22, 2005 11:54 am
Website: http://www.swatiantigers.net
WLM: anees042@hotmail.com
Yahoo Messenger: anees042@yahoo.com
Location: swat


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 1 guest

cron