Can someone please tell me where nmap is located within RedHat. I just saw on tv that it comes installed with RedHAt, but I can't seem to locate the program.
Forgive my redhat newbiness.
Thanks in advance.
Printable View
Can someone please tell me where nmap is located within RedHat. I just saw on tv that it comes installed with RedHAt, but I can't seem to locate the program.
Forgive my redhat newbiness.
Thanks in advance.
I may be wrong, but I believe it doesn't install by default. It is on the cd though.
mine is at /usr/bin/nmap
type which nmap
and it will tell you. If not, then it isn't installed.
Either get it off of your install CD or at
insecure.org
:cool:
I still don't know where i installed it, but i ran nmap from a terminal and it's working just fine.
This is an error message i get when i type in /usr/bin/nmap:
Quote:
Nautilus has no installed viewer capable of displaying "/usr/bin/nmap".
I get the same message when i type in damn near anything in my home directory. What does this mean? Do i need to turn on a certain service?
Thanks.
`pw
why not try cd /usr/bin/nmap just to check if the path exist? if it does then try running nmap from there
Just wanted to point out that the whereis command will also work pretty well... it gives a bit more info, but theQuote:
mine is at /usr/bin/nmap
type which nmap
and it will tell you. If not, then it isn't installed.
which will give you the location of the binary.
[root@tuxbox phish]# which nmap
/usr/bin/nmap
vs.
[root@tuxbox phish]# whereis nmap
nmap: /usr/bin/nmap /usr/share/nmap /usr/share/man/man1/nmap.1.gz
Just an FYI for those who didn't know.
As I recall, NeuTron is correct, For RH 9.0 I had to choose to install it. If it is not installed ( using whereis, which, or locate or “rpm -qa |grep nmap” ) you can install it through the
Main Menu, System Settings, Add/Remove Applications .... under System , System Tools.
For phishphreek80
[root@computer user]# which namp
/usr/bin/which: no namp in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/daddy/bin:/usr/java/j2sdk1.4.1_03/bin:/usr/java/j2sdk1.4.1_03/jre/bin:/usr/local/j2sdkee1.3.1/bin:/usr/java/j2sdk1.4.1_03/bin:/usr/local/ant/bin)
vs
[root@computer user]# whereis nmap
nmap: /usr/bin/nmap /usr/share/nmap /usr/share/man/man1/nmap.1.gz
vs
[root@computer user]# locate nmap
/usr/bin/nmap
/usr/bin/nmapfe
/usr/bin/xnmap
/usr/share/doc/db4-devel-4.0.14/api_c/set_func_unmap.html
/usr/share/doc/nmap-3.00
/usr/share/doc/nmap-3.00/copying.html
/usr/share/doc/nmap-3.00/COPYING
/usr/share/doc/nmap-3.00/README
/usr/share/doc/nmap-3.00/nmap-fingerprinting-article.txt
/usr/share/doc/nmap-3.00/nmap.deprecated.txt
/usr/share/doc/nmap-3.00/nmap.usage.txt
/usr/share/doc/nmap-3.00/nmap_doc.html
/usr/share/doc/nmap-3.00/nmap_manpage.html
/usr/share/doc/rhl-sg-en-9/figs/sec-assess/nmap1.png
/usr/share/man/man1/nmap.1.gz
/usr/share/man/man1/nmapfe.1.gz
/usr/share/man/man1/xnmap.1.gz
/usr/share/man/man2/munmap.2.gz
/usr/share/man/man3/Tk_UnmapWindow.3.gz
/usr/share/ghostscript/7.05/lib/CIDFnmap.ARP
/usr/share/ghostscript/7.05/lib/CIDFnmap
/usr/share/ghostscript/7.05/lib/CIDFnmap.Bae
/usr/share/ghostscript/7.05/lib/CIDFnmap.CJK
/usr/share/ghostscript/7.05/lib/CIDFnmap.Koc
/usr/share/ghostscript/7.05/lib/CIDFnmap.Ore
/usr/share/ghostscript/7.05/lib/CIDFnmap.Sol
/usr/share/ghostscript/7.05/lib/CIDFnmap.Win
/usr/share/ghostscript/7.05/lib/CIDFnmap.ZHY
/usr/share/ghostscript/7.05/lib/CIDFnmap.b5
/usr/share/ghostscript/7.05/lib/CIDFnmap.gb
/usr/share/ghostscript/7.05/lib/CIDFnmap.ksx
/usr/share/ghostscript/7.05/lib/CIDFnmap.sj
/usr/share/ghostscript/7.05/lib/winmaps.ps
/usr/share/gimp/1.2/help/C/filters/alienmap.html
/usr/share/gimp/1.2/help/C/filters/alienmap2.html
/usr/share/nmap
/usr/share/nmap/nmap-os-fingerprints
/usr/share/nmap/nmap-protocols
/usr/share/nmap/nmap-rpc
/usr/share/nmap/nmap-services
/mnt/windows/WINDOWS/system32/panmap.dll
/mnt/windows/WINDOWS/system32/dllcache/panmap.dll
vs
[root@computer user]# rpm -qa |grep nmap
nmap-3.00-4
nmap-frontend-3.00-4
guess it depends on what information your looking for ;)
Click Menu
Click System Tool
Click Terminal
in the Terminal type : su
Enter the password for root.
type : nmapfe
Hope this helps.
I think you typed a wrong one, supposed to be # which nmap and I think phish got the right one :)Quote:
Originally posted here by IKnowNot
As I recall, NeuTron is correct, For RH 9.0 I had to choose to install it. If it is not installed ( using whereis, which, or locate or “rpm -qa |grep nmap” ) you can install it through the
Main Menu, System Settings, Add/Remove Applications .... under System , System Tools.
For phishphreek80
[root@computer user]# which namp
/usr/bin/which: no namp in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/daddy/bin:/usr/java/j2sdk1.4.1_03/bin:/usr/java/j2sdk1.4.1_03/jre/bin:/usr/local/j2sdkee1.3.1/bin:/usr/java/j2sdk1.4.1_03/bin:/usr/local/ant/bin)
Thanks a bunch guys/girl. That was a huge help, not to mention the bonus info. :cool:
`pw