mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
Fix for an Issue #206
This commit is contained in:
parent
1cb2ca4195
commit
ea49fa2db2
|
@ -12,6 +12,7 @@ import logging
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import socket
|
import socket
|
||||||
|
import string
|
||||||
import sys
|
import sys
|
||||||
import threading
|
import threading
|
||||||
import urllib2
|
import urllib2
|
||||||
|
@ -1382,7 +1383,12 @@ def __cleanupOptions():
|
||||||
paths.SQLMAP_OUTPUT_PATH = conf.oDir
|
paths.SQLMAP_OUTPUT_PATH = conf.oDir
|
||||||
|
|
||||||
if conf.string:
|
if conf.string:
|
||||||
conf.string = conf.string.decode("unicode_escape")
|
try:
|
||||||
|
conf.string = conf.string.decode("unicode_escape")
|
||||||
|
except:
|
||||||
|
charset = string.whitespace.replace(" ", "")
|
||||||
|
for _ in charset:
|
||||||
|
conf.string = conf.string.replace(_.encode("string_escape"), _)
|
||||||
|
|
||||||
if conf.getAll:
|
if conf.getAll:
|
||||||
map(lambda x: conf.__setitem__(x, True), WIZARD.ALL)
|
map(lambda x: conf.__setitem__(x, True), WIZARD.ALL)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user