Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unhandled exception (#f17d6e79) #2847

@sqlmapreporter

Description

@sqlmapreporter
sqlmap version: 1.1.11.39#dev
Python version: 2.7.14
Operating system: nt
Command line: sqlmap.py --url=******************************************************************************************* --threads=10 --retries=0 --timeout=5 --dbms=MYSQL --technique=EUS --random-agent --is-dba --exclude-sysdbs --current-db --answers=remove=Y,follow=N,optimize=Y,want=Y,provided=1,which=a,thread=10,dictionary-based=n,problems=Y,problem=N,redirect=n,retrieved=n,WAF=N,check=n,want to include all tests for=n,optimize value(s) for DBMS delay responses=n
Technique: UNION
Back-end DBMS: MySQL (identified)
Traceback (most recent call last):
  File "sqlmap.py", line 156, in main
    start()
  File "lib/controller/controller.py", line 547, in start
    injection = checkSqlInjection(place, parameter, value)
  File "lib/controller/checks.py", line 662, in checkSqlInjection
    reqPayload, vector = unionTest(comment, place, parameter, value, prefix, suffix)
  File "lib/techniques/union/test.py", line 316, in unionTest
    validPayload, vector = _unionTestByCharBruteforce(comment, place, parameter, value, prefix, suffix)
  File "lib/techniques/union/test.py", line 275, in _unionTestByCharBruteforce
    count = _findUnionCharCount(comment, place, parameter, value, prefix, suffix, PAYLOAD.WHERE.ORIGINAL if isNullValue(kb.uChar) else PAYLOAD.WHERE.NEGATIVE)
  File "lib/techniques/union/test.py", line 108, in _findUnionCharCount
    page, headers, code = Request.queryPage(payload, place=place, content=True, raise404=False)
  File "lib/request/connect.py", line 1233, in queryPage
    page, headers, code = Connect.getPage(url=uri, get=get, post=post, method=method, cookie=cookie, ua=ua, referer=referer, host=host, silent=silent, auxHeaders=auxHeaders, response=response, raise404=raise404, ignoreTimeout=timeBasedCompare)
  File "lib/request/connect.py", line 497, in getPage
    page = decodePage(page, responseHeaders.get(HTTP_HEADER.CONTENT_ENCODING), responseHeaders.get(HTTP_HEADER.CONTENT_TYPE))
  File "lib/request/basic.py", line 300, in decodePage
    metaCharset = checkCharEncoding(extractRegexResult(META_CHARSET_REGEX, page))
  File "lib/core/decorators.py", line 23, in _
    cache[key] = f(*args, **kwargs)
  File "lib/request/basic.py", line 154, in checkCharEncoding
    encoding = encoding.lower()
AttributeError: 'float' object has no attribute 'lower'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions