Metasploit Framework Problema

  • 3 Respuestas
  • 1552 Vistas

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado Minimarcos2001

  • *
  • Underc0der
  • Mensajes: 1
  • Actividad:
    0%
  • Actividad:
    0%
  • Country: um
  • Reputación 0
  • Skype: GeorgeCedNA
    • Ver Perfil
    • Email

Metasploit Framework Problema

  • en: Agosto 25, 2018, 02:32:50 pm
Buenas, tengo un problema con metasploit framework de kali 32 bits, esta en un pc aparte no en una vm, cuando pongo el comando msfconsole me aparece esto:

root@Nobody:~# msfconsole
[-] Failed to connect to the database: could not connect to server: Connection refused
   Is the server running on host "localhost" (::1) and accepting
   TCP/IP connections on port 5432?
could not connect to server: Connection refused
   Is the server running on host "localhost" (127.0.0.1) and accepting
   TCP/IP connections on port 5432?

/usr/share/metasploit-framework/lib/msf/core/payload/android.rb:87:in `not_after=': bignum too big to convert into `long' (RangeError)
   from /usr/share/metasploit-framework/lib/msf/core/payload/android.rb:87:in `sign_jar'
   from /usr/share/metasploit-framework/lib/msf/core/payload/android.rb:118:in `generate_jar'
   from /usr/share/metasploit-framework/lib/msf/core/payload/android.rb:38:in `generate'
   from /usr/share/metasploit-framework/lib/msf/core/payload.rb:204:in `size'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:158:in `block (2 levels) in recalculate'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:102:in `each_pair'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:102:in `block in recalculate'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:98:in `each_pair'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:98:in `recalculate'
   from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:251:in `block in load_modules'
   from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:248:in `each'
   from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:248:in `load_modules'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:119:in `block in load_modules'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:117:in `each'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:117:in `load_modules'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:41:in `block in add_module_path'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:40:in `each'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:40:in `add_module_path'
   from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:50:in `block in init_module_paths'
   from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:49:in `each'
   from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:49:in `init_module_paths'
   from /usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:219:in `initialize'
   from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `new'
   from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `driver'
   from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'
   from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
   from /usr/bin/msfconsole:48:in `<main>'


Gracias de antemano ;D ;D
Drogues populaires www.viagrasansordonnancefr.com pharmaciens de Belgique

Desconectado diaro

  • *
  • Underc0der
  • Mensajes: 5
  • Actividad:
    0%
  • Actividad:
    0%
  • Reputación 0
    • Ver Perfil

Re:Metasploit Framework Problema

  • en: Septiembre 06, 2018, 05:12:48 pm
Y no probaste instalar metasploit solo instalando TheFatRat.

Una vez que instales TheFatRat automaticamente se instala metasploit

Desconectado K A I L

  • *
  • Ex-Staff
  • *****
  • Mensajes: 163
  • Actividad:
    0%
  • Actividad:
    0%
  • Reputación 2
    • Ver Perfil

Re:Metasploit Framework Problema

  • en: Septiembre 07, 2018, 08:14:47 am
Buenas, tengo un problema con metasploit framework de kali 32 bits, esta en un pc aparte no en una vm, cuando pongo el comando msfconsole me aparece esto:

root@Nobody:~# msfconsole
[-] Failed to connect to the database: could not connect to server: Connection refused
   Is the server running on host "localhost" (::1) and accepting
   TCP/IP connections on port 5432?
could not connect to server: Connection refused
   Is the server running on host "localhost" (127.0.0.1) and accepting
   TCP/IP connections on port 5432?

/usr/share/metasploit-framework/lib/msf/core/payload/android.rb:87:in `not_after=': bignum too big to convert into `long' (RangeError)
   from /usr/share/metasploit-framework/lib/msf/core/payload/android.rb:87:in `sign_jar'
   from /usr/share/metasploit-framework/lib/msf/core/payload/android.rb:118:in `generate_jar'
   from /usr/share/metasploit-framework/lib/msf/core/payload/android.rb:38:in `generate'
   from /usr/share/metasploit-framework/lib/msf/core/payload.rb:204:in `size'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:158:in `block (2 levels) in recalculate'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:102:in `each_pair'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:102:in `block in recalculate'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:98:in `each_pair'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:98:in `recalculate'
   from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:251:in `block in load_modules'
   from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:248:in `each'
   from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:248:in `load_modules'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:119:in `block in load_modules'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:117:in `each'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:117:in `load_modules'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:41:in `block in add_module_path'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:40:in `each'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:40:in `add_module_path'
   from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:50:in `block in init_module_paths'
   from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:49:in `each'
   from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:49:in `init_module_paths'
   from /usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:219:in `initialize'
   from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `new'
   from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `driver'
   from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'
   from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
   from /usr/bin/msfconsole:48:in `<main>'


Gracias de antemano ;D ;D

Hola @Minimarcos2001

Intenta lo siguiente:

1º:
Código: [Seleccionar]
service postgresql start
2º:
Código: [Seleccionar]
ss -lntp | grep post
Y por favor muéstrame lo que te devuelve luego del segundo comando.

Saludos!
K A I L

Desconectado DeBobiPro

  • *
  • Ex-Staff
  • *****
  • Mensajes: 328
  • Actividad:
    0%
  • Actividad:
    0%
  • Reputación 6
  • Como no sabía que era imposible, lo hice.
    • Ver Perfil

Re:Metasploit Framework Problema

  • en: Septiembre 07, 2018, 08:47:16 am
Buenas, tengo un problema con metasploit framework de kali 32 bits, esta en un pc aparte no en una vm, cuando pongo el comando msfconsole me aparece esto:

root@Nobody:~# msfconsole
[-] Failed to connect to the database: could not connect to server: Connection refused
   Is the server running on host "localhost" (::1) and accepting
   TCP/IP connections on port 5432?
could not connect to server: Connection refused
   Is the server running on host "localhost" (127.0.0.1) and accepting
   TCP/IP connections on port 5432?

/usr/share/metasploit-framework/lib/msf/core/payload/android.rb:87:in `not_after=': bignum too big to convert into `long' (RangeError)
   from /usr/share/metasploit-framework/lib/msf/core/payload/android.rb:87:in `sign_jar'
   from /usr/share/metasploit-framework/lib/msf/core/payload/android.rb:118:in `generate_jar'
   from /usr/share/metasploit-framework/lib/msf/core/payload/android.rb:38:in `generate'
   from /usr/share/metasploit-framework/lib/msf/core/payload.rb:204:in `size'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:158:in `block (2 levels) in recalculate'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:102:in `each_pair'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:102:in `block in recalculate'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:98:in `each_pair'
   from /usr/share/metasploit-framework/lib/msf/core/payload_set.rb:98:in `recalculate'
   from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:251:in `block in load_modules'
   from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:248:in `each'
   from /usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:248:in `load_modules'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:119:in `block in load_modules'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:117:in `each'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:117:in `load_modules'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:41:in `block in add_module_path'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:40:in `each'
   from /usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:40:in `add_module_path'
   from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:50:in `block in init_module_paths'
   from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:49:in `each'
   from /usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:49:in `init_module_paths'
   from /usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:219:in `initialize'
   from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `new'
   from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `driver'
   from /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'
   from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
   from /usr/bin/msfconsole:48:in `<main>'


Gracias de antemano ;D ;D

Hola @Minimarcos2001

Intenta lo siguiente:

1º:
Código: [Seleccionar]
service postgresql start
2º:
Código: [Seleccionar]
ss -lntp | grep post
Y por favor muéstrame lo que te devuelve luego del segundo comando.

Saludos!
K A I L

Me sumo a lo que dice @KAIL, recuerda que metasploit requiere tener el servicio de postgreSQL en ejecución.
Nivel 77 TERCER OJO