Metasploit mailing list archives

Re: running a mysql query and getting the error


From: Robin Wood <robin () digininja org>
Date: Sat, 19 Jan 2013 00:10:34 +0000

On Jan 18, 2013 10:10 PM, "Robin Wood" <robin () digininja org> wrote:

I'm using the mysql_query method from lib/msf/core/exploit/mysql.rb
but that method captures and handles errors. It returns nil if it hits
an error but the sql I'm running also returns nil so checking that
doesn't help.

What is the best way to run a mysql query through the framework but
get access to any error messages which are thrown?

If there isn't a way to do this then if I were to submit a pull request
with a couple of new functions which didn't have error handling built in,
would it likely the accepted?

Robin

Robin
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: