Metasploit mailing list archives
Problem with framework3 - db_nmap localhost leads to Error while running command db_nmap: no such file to load -- postgres
From: webmaster at script-base.com (Marcel)
Date: Wed, 26 Sep 2007 15:48:05 +0200
Hello, Installed the framework in ubuntu as it is described on the homepage. I installed postgres to use the db funtionality. This happens: root at blacksh33p:/pentest/framework3# ./msfconsole o 8 o o 8 8 8 ooYoYo. .oPYo. o8P .oPYo. .oPYo. .oPYo. 8 .oPYo. o8 o8P 8' 8 8 8oooo8 8 .oooo8 Yb.. 8 8 8 8 8 8 8 8 8 8 8. 8 8 8 'Yb. 8 8 8 8 8 8 8 8 8 8 `Yooo' 8 `YooP8 `YooP' 8YooP' 8 `YooP' 8 8 ..:..:..:.....:::..::.....::.....:8.....:..:.....::..::..: ::::::::::::::::::::::::::::::::::8::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::: =[ msf v3.1-dev + -- --=[ 230 exploits - 110 payloads + -- --=[ 17 encoders - 6 nops =[ 42 aux msf > load db_postgres [*] Successfully loaded plugin: db_postgres msf > db_create pentest2 CREATE DATABASE FEHLER: Tabelle ?hosts? existiert nicht HINWEIS: CREATE TABLE erstellt implizit eine Sequenz ?hosts_id_seq? f?r die ?serial?-Spalte ?hosts.id? HINWEIS: CREATE TABLE / PRIMARY KEY erstellt implizit einen Index ?hosts_pkey? f?r Tabelle ?hosts? HINWEIS: CREATE TABLE / UNIQUE erstellt implizit einen Index ?hosts_address_key? f?r Tabelle ?hosts? FEHLER: Tabelle ?services? existiert nicht HINWEIS: CREATE TABLE erstellt implizit eine Sequenz ?services_id_seq? f?r die ?serial?-Spalte ?services.id? HINWEIS: CREATE TABLE / PRIMARY KEY erstellt implizit einen Index ?services_pkey? f?r Tabelle ?services? FEHLER: Tabelle ?vulns? existiert nicht HINWEIS: CREATE TABLE erstellt implizit eine Sequenz ?vulns_id_seq? f?r die ?serial?-Spalte ?vulns.id? HINWEIS: CREATE TABLE / PRIMARY KEY erstellt implizit einen Index ?vulns_pkey? f?r Tabelle ?vulns? FEHLER: Tabelle ?refs? existiert nicht HINWEIS: CREATE TABLE erstellt implizit eine Sequenz ?refs_id_seq? f?r die ?serial?-Spalte ?refs.id? HINWEIS: CREATE TABLE / PRIMARY KEY erstellt implizit einen Index ?refs_pkey? f?r Tabelle ?refs? FEHLER: Tabelle ?vulns_refs? existiert nicht [*] Database creation complete (check for errors) msf > db_nmap localhost Starting Nmap 4.20 ( http://insecure.org ) at 2007-09-26 15:45 CEST Interesting ports on localhost (127.0.0.1): Not shown: 1689 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 111/tcp open rpcbind 139/tcp open netbios-ssn 445/tcp open microsoft-ds 602/tcp open unknown 2049/tcp open nfs 5432/tcp open postgres Nmap finished: 1 IP address (1 host up) scanned in 0.097 seconds [-] Error while running command db_nmap: no such file to load --postgres msf > psql > \l Liste der Datenbanken Name | Eigent?mer | Kodierung ----------------+------------+----------- localhost:5432 | root | UTF8 metasploit | postgres | UTF8 pentest | root | UTF8 pentest2 | root | UTF8 postgres | postgres | UTF8 template0 | postgres | UTF8 template1 | postgres | UTF8 (7 Zeilen) metasploit=# Does anyone have an idea where the problem is? greets blacksh33p
Current thread:
- Problem with framework3 - db_nmap localhost leads to Error while running command db_nmap: no such file to load -- postgres Marcel (Sep 26)