Thread: [sqlmap-users] unhandled exception in sqlmap/0.7
Brought to you by:
inquisb
From: Windom E. <win...@ma...> - 2009-10-07 13:52:39
|
While doing cookie parameter injection for "--dump-all" option... Error log: there were multiple injection points, please select the one to use to go ahead: [0] place: User-Agent, parameter: User-Agent, type: numeric (default) [1] place: Cookie, parameter: sessiondata, type: numeric [q] Quit > 1 [17:35:50] [INFO] testing for parenthesis on injectable parameter [17:36:51] [INFO] the injectable parameter requires 3 parenthesis [17:36:52] [INFO] testing MySQL [17:37:12] [WARNING] the back-end DMBS is not MySQL [17:37:12] [INFO] testing Oracle [17:37:32] [WARNING] the back-end DMBS is not Oracle [17:37:32] [INFO] testing PostgreSQL [17:37:54] [WARNING] the back-end DMBS is not PostgreSQL [17:37:54] [INFO] testing Microsoft SQL Server [17:38:17] [INFO] confirming Microsoft SQL Server [17:38:40] [INFO] the back-end DBMS is Microsoft SQL Server web application technology: Apache 2.2.11, PHP 5.2.9 back-end DBMS: Microsoft SQL Server 2000 [17:38:40] [INFO] fetching tables [17:38:40] [INFO] fetching database names [17:38:40] [INFO] fetching number of databases [17:38:40] [INFO] retrieved: [17:38:40] [ERROR] unhandled exception in sqlmap/0. 7, please copy the command line and the following text and send by e-mail to sql map...@li.... The developer will fix it as soon as possible: sqlmap version: 0.7 Python version: 2.6.1 Operating system: win32 Traceback (most recent call last): File "sqlmap.py", line 84, in main File "lib\controller\controller.pyc", line 263, in start File "lib\controller\action.pyc", line 120, in action File "plugins\generic\enumeration.pyc", line 1081, in dumpAll File "plugins\dbms\mssqlserver.pyc", line 337, in getTables File "plugins\generic\enumeration.pyc", line 661, in getDbs File "lib\request\inject.pyc", line 378, in getValue File "lib\request\inject.pyc", line 308, in __goInferenceProxy File "lib\request\inject.pyc", line 99, in __goInferenceFields File "lib\request\inject.pyc", line 58, in __goInference File "lib\techniques\blind\inference.pyc", line 232, in bisection File "lib\techniques\blind\inference.pyc", line 105, in getChar TypeError: not all arguments converted during string formatting |
From: David A. <dav...@gm...> - 2010-02-06 18:57:39
|
Hello, I was executing: *david@Xlaptop:~$ sqlmap -u " http://domain/app/section/section1.php?parameter=1010" -b* sqlmap version: 0.7 Python version: 2.6.2 Operating system: linux2 Traceback (most recent call last): File "/usr/bin/sqlmap", line 84, in main start() File "/usr/share/sqlmap/lib/controller/controller.py", line 263, in start action() File "/usr/share/sqlmap/lib/controller/action.py", line 49, in action conf.dbmsHandler = setHandler() File "/usr/share/sqlmap/lib/controller/handler.py", line 67, in setHandler if dbmsHandler.checkDbms(): File "/usr/share/sqlmap/plugins/dbms/postgresql.py", line 203, in checkDbms self.getBanner() File "/usr/share/sqlmap/plugins/generic/enumeration.py", line 130, in getBanner setOs() File "/usr/share/sqlmap/lib/core/session.py", line 191, in setOs infoMsg += " Service Pack %d" % kb.osSP TypeError: %d format: a number is required, not NoneType |
From: Miroslav S. <mir...@gm...> - 2010-02-06 19:24:11
|
Hi. Thank you for the report. This issue should be fixed in the current development version. Please get the latest version by checking it out from the repository ( svn checkout https://svn.sqlmap.org/sqlmap/trunk/sqlmap/ ). Kind regards, Miroslav Stampar On 6.2.2010 19:57, David Alvarez wrote: > Hello, > I was executing: > > /david@Xlaptop:~$ sqlmap -u > "http://domain/app/section/section1.php?parameter=1010" -b/ > > > sqlmap version: 0.7 > Python version: 2.6.2 > Operating system: linux2 > Traceback (most recent call last): > File "/usr/bin/sqlmap", line 84, in main > start() > File "/usr/share/sqlmap/lib/controller/controller.py", line 263, in > start > action() > File "/usr/share/sqlmap/lib/controller/action.py", line 49, in action > conf.dbmsHandler = setHandler() > File "/usr/share/sqlmap/lib/controller/handler.py", line 67, in > setHandler > if dbmsHandler.checkDbms(): > File "/usr/share/sqlmap/plugins/dbms/postgresql.py", line 203, in > checkDbms > self.getBanner() > File "/usr/share/sqlmap/plugins/generic/enumeration.py", line 130, > in getBanner > setOs() > File "/usr/share/sqlmap/lib/core/session.py", line 191, in setOs > infoMsg += " Service Pack %d" % kb.osSP > TypeError: %d format: a number is required, not NoneType > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > > > _______________________________________________ > sqlmap-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlmap-users > -- Miroslav Stampar E-mail / Jabber: miroslav.stampar (at) gmail.com Mobile: +385921010204 (HR 0921010204) PGP Key ID: 0xB5397B1B |
From: Bernardo D. A. G. <ber...@gm...> - 2009-11-01 11:53:01
|
Hi Windom, Can you please give it a try to latest sqlmap version from svn repository? In case you get the same traceback, please get back to me. Cheers, Bernardo On Wed, Oct 7, 2009 at 13:52, Windom Earle <win...@ma...> wrote: > While doing cookie parameter injection for "--dump-all" option... > > Error log: > > there were multiple injection points, please select the one to use to go ahead: > [0] place: User-Agent, parameter: User-Agent, type: numeric (default) > [1] place: Cookie, parameter: sessiondata, type: numeric > [q] Quit >> 1 > [17:35:50] [INFO] testing for parenthesis on injectable parameter > [17:36:51] [INFO] the injectable parameter requires 3 parenthesis > [17:36:52] [INFO] testing MySQL > [17:37:12] [WARNING] the back-end DMBS is not MySQL > [17:37:12] [INFO] testing Oracle > [17:37:32] [WARNING] the back-end DMBS is not Oracle > [17:37:32] [INFO] testing PostgreSQL > [17:37:54] [WARNING] the back-end DMBS is not PostgreSQL > [17:37:54] [INFO] testing Microsoft SQL Server > [17:38:17] [INFO] confirming Microsoft SQL Server > [17:38:40] [INFO] the back-end DBMS is Microsoft SQL Server > > web application technology: Apache 2.2.11, PHP 5.2.9 > back-end DBMS: Microsoft SQL Server 2000 > > [17:38:40] [INFO] fetching tables > [17:38:40] [INFO] fetching database names > [17:38:40] [INFO] fetching number of databases > [17:38:40] [INFO] retrieved: [17:38:40] [ERROR] unhandled exception in sqlmap/0. > 7, please copy the command line and the following text and send by e-mail to sql > map...@li.... The developer will fix it as soon as possible: > sqlmap version: 0.7 > Python version: 2.6.1 > Operating system: win32 > Traceback (most recent call last): > File "sqlmap.py", line 84, in main > File "lib\controller\controller.pyc", line 263, in start > File "lib\controller\action.pyc", line 120, in action > File "plugins\generic\enumeration.pyc", line 1081, in dumpAll > File "plugins\dbms\mssqlserver.pyc", line 337, in getTables > File "plugins\generic\enumeration.pyc", line 661, in getDbs > File "lib\request\inject.pyc", line 378, in getValue > File "lib\request\inject.pyc", line 308, in __goInferenceProxy > File "lib\request\inject.pyc", line 99, in __goInferenceFields > File "lib\request\inject.pyc", line 58, in __goInference > File "lib\techniques\blind\inference.pyc", line 232, in bisection > File "lib\techniques\blind\inference.pyc", line 105, in getChar > TypeError: not all arguments converted during string formatting -- Bernardo Damele A. G. E-mail / Jabber: bernardo.damele (at) gmail.com Mobile: +447788962949 (UK 07788962949) PGP Key ID: 0x05F5A30F |