Metasploit mailing list archives

Re: mysql_enum and mysql_sql error (patches)


From: Amin <amin () zitune ch>
Date: Thu, 07 Jan 2010 14:21:40 +0100

'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


Current thread: