Metasploit mailing list archives

Re: Using sudo as root


From: Jonathan Cran <jcran () 0x0e org>
Date: Fri, 20 Jan 2012 02:22:53 -0600

On Thu, Jan 19, 2012 at 9:40 PM, haZard0us <hazard0us.pt () gmail com> wrote:

Hello all,

I was happily following some examples on the book Metasploit: The
Penetration Tester's Guide - in which HD Moore gives us a nice preface :) -
and i found a little annoying thing.

In the command: nmap -sT -A --script=smb-check-vulns -P0 192.168.33.130

It gives the following output:

Starting Nmap ---SNIP---
Warning: Traceroute does not support idle or connect scan, disabling...
QUITTING!!!!

But if i run it again using the sudo prefix:

sudo nmap -sT -A --script=smb-check-vulns -P0 192.168.33.130

It works.


Hey HaZ -- works here (both root and sudo) with a recent nmap svn.

 -A is run all scripts, os detection, version detection, script scanning
and output - this definitely requires root

I'd suggest checking the nmap list (
http://cgi.insecure.org/mailman/listinfo/nmap-dev), or ping the authors
through the mechanism they specify in the book.



jcran
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: