diff --git a/lib/core/common.py b/lib/core/common.py index e50c57d60..33ad7e5d4 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -2640,7 +2640,7 @@ def extractErrorMessage(page): """ Returns reported error message from page if it founds one - >>> extractErrorMessage(u'
Only a test page
') + >>> getText(extractErrorMessage(u'Only a test page
') ) 'oci_parse() [function.oci-parse]: ORA-01756: quoted string not properly terminated' >>> extractErrorMessage('Warning: This is only a dummy foobar test') is None True diff --git a/lib/core/settings.py b/lib/core/settings.py index 631185551..aada5b9dd 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (