create dbvis_add_db_admin.rb

Dbvisulaizer offers a command line functionality to execute SQL pre-configured databases (With GUI).
The remote database can be accessed from the command line without the need to authenticate.
The module abuses this functionality to create an administrator in the database if DB user rights allow it.
This kind of exception handling is not recommended because it ignores a lot of problems, which is not a good coding practice. If you want to handle file permission issues, then you should check for that specific behavior instead. Also, printing errors on msfconsole means they will not be logged in framework.log, and that can make debugging or bug reporting difficult if not examined right away.