RedHat/nmap question
Results 1 to 10 of 10

Thread: RedHat/nmap question

  1. #1
    Senior Member
    Join Date
    Nov 2002
    Posts
    139

    RedHat/nmap question

    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.

  2. #2
    AO Veteran NeuTron's Avatar
    Join Date
    Apr 2003
    Posts
    550
    I may be wrong, but I believe it doesn't install by default. It is on the cd though.

  3. #3
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    Posts
    2,716
    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
    I came in to the world with nothing. I still have most of it.

  4. #4
    Senior Member
    Join Date
    Nov 2002
    Posts
    139
    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:


    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

  5. #5
    Junior Member
    Join Date
    Jun 2003
    Posts
    6
    why not try cd /usr/bin/nmap just to check if the path exist? if it does then try running nmap from there
    [glowpurple]Costumer Rule:

    1. Costumer is Always Right![/glowpurple][glowpurple]
    2. If the costumer is wrong, proceed to rule 1.[/glowpurple]

  6. #6
    AO übergeek phishphreek's Avatar
    Join Date
    Jan 2002
    Posts
    4,325
    mine is at /usr/bin/nmap
    type which nmap
    and it will tell you. If not, then it isn't installed.
    Just wanted to point out that the whereis command will also work pretty well... it gives a bit more info, but the
    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.
    Quitmzilla is a firefox extension that gives you stats on how long you have quit smoking, how much money you\'ve saved, how much you haven\'t smoked and recent milestones. Very helpful for people who quit smoking and used to smoke at their computers... Helps out with the urges.

  7. #7
    Senior Member IKnowNot's Avatar
    Join Date
    Jan 2003
    Posts
    792
    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
    " And maddest of all, to see life as it is and not as it should be" --Miguel Cervantes

  8. #8
    rebmeM roineS enilnOitnA steve.milner's Avatar
    Join Date
    Jul 2003
    Posts
    1,018
    Click Menu
    Click System Tool
    Click Terminal
    in the Terminal type : su
    Enter the password for root.
    type : nmapfe

    Hope this helps.
    IT, e-commerce, Retail, Programme & Project Management, EPoS, Supply Chain and Logistic Services. Yorkshire. http://www.bigi.uk.com

  9. #9
    Senior Member
    Join Date
    Aug 2002
    Posts
    508
    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)
    I think you typed a wrong one, supposed to be # which nmap and I think phish got the right one
    Not an image or image does not exist!
    Not an image or image does not exist!

  10. #10
    Senior Member
    Join Date
    Nov 2002
    Posts
    139

    Post

    Thanks a bunch guys/girl. That was a huge help, not to mention the bonus info.

    `pw

Posting Permissions

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