LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-07-2013, 05:05 AM   #1
Annielover
Member
 
Registered: May 2011
Location: Belgium
Distribution: Ubuntu Server Edition, Fedora 16
Posts: 90

Rep: Reputation: 8
How to detect OS type (x86 or x64) with NMAP?


Hi all,

Is it possible to detect if a remote computer either runs a 32 bit or 64 bit OS using NMAP?

Using
Code:
nmap -O --osscan-guess $hostname
or

Code:
nmap -O -v $HOSTNAME
Only returns the OS version, but not the OS type (x86 or x86_64).

Thanks in advance!!
 
Old 03-07-2013, 05:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,379

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
only if there are tell tale signs in the responses in the network traffic from each implementation of that specific OS. There is not *meant* to be any difference at all though, and the outwardly visible parts of the network stack seems a broadly unlikely thing to be coded differently, they'd usually be a common library and source code that both builds use. Across the board, there's certainly no way, it really is down to coding styles or the developers. As the command says, it is a *guess* only.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Detect nmap with iptables vonlz Linux - Security 3 04-28-2011 12:56 AM
Slackware-Current x64 & x86 + Nvidia SqdnGuns Slackware 7 05-24-2009 10:34 AM
compiling x64 application from ubuntu x86 using gcc compiler samitpmc Programming 9 07-21-2008 04:53 AM
Nmap for Solaris 10 x86?? as400 Solaris / OpenSolaris 3 05-09-2007 02:21 PM
Solaris 10 x64/x86 driver wanted cstsang Solaris / OpenSolaris 3 10-31-2005 11:27 PM


All times are GMT -5. The time now is 11:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration