EH-Net
May 23, 2013, 03:37:41 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Running Nmap from MSFconsole Error  (Read 1836 times)
0 Members and 1 Guest are viewing this topic.
skorpinok
Newbie
*
Offline Offline

Posts: 36


View Profile
« on: June 20, 2012, 11:24:13 AM »

Hello,
               When i run nmap from Metasploit console, i get error when i check  the results from the scan are stored in the database, when i run db_services,  i get  Unknown command: db_services, what could be this problem, if you have suggestions please let me know.

Thank you



msf > db_connect postgres:toor@127.0.0.1/msf3
msf > db_status

    postgresql connected to msf3


msf > db_nmap -sS -A 192.168.56.102

scan completes
-----------------------------------------------------
msf > db_services
[-] Unknown command: db_services.

Backtrack 5R2/Windows xp sp2 > Virtual Box
Logged
ziggy_567
Sr. Member
****
Offline Offline

Posts: 361


View Profile
« Reply #1 on: June 20, 2012, 01:39:46 PM »

Try the "services" command instead.

They did away with db_services with Metasploit 4.0, I believe.
Logged

--
Ziggy


eCPPT - GSEC - GCIH - GCUX - RHCE - SCSecA - Security+ - Network+
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.104 seconds with 20 queries.