Re: [sqlmap-users] Exception when fetching banner on PostgreSQL
Brought to you by:
inquisb
From: Bernardo D. A. G. <ber...@gm...> - 2009-07-29 10:45:21
|
Fixed and commited. Thanks for reporting. On Wed, Jul 29, 2009 at 10:24, Sven Klemm<sv...@c3...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I'm getting an exception when running the following command: > > ./sqlmap.py -u 'http://10.2.0.100/pg.php?user=sven' -b > > The backend database is PostgreSQL 8.3.7 and I'm running sqlmap from SVN. > > Here is the backtrace: > > sqlmap version: 0.7 > Python version: 2.5.4 > Operating system: linux2 > Traceback (most recent call last): > File "./sqlmap.py", line 84, in main > start() > File "/home/sven/diplom/sqlmap/lib/controller/controller.py", line > 263, in start > action() > File "/home/sven/diplom/sqlmap/lib/controller/action.py", line 49, > in action > conf.dbmsHandler = setHandler() > File "/home/sven/diplom/sqlmap/lib/controller/handler.py", line 67, > in setHandler > if dbmsHandler.checkDbms(): > File "/home/sven/diplom/sqlmap/plugins/dbms/postgresql.py", line > 203, in checkDbms > self.getBanner() > File "/home/sven/diplom/sqlmap/plugins/generic/enumeration.py", line > 130, in getBanner > setOs() > File "/home/sven/diplom/sqlmap/lib/core/session.py", line 191, in setOs > infoMsg += " Service Pack %d" % kb.osSP > TypeError: int argument required > > Cheers, > Sven > > - -- > Sven Klemm > http://cthulhu.c3d2.de/~sven/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkpwFWoACgkQevlgTHEIT4YQuQCfW6nT0qnvAb1eubNQ8SvXLhlz > O/0AnRa5TO9aATy9hnhpt6Y8Lw4T7fDd > =ErDL > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > sqlmap-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlmap-users > -- Bernardo Damele A. G. E-mail / Jabber: bernardo.damele (at) gmail.com Mobile: +447788962949 (UK 07788962949) PGP Key ID: 0x05F5A30F |