Unhandled exception (#173aa498) #2333

sqlmapreporter opened this Issue Jan 7, 2017 · 0 comments


None yet

2 participants

sqlmap version:
Python version: 2.7.12
Operating system: nt
Command line: sqlmap.py -u ****************************** --data **************
Technique: None
Back-end DBMS: None
Traceback (most recent call last):
  File "sqlmap.py", line 151, in main
  File "lib/controller/controller.py", line 377, in start
    if not checkConnection(suppressOutput=conf.forms) or not checkString() or not checkRegexp():
  File "lib/controller/checks.py", line 1439, in checkConnection
    page, headers = Request.queryPage(content=True, noteResponseTime=False)
  File "lib/request/connect.py", line 1152, 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 697, in getPage
    processResponse(page, responseHeaders)
  File "lib/request/basic.py", line 366, in processResponse
    conf.parameters[PLACE.POST] = re.sub("(?i)(%s=)[^&]+" % name, r"\g<1>%s" % value, conf.parameters[PLACE.POST])
  File "Python27/lib/re.py", line 155, in sub
    return _compile(pattern, flags).sub(repl, string, count)
  File "Python27/lib/re.py", line 286, in _subx
    template = _compile_repl(template, pattern)
  File "Python27/lib/re.py", line 273, in _compile_repl
    raise error, v # invalid expression
error: missing group name
@stamparm stamparm added a commit that closed this issue Jan 8, 2017
@stamparm stamparm Fixes #2333 9a86365
@stamparm stamparm closed this in 9a86365 Jan 8, 2017
@stamparm stamparm self-assigned this Jan 8, 2017
@stamparm stamparm added this to the 1.2 milestone Jan 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment