sqlmapproject/sqlmap — pull request #1053 by flsf (2014-12-19 02:17:57+00:00)
Title: fix --smoke-test errors

[10:15:18] [INFO] complete: 163/764 (21%) **********************************************************************
File "/**********/sqlmap/lib/core/common.py", line 1567, in lib.core.common.safeStringFormat
Failed example:
safeStringFormat('foobar%d%s', ('1', 2))
Expected:
u'foobar12'
Got:
'foobar%d%s'
**********************************************************************
1 items had failures:
1 of 1 in lib.core.common.safeStringFormat
***Test Failed*** 1 failures.
[10:15:19] [INFO] complete: 635/764 (83%) **********************************************************************
File "/*********/sqlmap/tamper/unmagicquotes.py", line 28, in tamper.unmagicquotes.tamper
Failed example:
tamper("1' AND 1=1")
Expected:
'1%bf%27 AND 1=1-- '
Got:
'1%bf%27 AND 1=1'
**********************************************************************
1 items had failures:
1 of 1 in tamper.unmagicquotes.tamper
***Test Failed*** 1 failures.
[10:15:19] [ERROR] smoke test final result: FAILED