Foro de elhacker.net

Seguridad Informática => Bugs y Exploits => Mensaje iniciado por: andrexpunk en 7 Enero 2013, 21:57 pm



Título: Problema con msfgui
Publicado por: andrexpunk en 7 Enero 2013, 21:57 pm
La cosa es que me sale msfrpcd died with exit evalue 1. Tengo el backtrack 5.
También me da problemas msfconsole. Quisiera saber una solución.


Título: Re: Problema con msfgui
Publicado por: jackgris en 8 Enero 2013, 13:31 pm
Deberías ser mas especifico, que tipo de problema es? cual es el log de errores? como lo intentas ejecutar?


Título: Re: Problema con msfgui
Publicado por: andrexpunk en 8 Enero 2013, 15:53 pm
Esto es lo que aparece en la consola:

root@bt:~# msfgui
Jan 08, 2013 3:49:34 PM org.jdesktop.application.SessionStorage restoreTree
WARNING: No saved state for javax.swing.JTable[sessionsTable,0,0,874x0,alignmentX=0.0,alignmentY=0.0,border=,flags=251658568,maximumSize=,minimumSize=,preferredSize=,autoCreateColumnsFromModel=true,autoResizeMode=AUTO_RESIZE_SUBSEQUENT_COLUMNS,cellSelectionEnabled=false,editingColumn=-1,editingRow=-1,gridColor=javax.swing.plaf.ColorUIResource[r=122,g=138,b=153],preferredViewportSize=java.awt.Dimension[width=450,height=400],rowHeight=16,rowMargin=1,rowSelectionAllowed=true,selectionBackground=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],selectionForeground=sun.swing.PrintColorUIResource[r=51,g=51,b=51],showHorizontalLines=true,showVerticalLines=true]
Jan 08, 2013 3:50:04 PM org.jdesktop.application.Task failed
SEVERE: msfgui.RpcConnection$2@7a2840 failed: msfgui.MsfException: msfrpcd died
msfgui.MsfException: msfrpcd died
        at msfgui.RpcConnection$2.doInBackground(RpcConnection.java:285)
        at msfgui.RpcConnection$2.doInBackground(RpcConnection.java:245)
        at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)


Título: Re: Problema con msfgui
Publicado por: ameise_1987 en 9 Enero 2013, 07:30 am
https://github.com/rapid7/metasploit-framework/blob/master/external/source/gui/msfguijava/src/msfgui/RpcConnection.java


Código
  1. try{ //unfortunately this is the only direct way to check if process has terminated
  2. int exitval = proc.exitValue();
  3. setMessage("msfrpcd died with exit value "+exitval);
  4. throw new MsfException("msfrpcd died");
  5. } //Nope. We're good

//unfortunately this is the only direct way to check if process has terminated

debes checkear si msfrpcd esta corriendo antes de ejecutarlo!.

saluos.


Título: Re: Problema con msfgui
Publicado por: andrexpunk en 19 Enero 2013, 22:20 pm
esto es lo que aparece al iniciarse el backtrack
FATAL:  bogus data in lock file "postmaster.pid":""
/pot/metasploit/postqresql/scripts/ctl.sh: postgresql could not be started