Re: [sqlmap-users] sqlmap --os-shell doesn't work on 64-bit PostgreSQL
Brought to you by:
inquisb
From: Bernardo D. A. G. <ber...@gm...> - 2009-07-29 11:27:56
|
Hi Sven, On Wed, Jul 29, 2009 at 11:50, Sven Klemm<sv...@c3...> wrote: > ... > the sqmlmap sys_eval function for PostgreSQL does not work on 64-bit > PostgreSQL because it's 32-bit. There should probably be different > payloads for 32 bit and 64-bit. I'm seeing the following error in the > database logs: > 2009-07-29 12:40:55 CEST ERROR: could not load library > "/tmp/libsqlmapudfqrwmq.so": /tmp/libsqlmapudfqrwmq.so: wrong ELF > class: ELFCLASS32 Yes, the shared libraries, both .so and .dll should be compiled respectively with GCC and Visual C++ on a 64-bit system to work there too. Unfortunately I've not access to any 64-bit system so you and everyone else is welcome to contribute with a pre-compiled 64-bit version of the three .so (MySQL, PostgreSQL 8.2 and PostgreSQL 8.3). and three .dll (MySQL, PostgreSQL 8.2 and PostgreSQL 8.3). The source code is available under the extra/ folder on the SVN repository and in case you need help in compiling them, just get back to me privately; it's not always trivial on Windows. Cheers, -- Bernardo Damele A. G. E-mail / Jabber: bernardo.damele (at) gmail.com Mobile: +447788962949 (UK 07788962949) PGP Key ID: 0x05F5A30F |