Hello,
I received this error using sqlmap. It has been working great on the rest of
the database, it must have encountered something it did not like in this table.
[15:42:32] [ERROR] thread MainThread: unhandled exception in sqlmap/1.0-dev
(r4974), retry your run with the latest development version from the Subversion
repository. If the exception persists, please send by e-mail to
sqlmap-users@lists.sourceforge.net the following text and any information
required to reproduce the bug. The developers will try to reproduce the bug,
fix it accordingly and get back to you.
sqlmap version: 1.0-dev (r4974)
Python version: 2.7.1+
Operating system: posix
Command line: /opt/sqlmap/sqlmap.py --random-agent --threads=5 -u
******************** -u ********************:80/bannerclick.php?adid=34
--technique=U -D ************ --dump
Technique: UNION
Back-end DBMS: MySQL (fingerprinted)
Traceback (most recent call last):
File "/opt/sqlmap/lib/core/threads.py", line 131, in runThreads
threadFunction()
File "/opt/sqlmap/lib/techniques/union/use.py", line 301, in unionThread
output = __oneShotUnionUse(limitedExpr, unpack, True)
File "/opt/sqlmap/lib/techniques/union/use.py", line 73, in __oneShotUnionUse
page, headers = Request.queryPage(payload, content=True, raise404=False)
File "/opt/sqlmap/lib/request/connect.py", line 712, in queryPage
page, headers, code = Connect.getPage(url=uri, get=get, post=post,
cookie=cookie, ua=ua, referer=referer, host=host, silent=silent, method=method,
auxHeaders=auxHeaders, response=response, raise404=raise404,
ignoreTimeout=timeBasedCompare)
File "/opt/sqlmap/lib/request/connect.py", line 311, in getPage
conn = urllib2.urlopen(req)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 429, in error
result = self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/opt/sqlmap/lib/request/redirecthandler.py", line 81, in http_error_302
redurl = urlparse.urljoin(conf.url, redurl)
File "/usr/lib/python2.7/urlparse.py", line 287, in urljoin
return urlunparse((scheme, netloc, '/'.join(segments),
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa9 in position 65:
ordinal not in range(128)
[15:42:33] [CRITICAL] unhandled exception in sqlmap/1.0-dev (r4974), retry your
run with the latest development version from the Subversion repository. If the
exception persists, please send by e-mail to sqlmap-users@lists.sourceforge.net
the following text and any information required to reproduce the bug. The
developers will try to reproduce the bug, fix it accordingly and get back to
you.
sqlmap version: 1.0-dev (r4974)
Python version: 2.7.1+
Operating system: posix
Command line: /opt/sqlmap/sqlmap.py --random-agent --threads=5 -u
******************** -u ********************:80/bannerclick.php?adid=34
--technique=U -D ************ --dump
Technique: UNION
Back-end DBMS: MySQL (fingerprinted)
Traceback (most recent call last):
File "/opt/sqlmap/_sqlmap.py", line 82, in main
start()
File "/opt/sqlmap/lib/controller/controller.py", line 573, in start
action()
File "/opt/sqlmap/lib/controller/action.py", line 109, in action
conf.dbmsHandler.dumpTable()
File "/opt/sqlmap/plugins/generic/enumeration.py", line 1616, in dumpTable
entries = inject.getValue(query, blind=False, dump=True)
File "/opt/sqlmap/lib/request/inject.py", line 417, in getValue
value = __goInband(query, expected, unique, unpack, dump)
File "/opt/sqlmap/lib/request/inject.py", line 364, in __goInband
output = unionUse(expression, unpack=unpack, dump=dump)
File "/opt/sqlmap/lib/techniques/union/use.py", line 344, in unionUse
value = __oneShotUnionUse(expression, unpack)
File "/opt/sqlmap/lib/techniques/union/use.py", line 73, in __oneShotUnionUse
page, headers = Request.queryPage(payload, content=True, raise404=False)
File "/opt/sqlmap/lib/request/connect.py", line 712, in queryPage
page, headers, code = Connect.getPage(url=uri, get=get, post=post,
cookie=cookie, ua=ua, referer=referer, host=host, silent=silent, method=method,
auxHeaders=auxHeaders, response=response, raise404=raise404,
ignoreTimeout=timeBasedCompare)
File "/opt/sqlmap/lib/request/connect.py", line 311, in getPage
conn = urllib2.urlopen(req)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 429, in error
result = self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/opt/sqlmap/lib/request/redirecthandler.py", line 81, in http_error_302
redurl = urlparse.urljoin(conf.url, redurl)
File "/usr/lib/python2.7/urlparse.py", line 287, in urljoin
return urlunparse((scheme, netloc, '/'.join(segments),
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa9 in position 65:
ordinal not in range(128)
[*] shutting down at 15:42:33
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
sqlmap-users mailing list
sqlmap-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlmap-users