LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CentOS 7 no nmap (https://www.linuxquestions.org/questions/linux-newbie-8/centos-7-no-nmap-4175556577/)

iceman81 10-19-2015 11:00 AM

CentOS 7 no nmap
 
i was watching a video that was showing how to check all IP's in use on your network, nmap -Sp x.x.x.x , apparently nmap is not installed by default on version 7.

from what i can tell the alternative seems to be ncat... when i do an ncat --help or check the man pages i can't see anything listed that would have the same result.

is there a different command that should be used?

TB0ne 10-19-2015 11:17 AM

Quote:

Originally Posted by iceman81 (Post 5436911)
i was watching a video that was showing how to check all IP's in use on your network, nmap -Sp x.x.x.x , apparently nmap is not installed by default on version 7.

from what i can tell the alternative seems to be ncat... when i do an ncat --help or check the man pages i can't see anything listed that would have the same result. is there a different command that should be used?

Why don't you just install nmap? Should just have to type in "yum install nmap"

berndbausch 10-19-2015 11:18 AM

nmap checks what ports are open on a system, ncat allows sending data to a remote system. Quite different.

Even if nmap is not installed by default, have you tried installing it manually? E.g. yum search nmap?

iceman81 10-19-2015 11:58 AM

I didn't install it because I'm using this box to study for rhcsa, and I don't want to get used to tools that wont be available on the exam. The video I was watching was supposedly sample objectives, but it was for rhel 5. So it's possible it's not relevant, but I was just curious.

The objective was to disable dhcp on the host and make it static, but you had to make sure that you weren't choosing an ip that was already in use on the network.

John VV 10-19-2015 12:12 PM

Quote:

The video I was watching was supposedly sample objectives, but it was for rhel 5. So it's possible it's not relevant, but I was just curious.
you do know that rhel5 is the very old legacy support os

using things for rhel5 to study for rhel7 is like

using Windows XP to study for Windows 10

it WILL NOT WORK!!!


While Cent is 99 like RHEL

to STUDY!!! for a Red Hat TEST!!!!
buy the f'ing license to redhat
the self support is only $49USD( desktop install)
if you can not even be bothered to spend 49 dollars to study for a TEST and EARN a Cert.

find a NEW LINE OF WORK!!!!

iceman81 10-19-2015 12:33 PM

Yes I realize that, but nmap i don't think is legacy, and the objective should still be valid. I was just asking how to achieve that result on a current version of the os. Sorry if I didn't make that clear

And I wasn't aware of the cheap price for self support, the book I have uses centos, didnt think it was a big deal. But thank you for the reply

lleb 10-19-2015 12:59 PM

Quote:

Originally Posted by iceman81 (Post 5436979)
Yes I realize that, but nmap i don't think is legacy, and the objective should still be valid. I was just asking how to achieve that result on a current version of the os. Sorry if I didn't make that clear

And I wasn't aware of the cheap price for self support, the book I have uses centos, didnt think it was a big deal. But thank you for the reply

while nmap is not legacy, it is not part of a default install for RHEL and thus not standard for CentOS either. It is out there to install just like screen. Great powerful tool, but not installed as part of a default install.

Again to study for the RHEL v6 or v7 exam, you should really being finding that study material as so much has changed between RHELv5 and modern releases.

https://nmap.org/book/inst-linux.html#inst-rpm

some details there about nmap


All times are GMT -5. The time now is 01:18 PM.