How to get IP address,username, file..etc of connected client....
Dear folks,
Assuming that I have a shared folder on server, I want to capture some information of a client such as IP address, username, filenames that client is used to connect to that shared folder.
How can I do that? or Do you have any suggestion?
Please help me asap.
Thanks a lot,
Wall
Re: How to get IP address,username, file..etc of connected client....
Re: How to get IP address,username, file..etc of connected client....
IP address can be obtained with GetPeerName. I don't know about the rest.
Mike
Re: How to get IP address,username, file..etc of connected client....
Quote:
Originally Posted by MikeAThon
IP address can be obtained with GetPeerName. I don't know about the rest.
Mike
Thanks, but it's not the solution....
Anybody knows anything else?
Help me plzzzzzz
Re: How to get IP address,username, file..etc of connected client....
may be a suggestion for u:
Using sniffer and analyze information in packets stream.
some open sources, using winpcap to capture packets:
- ethereal
- Winsniff sample: http://www.codeproject.com/internet/WinSniff.asp
hope it helps.