Results 1 to 8 of 8

Thread: Nmap problem

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Sep 2011
    Posts
    1

    Default Nmap problem

    Hello everyone,

    I'm having a slight problem with Nmap.

    Whenever I use this command:

    Code:
    nmap -sT -A -P0 IPHERE
    It returns with this:

    Code:
    Starting Nmap 5.51SVN ( http://nmap.org ) at 2011-09-14 16:54 EDT
    Traceroute does not support idle or connect scan
    QUITTING!
    The reason why I'm asking for help is because I'm reading the e-book "Metasploit: The Penetration Testerís Guide", and this problem is keeping me from continuing.

    In the e-book it returns with this:


    Code:
    Starting Nmap 5.20 ( http://nmap.org ) at 2011-03-15 19:35 EDT
    Warning: Traceroute does not support idle or connect scan, disabling...
    Any solutions?

    Thanks!

  2. #2
    Member shadowzero's Avatar
    Join Date
    Jun 2011
    Location
    ${HOME}
    Posts
    94

    Default Re: Nmap problem

    I don't get those warnings or errors on 5.59BETA1. Try passing the "-vv" and "-d" flags and see if it gives you more information.

  3. #3
    Just burned his ISO
    Join Date
    Sep 2011
    Posts
    1

    Default Re: Nmap problem

    im having the exact same problem but with

    Code:
    nmap -sT -A --script=smb-check-vulns -PO xxx.xxx.x.xxx
    on page 64 of the book...

    I ran the command straight from the shell instead of metasploit and it worked last night but when i tried it again tonight it worked but this time did not show the vulns...

    its really annoying how it doesnt work from msfconsole though...

    If I fix it ill drop you another reply and let you know...

  4. #4
    Just burned his ISO
    Join Date
    Oct 2011
    Posts
    1

    Default AW: Nmap problem

    You have to start msfconsole from msf3-dir,
    cd /opt/framework/msf3/
    then start msfconsole

  5. #5
    Member
    Join Date
    Jan 2010
    Posts
    83

    Question Re: AW: Nmap problem

    Quote Originally Posted by dave4freedom View Post
    You have to start msfconsole from msf3-dir,
    cd /opt/framework/msf3/
    then start msfconsole
    Why do you think starting msfconsole from the same directory (as the script) matters?

  6. #6
    Just burned his ISO
    Join Date
    Jan 2012
    Posts
    1

    Default AW: Re: AW: Nmap problem

    Quote Originally Posted by DeadWolf View Post
    Why do you think starting msfconsole from the same directory (as the script) matters?
    because it loads a different nmap Version:

    Code:
    root@root:~# cd /opt/framework/msf3/
    root@root:/opt/framework/msf3# msfconsole 
    ...SNIP...
    
    msf >  nmap -sT -A --script=smb-check-vulns -P0 192.168.1.136[*] exec:  nmap -sT -A --script=smb-check-vulns -P0 192.168.1.136
    
    
    Starting Nmap 5.51SVN ( http://nmap.org ) at 2012-01-29 06:43 EST
    Traceroute does not support idle or connect scan
    QUITTING!
    msf >
    now try starting msfconsole from /opt/framework/msf3/

    Code:
    root@root:/opt/framework/msf3# ./msfconsole 
    ....SNIP....
    
    msf > nmap -sT -A --script=smb-check-vulns -P0 192.168.1.136[*] exec: nmap -sT -A --script=smb-check-vulns -P0 192.168.1.136
    
    
    Starting Nmap 5.59BETA1 ( http://nmap.org ) at 2012-01-29 06:45 EST
    Nmap scan report for 192.168.1.136
    Host is up (0.00060s latency).
    Not shown: 997 closed ports
    PORT    STATE SERVICE     VERSION
    as you can see, the first call uses Nmap 5.51SVN which doesn't work, the second one uses 5.59BETA1 which works! hope this helps.

  7. #7
    Just burned his ISO bsmartt's Avatar
    Join Date
    Dec 2010
    Location
    /dev/null/
    Posts
    7

    Default Re: Nmap problem

    As shadowzero hinted at, the reason your results differ from the book's is nmap version. It seems they changed the behavior when doing a traceroute scan. If you want to follow exactly as it is shown in the book, use the same version of nmap they use.

Similar Threads

  1. [nmap] - Erro no Nmap
    By F0K3R in forum Suporte Software
    Replies: 4
    Last Post: 12-08-2010, 09:58 PM
  2. Plz help with nmap
    By yucatans in forum OLD Newbie Area
    Replies: 4
    Last Post: 12-09-2008, 01:05 AM
  3. NMap Os Detection Problem
    By imported_l1nuxant_ee in forum OLD Pentesting
    Replies: 4
    Last Post: 11-21-2007, 12:54 PM
  4. Does comcast have a problem with nmap?
    By The Leprechaun in forum OLD Newbie Area
    Replies: 1
    Last Post: 09-11-2007, 09:47 AM

Posting Permissions

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