Skip to content

Unhandled exception (#a6ef4242) #2684

Closed

Description

@sqlmapreporter
sqlmap version: 1.1.9.4#dev
Python version: 2.7.10
Operating system: posix
Command line: sqlmap.py -u ******************************************** --os-shell -v 1
Technique: UNION
Back-end DBMS: MySQL (fingerprinted)
Traceback (most recent call last):
  File "sqlmap.py", line 155, in main
    start()
  File "lib/controller/controller.py", line 653, in start
    action()
  File "lib/controller/action.py", line 154, in action
    conf.dbmsHandler.osShell()
  File "plugins/generic/takeover.py", line 80, in osShell
    self.initEnv(web=web)
  File "lib/takeover/abstraction.py", line 186, in initEnv
    self.webInit()
  File "lib/takeover/web.py", line 293, in webInit
    self._webFileInject(stagerContent, stagerName, directory)
  File "lib/takeover/web.py", line 147, in _webFileInject
    query += getSQLSnippet(DBMS.MYSQL, "write_file_limit", OUTFILE=outFile, HEXSTRING=hexencode(uplQuery))
  File "lib/core/convert.py", line 121, in hexencode
    return unicodeencode(value, conf.charset or UNICODE_ENCODING).encode("hex")
NameError: global name 'conf' is not defined

Activity

  1. self-assigned this
    on Sep 5, 2017
  2. added this to the 1.2 milestone on Sep 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions