Re: [sqlmap-users] Bug with -d
Brought to you by:
inquisb
From: Bernardo D. A. G. <ber...@gm...> - 2010-06-25 13:23:34
|
Hi David, On Thu, Jun 24, 2010 at 21:28, David Guimaraes <sk...@gm...> wrote: > ... > [17:20:09] [WARNING] information_schema not available, back-end DBMS > is MySQL < 5. database names will be fetched from 'mysql' database > [17:20:09] [INFO] fetching database names > available databases [5]: > [*] % > [*] e > [*] s > [*] t > ... svn update. Run with -v 5 and please forward me the full standard output. > ... > Another thing I noticed is that using the --read-file option: > > $ ./sqlmap.py -d "mysql://admin:admin@xxx:3306/dauerdb" --read-file > 'c:\windows\system32\a.txt' > > sqlmap/0.9-dev - automatic SQL injection and database takeover tool > http://sqlmap.sourceforge.net > > [*] starting at: 17:18:33 > > [17:18:33] [INFO] using '/home/skys/sqlmap-dev/output/xxx/session' as > session file > [17:18:33] [INFO] connection to mysql server xxx:3306 established > [17:18:33] [INFO] testing MySQL > [17:18:33] [INFO] confirming MySQL > [17:18:33] [INFO] the back-end DBMS is MySQL > back-end DBMS: MySQL < 5.0.0 > > [17:18:33] [INFO] fingerprinting the back-end DBMS operating system > [17:18:33] [INFO] the back-end DBMS operating system is Windows > [17:18:33] [INFO] fetching file: 'c:/windows/system32/a.txt' > > [17:18:34] [ERROR] unhandled exception in sqlmap/0.9-dev, please copy > the command line and the following text and send by e-mail to > sql...@li.... The developer will fix it as soon > as possible: > sqlmap version: 0.9-dev > Python version: 2.5.2 > Operating system: posix > Traceback (most recent call last): > File "./sqlmap.py", line 89, in main > start() > File "/home/skys/sqlmap-dev/lib/controller/controller.py", line 99, in start > action() > File "/home/skys/sqlmap-dev/lib/controller/action.py", line 137, in action > conf.dumper.rFile(conf.rFile, conf.dbmsHandler.readFile(conf.rFile)) > File "/home/skys/sqlmap-dev/plugins/generic/filesystem.py", line > 288, in readFile > fileContent = self.stackedReadFile(rFile) > File "/home/skys/sqlmap-dev/plugins/dbms/mysql/filesystem.py", line > 69, in stackedReadFile > if not length.isdigit() or not len(length) or length in ( "0", "1" ): > AttributeError: 'NoneType' object has no attribute 'isdigit' svn update. The traceback is now handled. Thanks for reporting bugs. -- Bernardo Damele A. G. E-mail / Jabber: bernardo.damele (at) gmail.com Mobile: +447788962949 (UK 07788962949) PGP Key ID: 0x05F5A30F |