Find the answer to your Linux question:
Results 1 to 6 of 6
Hi, I want to detect the OS of Linux running machine remotely like using IP address. There are some APIs of Microsoft which do the same thing but only for ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    9

    Remote OS detection of Linux Running machines

    Hi,

    I want to detect the OS of Linux running machine remotely like using IP address.

    There are some APIs of Microsoft which do the same thing but only for the windows operating system.

    Is there any API in Linux/Platform independent which can do the same atleast for
    Linux family operating systems.


    Regards,
    Vishal

  2. #2
    Linux Newbie rituraj.goswami's Avatar
    Join Date
    Aug 2008
    Location
    Guwahati
    Posts
    133
    you can use nmap!!!!!
    There is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    9
    Dear Goswami,

    Thanks for your reply.

    I appreciate your phelophy and I do believe.

    but right now I am interested what I asked earlier.

    Please do some help.

    Regards
    Vishal

    Quote Originally Posted by rituraj.goswami View Post
    you can use nmap!!!!!

  4. #4
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047
    What he meant was:
    Code:
    nmap -O ipaddress
    You probably need to run this as root


    Note that this does not just give you the OS but also a list of open and filtered ports. A firewall or a heavily customized OS can twart the scan though. You'll get an estimate then.

    Also note that running this command against foreign machines is illegal in some countries. If you're a US citizen, then watch out where you point the thing.

    Code:
    man nmap
    Gives you the complete manual.
    Can't tell an OS by it's GUI

  5. #5
    Just Joined!
    Join Date
    Apr 2009
    Posts
    9

    Reply

    Thanks for your reply.

    I am aware of nmap.

    But I want to do this using any LINUX API or any platfrom indepndent API

    so that I can run my application form Windows machine and find the OS of linux machine without using nmap or any other tool.


    Regards
    Vishal


    Quote Originally Posted by Freston View Post
    What he meant was:
    Code:
    nmap -O ipaddress
    You probably need to run this as root


    Note that this does not just give you the OS but also a list of open and filtered ports. A firewall or a heavily customized OS can twart the scan though. You'll get an estimate then.

    Also note that running this command against foreign machines is illegal in some countries. If you're a US citizen, then watch out where you point the thing.

    Code:
    man nmap
    Gives you the complete manual.

  6. #6
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    I would like to run windows applications on linux without needing recompiles, or using wine, or cedega, or cross over, any other application. I want to just use what is natively available on linux.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...