Hi Ignacio,
On Mon, Feb 2, 2009 at 03:46, Ignacio Hernández <nac...@gm...> wrote:
> cmd-line: ./sqlmap.py --update
>
> sqlmap version: 0.6.4-rc5
> Python version: 2.5.2
> Operating system: linux2
> Traceback (most recent call last):
> File "./sqlmap.py", line 78, in main
> init(cmdLineOptions)
> File "/home/nacho/sqlmap/lib/core/option.py", line 770, in init
> update()
> File "/home/nacho/sqlmap/lib/core/update.py", line 339, in update
> __updateSqlmap()
> File "/home/nacho/sqlmap/lib/core/update.py", line 230, in __updateSqlmap
> sqlmapNewestVersion, _ = Request.getPage(url=SQLMAP_VERSION_URL,
> direct=True)
> File "/home/nacho/sqlmap/lib/request/connect.py", line 210, in getPage
> return Connect.__getPageProxy(get=get, post=post, cookie=cookie, ua=ua,
> direct=direct, multipart=multipart)
> File "/home/nacho/sqlmap/lib/request/connect.py", line 55, in
> __getPageProxy
> return Connect.getPage(**kwargs)
> File "/home/nacho/sqlmap/lib/request/connect.py", line 68, in getPage
> url = kwargs.get('url', conf.url).replace(" ", "%20")
> AttributeError: 'NoneType' object has no attribute 'replace'
It looks like you modify the lib/core/settings.py file. Try to run an
svn update on your sqlmap working copy.
However, since you're running the development version from svn
repository, it makes no sense to update it with the --update option
since it updates from sourceforge file list so as a matter of facts a
downgrade to the stable release 0.6.3.
> Hi Bernardo,
> i was using sqlmap and suddenly it stopped working. I tryed to update it and
> i got this error. When i try to scan an url it shows this message almost
> inmediately without waiting the timeout (about this in rc5 you say it has
> been incresed to 30 seconds but in my case it is still in 15 seconds by
> default)
> ...
I double-checked and the timeout is set to 30 seconds by default,
anyway you can overwrite it with the --timeout option.
Cheers,
--
Bernardo Damele A. G.
E-mail / Jabber: bernardo.damele (at) gmail.com
Mobiles: +39-3493821385 (IT), +44-(0)7788962949 (UK)
PGP Key ID: 0x05F5A30F
|