want to get os ,ip infomation from remote machine while in internet?
hi,
I want to get operating system ,ip infomation from the remote machine while in internet.If it is possible in java.if yes, plz let me the details.thanks in advance
hi,
I want to get operating system ,ip infomation from the remote machine while in internet.If it is possible in java.if yes, plz let me the details.thanks in advance
Hi,
this is not entire possible in Java. For this type of information you need some deep timing information e.g. from the TCP/IP stack. It is possible to connect to every port on the machine and try to find a specific server component (if telnet is running it is perfect for you) which is only common for some type of operating system. But a good administrator will disable this and a firewall will disallow a connect.
Best wishes,
Christian Ullenboom | http://www.tutego.com/
Hi,
Why? What machine? Web-based client, OS-based (applet or application)...
If you talk about an Applet - you'd better forget it. Java protects this type of info from the outside. Remember, Applets run in a "sandbox". If you have custom clients in the form of Applications, then the thing could (read COULD) be done, but there's security - that's going to be THE achilles heel...
luckily you can't get such information without it being volunteered by the target system.
What you're asking for is the equivalent of getting the entire content of someone's home and bank account listed in the phone directory.