Metasploit mailing list archives

Re: mysql_enum and mysql_sql error (patches)


From: Carlos Perez <carlos_perez () darkoperator com>
Date: Thu, 7 Jan 2010 10:47:58 -0400

Thanks for the fixes I will apply the fixes and update the svn as soon as I can

Sent from my Mobile Phone

On Jan 7, 2010, at 9:21 AM, Amin <amin () zitune ch> wrote:

'localhost' unix-socket problem can be fixed with:
bt msf # diff lib/rbmysql/protocol.rb{,.fix}
190c190
<             socket ||= ENV["MYSQL_UNIX_PORT"] || MYSQL_UNIX_PORT
---
           socket = ENV["MYSQL_UNIX_PORT"] || MYSQL_UNIX_PORT

count (mysql_enum) problem with:
bt msf # diff modules/auxiliary/admin/mysql/mysql_enum.rb{,.fix}
84c84
<        if res.count > 0
---
       if res.size > 0
97c97
<            if res.count > 0
---
           if res.size > 0
106c106
<        if res.count > 0
---
       if res.size > 0
115c115
<        if res.count > 0
---
       if res.size > 0
123c123
<        if res.count > 0
---
       if res.size > 0
131c131
<        if res.count > 0
---
       if res.size > 0
139c139
<        if res.count > 0
---
       if res.size > 0
147c147
<        if res.count > 0
---
       if res.size > 0
155c155
<        if res.count > 0
---
       if res.size > 0
170c170
<        if res.count > 0
---
       if res.size > 0
181c181
<        if res.count > 0
---
       if res.size > 0
191c191
<        if res.count > 0
---
       if res.size > 0
201c201
<        if res.count > 0
---
       if res.size > 0



Regards
Amin
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: