Metasploit mailing list archives

running a mysql query and getting the error


From: Robin Wood <robin () digininja org>
Date: Fri, 18 Jan 2013 22:10:28 +0000

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?

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


Current thread: