Visit Our UNIX and Linux User Community


Identify a remote machine as windows or unix


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Identify a remote machine as windows or unix
# 1  
Old 08-04-2006
Identify a remote machine as windows or unix

Hi,
I have a IP address of the target machine.Is there is any way to find out whether it is a unix box or windows box without logging into it?.
Regs
Anand
# 2  
Old 08-04-2006
Why do you need to do this? Can't you ask the admins?
# 3  
Old 08-04-2006
GFI LANguard Network Security Scanner can do this: http://www.gfi.com/lannetscan/

If you not authorized to scan the network, this could cost your job.
# 4  
Old 08-04-2006
In the current scenario,I cannot ask the admins.I dont have provision to
buy any new software.I got the answer from one of my colleagues which
is as follows:
when we execute the ping command,if the TTL is 32 bytes ,then windows or if the TTL is 64 bytes then it is unix".
But I don't know how far the above conclusion is correct?
# 5  
Old 08-04-2006
Quote:
Originally Posted by u449064
In the current scenario,I cannot ask the admins.I dont have provision to
buy any new software.I got the answer from one of my colleagues which
is as follows:
when we execute the ping command,if the TTL is 32 bytes ,then windows or if the TTL is 64 bytes then it is unix".
But I don't know how far the above conclusion is correct?
TTL is Time To Live for multicast packets and shows how far a packet can be transmitted (from 0 same host, 1 same subnet, 32 same site, 64 same region, 128 same continent, 255 unrestricted)
Do you mean Packet size? For the UNIXes I've used recently this defaults to 64 and for windows 32 - but this is controlled by the system sending the 'ping', not the remote machine, so doesn't help you.

The only sensible solution seems to be to ask the people who know - the sys admins.
# 6  
Old 08-05-2006
hello,

how about nmap??

cheers Smilie

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to run UNIX commands on remote machine from windows?

Hi All, I am working in support and we are planning to automate a system to reduce the direct manual intervention to core system. Please find the below details. 1. we have a web application that runs on Windows Platform. 2. From web application, we need to connect to remote Unix machine.... (6 Replies)
Discussion started by: Balaji K
6 Replies

2. Solaris

unable to sftp to a remote server from Unix machine

Hi, I get the below when i try to sftp to a remote server $ export SOCKS5C_CONFIG=~/.ssh/socks5c.conf $ sftp -v -s /usr/lib/sftp-server -oPort=2222 -oIdentityFile=~/.ssh/wm_privat> Connecting to ftp01.wmgruppe.de... Sun_SSH_1.1.3, SSH protocols 1.5/2.0, OpenSSL 0x0090704f debug1:... (1 Reply)
Discussion started by: Bigbee
1 Replies

3. Shell Programming and Scripting

Running remote system shell script and c binary file from windows machine using java

Hi, I have an shell script program in a remote linux machine which will do some specific monitoring functionality. Also, have some C executables in that machine. From a windows machine, I want to run the shell script program (If possible using java). I tried with SSH for this. but, in... (1 Reply)
Discussion started by: ram.sj
1 Replies

4. Linux

send remote commands to windows machine?

hey guys, I've done some searching and other than winexe I haven't been able to find a way to send remote commands to a windows machine. The problem I get is with winexe whenever you send the process to the background in a script, I get the following error. :wall: Any help is appreciated! ... (0 Replies)
Discussion started by: terrell
0 Replies

5. Programming

Ping remote UNIX machine from a java application

Hi Friends, Can some one please guide me on how to make a script run on a remote UNIX machine from a java application. Or may if you can just tell me how do u ping to the remote UNIX machine using java code. Been looking for the solution since 5-6 hrs, didn't got any where near :( Thanks. (1 Reply)
Discussion started by: Sanjay MD
1 Replies

6. Shell Programming and Scripting

ftp from windows to unix using a perl script on unix machine

i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
Discussion started by: raksha.s
3 Replies

7. UNIX for Dummies Questions & Answers

Copy file from Remote Unix box to windows machine

Hi I need to copy a file from the remote unix server to windows machine. I read lot of thrad but didn't worked out. Requesting all to please help. (2 Replies)
Discussion started by: sameerspice
2 Replies

8. Shell Programming and Scripting

How to get Windows machine's IP address from Unix?

I am using windows Xp. From windows I would connect to my IBM AIX unix machine using telnet client. Is there any command available to view the IP address of Windows machine from Unix? (Note that ifconfig will give unix mahcine's IP address currently logged in.) (3 Replies)
Discussion started by: mvictorvijayan
3 Replies

9. UNIX for Advanced & Expert Users

view remote linux desktop on my windows machine

Hi, is there anyway i can view a remote linux desktop on my windows desktop? i am aware that X11 can see 'certain screens'. For eg if i type 'xclock &' and i have a client running on my windows, i can see the clock. If i am interested to see the entire desktop of my linux, how can i do it? (4 Replies)
Discussion started by: new2ss
4 Replies

10. UNIX for Advanced & Expert Users

missing Path(in UNIX) when i launch a job on to unix machine using windows SSh

hi i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies

Featured Tech Videos