Metasploit mailing list archives

Using sudo as root


From: haZard0us <hazard0us.pt () gmail com>
Date: Fri, 20 Jan 2012 03:40:49 +0000

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.

My question is... if i'm currently the root user, why do i have to use sudo?

Maybe not a framework issue, but i guess that's quite obvious why i ask it here :)

Sincere regards,
-haZ
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: