Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled exception (#f1d3e199) #4258

Closed
sqlmapreporter opened this issue Jul 5, 2020 · 1 comment
Closed

Unhandled exception (#f1d3e199) #4258

sqlmapreporter opened this issue Jul 5, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@sqlmapreporter
Copy link

@sqlmapreporter sqlmapreporter commented Jul 5, 2020

Running version: 1.4.5.28#dev
Python version: 2.7.18
Operating system: Windows-2012ServerR2-6.3.9600
Command line: sqlmap.py --output-dir=output --url=**************************************************************** --crawl=1 --threads=10 --tamper=space2comment.py --retries=0 --timeout=5 --dbms=mysql,mssql,sqlite --technique=EU --random-agent --is-dba --exclude-sysdbs --answers=*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
Technique: None
Back-end DBMS: None
Traceback (most recent call last):
  File "sqlmap.py", line 215, in main
    start()
  File "lib/core/decorators.py", line 75, in _
    result = f(*args, **kwargs)
  File "lib/controller/controller.py", line 433, in start
    if not checkConnection(suppressOutput=conf.forms) or not checkString() or not checkRegexp():
  File "lib/controller/checks.py", line 1525, in checkConnection
    Request.queryPage(content=True, noteResponseTime=False)
  File "lib/core/decorators.py", line 75, in _
    result = f(*args, **kwargs)
  File "lib/request/connect.py", line 1357, 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 831, in getPage
    processResponse(page, responseHeaders, code, status)
  File "lib/request/basic.py", line 384, in processResponse
    parseResponse(page, responseHeaders if kb.processResponseCounter < PARSE_HEADERS_LIMIT else None, status)
  File "lib/request/basic.py", line 151, in parseResponse
    headersParser(headers)
  File "lib/parse/headers.py", line 37, in headersParser
    parseXmlFile(xmlfile, handler)
  File "lib/core/common.py", line 2293, in parseXmlFile
    parse(stream, handler)
  File "/Python27/lib/xml/sax/__init__.py", line 30, in parse
    parser = make_parser()
  File "/Python27/lib/xml/sax/__init__.py", line 93, in make_parser
    raise SAXReaderNotAvailable("No parsers found", None)
SAXReaderNotAvailable: No parsers found
@stamparm
Copy link
Member

@stamparm stamparm commented Jul 7, 2020

https://bugs.python.org/issue14839

"Your Python is missing pyexpat.so module, which is built only when expat library has been found. Check build log of Python to see why pyexpat.so is not available. (Maybe expat headers are not installed.)"

@stamparm stamparm self-assigned this Jul 7, 2020
@stamparm stamparm added the support label Jul 7, 2020
stamparm added a commit that referenced this issue Jul 7, 2020
@stamparm stamparm added this to the 1.5 milestone Jul 7, 2020
@stamparm stamparm closed this Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.