Metasploit mailing list archives

Re: how to see error messages


From: Joshua Smith <lazydj98 () gmail com>
Date: Thu, 28 Jun 2012 09:07:40 -0500

To just check syntax run ruby -c file.rb. 
If u have msf specific errors, an error and stack trace will be thrown when u load or run the module depending on if 
it's syntax or logic. You can also run 'irb' in console or tools/msf_irb (iirc) to get an irb shell with the msf 
components loaded so you can test things out (I'm a big fan of whatever.public_methods.sort). The framework instance is 
held in the variable 'framework'. 

HTH

-Josh

On Jun 28, 2012, at 4:03, Kate Schneier <kw8emdjcs () hotmail com> wrote:


Hi guys,

what do I have to do to see ruby error messages (e.g. syntax errors in my own modules)?
"setg LogLevel" etc. does not seem to help.

Thanks!
K.                         
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: