pankaj_it09 has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Remote OS Detection
by marto (Cardinal) on Apr 07, 2010 at 08:52 UTC

    If the remote host has perl you login (via ssh) and use $OSNAME or $^O, see perlvar. man uname on a *nix host may be what you're looking for.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Remote OS Detection
by ZlR (Chaplain) on Apr 07, 2010 at 12:09 UTC
    I would use nmap to do that.
        What a fascinating article ! Modifying the kernel's tcp stack to fool nmap, that's some level of extremism i had not seen before :)
Re: Remote OS Detection
by Anonymous Monk on Apr 07, 2010 at 08:52 UTC