Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cb2ca4 commit ea49fa2Copy full SHA for ea49fa2
1 file changed
lib/core/option.py
@@ -12,6 +12,7 @@
12
import os
13
import re
14
import socket
15
+import string
16
import sys
17
import threading
18
import urllib2
@@ -1382,7 +1383,12 @@ class _(unicode): pass
1382
1383
paths.SQLMAP_OUTPUT_PATH = conf.oDir
1384
1385
if conf.string:
- conf.string = conf.string.decode("unicode_escape")
1386
+ try:
1387
+ conf.string = conf.string.decode("unicode_escape")
1388
+ except:
1389
+ charset = string.whitespace.replace(" ", "")
1390
+ for _ in charset:
1391
+ conf.string = conf.string.replace(_.encode("string_escape"), _)
1392
1393
if conf.getAll:
1394
map(lambda x: conf.__setitem__(x, True), WIZARD.ALL)
0 commit comments