Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Auto-Generated] Plugin grep/Application_Configuration_Management@OWASP-CM-004.py failed for target https://some.target.com #245

Closed
iw7qmxz5xl opened this issue Jun 13, 2014 · 1 comment

Comments

@iw7qmxz5xl
Copy link

OWTF Bug Report

____________________________________________________________________________________________________

OWTF BUG: Please report the sanitised information below to help make this better. Thank you.
****************************************************************************************************

Message: Plugin grep/Application_Configuration_Management@OWASP-CM-004.py failed for target https://some.target.com

Command: owtf.py https://some.target.com/ -g web --tor :::: -o OWASP-IG-005,OWASP-CM-003,OWASP-CM-006,OWTF-WSP-001,OWASP-IG-004,OWASP-CM-004,OWTF-WGP-002,OWTF-WGP-002,OWASP-AT-004,OWASP-IG-003,OWASP-CM-003,OWASP-AT-009,OWASP-IG-002,OWASP-IG-001,OWASP-CM-007,OWASP-DV-005,OWASP-DS-001,OWTF-WSP-001,OWASP-IG-004,OWTF-WGP-002,OWASP-CM-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-005,OWASP-CM-006,OWASP-IG-001,OWASP-CM-007,OWASP-IG-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-002,OWASP-IG-001,OWASP-IG-004

Error Trace:
Traceback (most recent call last):

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 274, in ProcessPlugin
    output = self.RunPlugin(PluginDir, Plugin)

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 251, in RunPlugin
    PluginOutput = self.GetModule("", Name, Path+"/").run(self.Core, Plugin)

  File "/home/baws/tools/owtf/plugins/web/grep/Application_Configuration_Management@OWASP-CM-004.py", line 40, in run
    Content = Core.PluginHelper.FindMultilineResponseMatchesForRegexps(Core.Config.GetAsList([ 'RESPONSE_REGEXP_FOR_HTML_COMMENTS','RESPONSE_REGEXP_FOR_CSS_JS_COMMENTS','RESPONSE_REGEXP_FOR_JS_COMMENTS', 'RESPONSE_REGEXP_FOR_PHP_SOURCE', 'RESPONSE_REGEXP_FOR_ASP_SOURCE', 'RESPONSE_REGEXP_FOR_SQL_INJECTION' ]), PluginInfo)

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 654, in FindMultilineResponseMatchesForRegexps
    Result += self.FindMultilineResponseMatchesForRegexp( ResponseRegexp, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 648, in FindMultilineResponseMatchesForRegexp
    return self.DrawResponseMatchesTables( self.Core.DB.Transaction.GrepMultiLineResponseRegexp( ResponseRegexp ), PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 633, in DrawResponseMatchesTables
    "Unique_as_HTMLPath": "../" + self.DumpFile( 'unique' + WipeBadCharsForFilename( SearchName ) + '.html', "<h3>Unique Matches</h3>" + UniqueTable.Render(), PluginInfo, 'Unique as HTML' )[0],

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 458, in DumpFile
    save_path = self.Core.PluginHandler.DumpPluginFile( Filename, Contents, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 165, in DumpPluginFile
    return self.Core.DumpFile(Filename, Contents, SaveDir)

  File "/home/baws/tools/owtf/framework/core.py", line 122, in DumpFile
    file.write(Contents)

UnicodeEncodeError: 'ascii' codec can't encode character u'\xc6' in position 5993: ordinal not in range(128)


____________________________________________________________________________________________________



____________________________________________________________________________________________________

OWTF BUG: Please report the sanitised information below to help make this better. Thank you.
****************************************************************************************************

Message: Plugin grep/Application_Configuration_Management@OWASP-CM-004.py failed for target https://some.target.com

Command: owtf.py https://some.target.com/ -g web --tor :::: -o OWASP-IG-005,OWASP-CM-003,OWASP-CM-006,OWTF-WSP-001,OWASP-IG-004,OWASP-CM-004,OWTF-WGP-002,OWTF-WGP-002,OWASP-AT-004,OWASP-IG-003,OWASP-CM-003,OWASP-AT-009,OWASP-IG-002,OWASP-IG-001,OWASP-CM-007,OWASP-DV-005,OWASP-DS-001,OWTF-WSP-001,OWASP-IG-004,OWTF-WGP-002,OWASP-CM-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-005,OWASP-CM-006,OWASP-IG-001,OWASP-CM-007,OWASP-IG-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-002,OWASP-IG-001,OWASP-IG-004

Error Trace:
Traceback (most recent call last):

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 274, in ProcessPlugin
    output = self.RunPlugin(PluginDir, Plugin)

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 251, in RunPlugin
    PluginOutput = self.GetModule("", Name, Path+"/").run(self.Core, Plugin)

  File "/home/baws/tools/owtf/plugins/web/grep/Application_Configuration_Management@OWASP-CM-004.py", line 40, in run
    Content = Core.PluginHelper.FindMultilineResponseMatchesForRegexps(Core.Config.GetAsList([ 'RESPONSE_REGEXP_FOR_HTML_COMMENTS','RESPONSE_REGEXP_FOR_CSS_JS_COMMENTS','RESPONSE_REGEXP_FOR_JS_COMMENTS', 'RESPONSE_REGEXP_FOR_PHP_SOURCE', 'RESPONSE_REGEXP_FOR_ASP_SOURCE', 'RESPONSE_REGEXP_FOR_SQL_INJECTION' ]), PluginInfo)

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 654, in FindMultilineResponseMatchesForRegexps
    Result += self.FindMultilineResponseMatchesForRegexp( ResponseRegexp, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 648, in FindMultilineResponseMatchesForRegexp
    return self.DrawResponseMatchesTables( self.Core.DB.Transaction.GrepMultiLineResponseRegexp( ResponseRegexp ), PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 633, in DrawResponseMatchesTables
    "Unique_as_HTMLPath": "../" + self.DumpFile( 'unique' + WipeBadCharsForFilename( SearchName ) + '.html', "<h3>Unique Matches</h3>" + UniqueTable.Render(), PluginInfo, 'Unique as HTML' )[0],

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 458, in DumpFile
    save_path = self.Core.PluginHandler.DumpPluginFile( Filename, Contents, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 165, in DumpPluginFile
    return self.Core.DumpFile(Filename, Contents, SaveDir)

  File "/home/baws/tools/owtf/framework/core.py", line 122, in DumpFile
    file.write(Contents)

UnicodeEncodeError: 'ascii' codec can't encode character u'\xc6' in position 5993: ordinal not in range(128)


____________________________________________________________________________________________________



____________________________________________________________________________________________________

OWTF BUG: Please report the sanitised information below to help make this better. Thank you.
****************************************************************************************************

Message: Plugin grep/Application_Configuration_Management@OWASP-CM-004.py failed for target https://some.target.com

Command: owtf.py https://some.target.com/ -g web --tor :::: -o OWASP-IG-005,OWASP-CM-003,OWASP-CM-006,OWTF-WSP-001,OWASP-IG-004,OWASP-CM-004,OWTF-WGP-002,OWTF-WGP-002,OWASP-AT-004,OWASP-IG-003,OWASP-CM-003,OWASP-AT-009,OWASP-IG-002,OWASP-IG-001,OWASP-CM-007,OWASP-DV-005,OWASP-DS-001,OWTF-WSP-001,OWASP-IG-004,OWTF-WGP-002,OWASP-CM-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-005,OWASP-CM-006,OWASP-IG-001,OWASP-CM-007,OWASP-IG-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-002,OWASP-IG-001,OWASP-IG-004

Error Trace:
Traceback (most recent call last):

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 274, in ProcessPlugin
    output = self.RunPlugin(PluginDir, Plugin)

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 251, in RunPlugin
    PluginOutput = self.GetModule("", Name, Path+"/").run(self.Core, Plugin)

  File "/home/baws/tools/owtf/plugins/web/grep/Application_Configuration_Management@OWASP-CM-004.py", line 40, in run
    Content = Core.PluginHelper.FindMultilineResponseMatchesForRegexps(Core.Config.GetAsList([ 'RESPONSE_REGEXP_FOR_HTML_COMMENTS','RESPONSE_REGEXP_FOR_CSS_JS_COMMENTS','RESPONSE_REGEXP_FOR_JS_COMMENTS', 'RESPONSE_REGEXP_FOR_PHP_SOURCE', 'RESPONSE_REGEXP_FOR_ASP_SOURCE', 'RESPONSE_REGEXP_FOR_SQL_INJECTION' ]), PluginInfo)

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 654, in FindMultilineResponseMatchesForRegexps
    Result += self.FindMultilineResponseMatchesForRegexp( ResponseRegexp, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 648, in FindMultilineResponseMatchesForRegexp
    return self.DrawResponseMatchesTables( self.Core.DB.Transaction.GrepMultiLineResponseRegexp( ResponseRegexp ), PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 633, in DrawResponseMatchesTables
    "Unique_as_HTMLPath": "../" + self.DumpFile( 'unique' + WipeBadCharsForFilename( SearchName ) + '.html', "<h3>Unique Matches</h3>" + UniqueTable.Render(), PluginInfo, 'Unique as HTML' )[0],

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 458, in DumpFile
    save_path = self.Core.PluginHandler.DumpPluginFile( Filename, Contents, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 165, in DumpPluginFile
    return self.Core.DumpFile(Filename, Contents, SaveDir)

  File "/home/baws/tools/owtf/framework/core.py", line 122, in DumpFile
    file.write(Contents)

UnicodeEncodeError: 'ascii' codec can't encode character u'\xc6' in position 5993: ordinal not in range(128)


____________________________________________________________________________________________________



____________________________________________________________________________________________________

OWTF BUG: Please report the sanitised information below to help make this better. Thank you.
****************************************************************************************************

Message: Plugin grep/Application_Configuration_Management@OWASP-CM-004.py failed for target https://some.target.com

Command: owtf.py https://some.target.com/ -g web --tor :::: -o OWASP-IG-005,OWASP-CM-003,OWASP-CM-006,OWTF-WSP-001,OWASP-IG-004,OWASP-CM-004,OWTF-WGP-002,OWTF-WGP-002,OWASP-AT-004,OWASP-IG-003,OWASP-CM-003,OWASP-AT-009,OWASP-IG-002,OWASP-IG-001,OWASP-CM-007,OWASP-DV-005,OWASP-DS-001,OWTF-WSP-001,OWASP-IG-004,OWTF-WGP-002,OWASP-CM-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-005,OWASP-CM-006,OWASP-IG-001,OWASP-CM-007,OWASP-IG-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-002,OWASP-IG-001,OWASP-IG-004

Error Trace:
Traceback (most recent call last):

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 274, in ProcessPlugin
    output = self.RunPlugin(PluginDir, Plugin)

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 251, in RunPlugin
    PluginOutput = self.GetModule("", Name, Path+"/").run(self.Core, Plugin)

  File "/home/baws/tools/owtf/plugins/web/grep/Application_Configuration_Management@OWASP-CM-004.py", line 40, in run
    Content = Core.PluginHelper.FindMultilineResponseMatchesForRegexps(Core.Config.GetAsList([ 'RESPONSE_REGEXP_FOR_HTML_COMMENTS','RESPONSE_REGEXP_FOR_CSS_JS_COMMENTS','RESPONSE_REGEXP_FOR_JS_COMMENTS', 'RESPONSE_REGEXP_FOR_PHP_SOURCE', 'RESPONSE_REGEXP_FOR_ASP_SOURCE', 'RESPONSE_REGEXP_FOR_SQL_INJECTION' ]), PluginInfo)

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 654, in FindMultilineResponseMatchesForRegexps
    Result += self.FindMultilineResponseMatchesForRegexp( ResponseRegexp, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 648, in FindMultilineResponseMatchesForRegexp
    return self.DrawResponseMatchesTables( self.Core.DB.Transaction.GrepMultiLineResponseRegexp( ResponseRegexp ), PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 633, in DrawResponseMatchesTables
    "Unique_as_HTMLPath": "../" + self.DumpFile( 'unique' + WipeBadCharsForFilename( SearchName ) + '.html', "<h3>Unique Matches</h3>" + UniqueTable.Render(), PluginInfo, 'Unique as HTML' )[0],

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 458, in DumpFile
    save_path = self.Core.PluginHandler.DumpPluginFile( Filename, Contents, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 165, in DumpPluginFile
    return self.Core.DumpFile(Filename, Contents, SaveDir)

  File "/home/baws/tools/owtf/framework/core.py", line 122, in DumpFile
    file.write(Contents)

UnicodeEncodeError: 'ascii' codec can't encode character u'\xc6' in position 5993: ordinal not in range(128)


____________________________________________________________________________________________________



____________________________________________________________________________________________________

OWTF BUG: Please report the sanitised information below to help make this better. Thank you.
****************************************************************************************************

Message: Plugin grep/Application_Configuration_Management@OWASP-CM-004.py failed for target https://some.target.com

Command: owtf.py https://some.target.com/ -g web --tor :::: -o OWASP-IG-005,OWASP-CM-003,OWASP-CM-006,OWTF-WSP-001,OWASP-IG-004,OWASP-CM-004,OWTF-WGP-002,OWTF-WGP-002,OWASP-AT-004,OWASP-IG-003,OWASP-CM-003,OWASP-AT-009,OWASP-IG-002,OWASP-IG-001,OWASP-CM-007,OWASP-DV-005,OWASP-DS-001,OWTF-WSP-001,OWASP-IG-004,OWTF-WGP-002,OWASP-CM-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-005,OWASP-CM-006,OWASP-IG-001,OWASP-CM-007,OWASP-IG-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-002,OWASP-IG-001,OWASP-IG-004

Error Trace:
Traceback (most recent call last):

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 274, in ProcessPlugin
    output = self.RunPlugin(PluginDir, Plugin)

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 251, in RunPlugin
    PluginOutput = self.GetModule("", Name, Path+"/").run(self.Core, Plugin)

  File "/home/baws/tools/owtf/plugins/web/grep/Application_Configuration_Management@OWASP-CM-004.py", line 40, in run
    Content = Core.PluginHelper.FindMultilineResponseMatchesForRegexps(Core.Config.GetAsList([ 'RESPONSE_REGEXP_FOR_HTML_COMMENTS','RESPONSE_REGEXP_FOR_CSS_JS_COMMENTS','RESPONSE_REGEXP_FOR_JS_COMMENTS', 'RESPONSE_REGEXP_FOR_PHP_SOURCE', 'RESPONSE_REGEXP_FOR_ASP_SOURCE', 'RESPONSE_REGEXP_FOR_SQL_INJECTION' ]), PluginInfo)

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 654, in FindMultilineResponseMatchesForRegexps
    Result += self.FindMultilineResponseMatchesForRegexp( ResponseRegexp, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 648, in FindMultilineResponseMatchesForRegexp
    return self.DrawResponseMatchesTables( self.Core.DB.Transaction.GrepMultiLineResponseRegexp( ResponseRegexp ), PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 633, in DrawResponseMatchesTables
    "Unique_as_HTMLPath": "../" + self.DumpFile( 'unique' + WipeBadCharsForFilename( SearchName ) + '.html', "<h3>Unique Matches</h3>" + UniqueTable.Render(), PluginInfo, 'Unique as HTML' )[0],

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 458, in DumpFile
    save_path = self.Core.PluginHandler.DumpPluginFile( Filename, Contents, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 165, in DumpPluginFile
    return self.Core.DumpFile(Filename, Contents, SaveDir)

  File "/home/baws/tools/owtf/framework/core.py", line 122, in DumpFile
    file.write(Contents)

UnicodeEncodeError: 'ascii' codec can't encode character u'\xc6' in position 5993: ordinal not in range(128)


____________________________________________________________________________________________________



____________________________________________________________________________________________________

OWTF BUG: Please report the sanitised information below to help make this better. Thank you.
****************************************************************************************************

Message: Plugin grep/Application_Configuration_Management@OWASP-CM-004.py failed for target https://some.target.com

Command: owtf.py https://some.target.com/ -g web --tor :::: -o OWASP-IG-005,OWASP-CM-003,OWASP-CM-006,OWTF-WSP-001,OWASP-IG-004,OWASP-CM-004,OWTF-WGP-002,OWTF-WGP-002,OWASP-AT-004,OWASP-IG-003,OWASP-CM-003,OWASP-AT-009,OWASP-IG-002,OWASP-IG-001,OWASP-CM-007,OWASP-DV-005,OWASP-DS-001,OWTF-WSP-001,OWASP-IG-004,OWTF-WGP-002,OWASP-CM-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-005,OWASP-CM-006,OWASP-IG-001,OWASP-CM-007,OWASP-IG-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-002,OWASP-IG-001,OWASP-IG-004

Error Trace:
Traceback (most recent call last):

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 274, in ProcessPlugin
    output = self.RunPlugin(PluginDir, Plugin)

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 251, in RunPlugin
    PluginOutput = self.GetModule("", Name, Path+"/").run(self.Core, Plugin)

  File "/home/baws/tools/owtf/plugins/web/grep/Application_Configuration_Management@OWASP-CM-004.py", line 40, in run
    Content = Core.PluginHelper.FindMultilineResponseMatchesForRegexps(Core.Config.GetAsList([ 'RESPONSE_REGEXP_FOR_HTML_COMMENTS','RESPONSE_REGEXP_FOR_CSS_JS_COMMENTS','RESPONSE_REGEXP_FOR_JS_COMMENTS', 'RESPONSE_REGEXP_FOR_PHP_SOURCE', 'RESPONSE_REGEXP_FOR_ASP_SOURCE', 'RESPONSE_REGEXP_FOR_SQL_INJECTION' ]), PluginInfo)

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 654, in FindMultilineResponseMatchesForRegexps
    Result += self.FindMultilineResponseMatchesForRegexp( ResponseRegexp, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 648, in FindMultilineResponseMatchesForRegexp
    return self.DrawResponseMatchesTables( self.Core.DB.Transaction.GrepMultiLineResponseRegexp( ResponseRegexp ), PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 633, in DrawResponseMatchesTables
    "Unique_as_HTMLPath": "../" + self.DumpFile( 'unique' + WipeBadCharsForFilename( SearchName ) + '.html', "<h3>Unique Matches</h3>" + UniqueTable.Render(), PluginInfo, 'Unique as HTML' )[0],

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 458, in DumpFile
    save_path = self.Core.PluginHandler.DumpPluginFile( Filename, Contents, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 165, in DumpPluginFile
    return self.Core.DumpFile(Filename, Contents, SaveDir)

  File "/home/baws/tools/owtf/framework/core.py", line 122, in DumpFile
    file.write(Contents)

UnicodeEncodeError: 'ascii' codec can't encode character u'\xc6' in position 5993: ordinal not in range(128)


____________________________________________________________________________________________________



____________________________________________________________________________________________________

OWTF BUG: Please report the sanitised information below to help make this better. Thank you.
****************************************************************************************************

Message: Plugin grep/Application_Configuration_Management@OWASP-CM-004.py failed for target https://some.target.com

Command: owtf.py https://some.target.com/ -g web --tor :::: -o OWASP-IG-005,OWASP-CM-003,OWASP-CM-006,OWTF-WSP-001,OWASP-IG-004,OWASP-CM-004,OWTF-WGP-002,OWTF-WGP-002,OWASP-AT-004,OWASP-IG-003,OWASP-CM-003,OWASP-AT-009,OWASP-IG-002,OWASP-IG-001,OWASP-CM-007,OWASP-DV-005,OWASP-DS-001,OWTF-WSP-001,OWASP-IG-004,OWTF-WGP-002,OWASP-CM-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-005,OWASP-CM-006,OWASP-IG-001,OWASP-CM-007,OWASP-IG-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-002,OWASP-IG-001,OWASP-IG-004

Error Trace:
Traceback (most recent call last):

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 274, in ProcessPlugin
    output = self.RunPlugin(PluginDir, Plugin)

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 251, in RunPlugin
    PluginOutput = self.GetModule("", Name, Path+"/").run(self.Core, Plugin)

  File "/home/baws/tools/owtf/plugins/web/grep/Application_Configuration_Management@OWASP-CM-004.py", line 40, in run
    Content = Core.PluginHelper.FindMultilineResponseMatchesForRegexps(Core.Config.GetAsList([ 'RESPONSE_REGEXP_FOR_HTML_COMMENTS','RESPONSE_REGEXP_FOR_CSS_JS_COMMENTS','RESPONSE_REGEXP_FOR_JS_COMMENTS', 'RESPONSE_REGEXP_FOR_PHP_SOURCE', 'RESPONSE_REGEXP_FOR_ASP_SOURCE', 'RESPONSE_REGEXP_FOR_SQL_INJECTION' ]), PluginInfo)

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 654, in FindMultilineResponseMatchesForRegexps
    Result += self.FindMultilineResponseMatchesForRegexp( ResponseRegexp, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 648, in FindMultilineResponseMatchesForRegexp
    return self.DrawResponseMatchesTables( self.Core.DB.Transaction.GrepMultiLineResponseRegexp( ResponseRegexp ), PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 633, in DrawResponseMatchesTables
    "Unique_as_HTMLPath": "../" + self.DumpFile( 'unique' + WipeBadCharsForFilename( SearchName ) + '.html', "<h3>Unique Matches</h3>" + UniqueTable.Render(), PluginInfo, 'Unique as HTML' )[0],

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 458, in DumpFile
    save_path = self.Core.PluginHandler.DumpPluginFile( Filename, Contents, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 165, in DumpPluginFile
    return self.Core.DumpFile(Filename, Contents, SaveDir)

  File "/home/baws/tools/owtf/framework/core.py", line 122, in DumpFile
    file.write(Contents)

UnicodeEncodeError: 'ascii' codec can't encode character u'\xc6' in position 5993: ordinal not in range(128)


____________________________________________________________________________________________________



____________________________________________________________________________________________________

OWTF BUG: Please report the sanitised information below to help make this better. Thank you.
****************************************************************************************************

Message: Plugin grep/Application_Configuration_Management@OWASP-CM-004.py failed for target https://some.target.com

Command: owtf.py https://some.target.com/ -g web --tor :::: -o OWASP-IG-005,OWASP-CM-003,OWASP-CM-006,OWTF-WSP-001,OWASP-IG-004,OWASP-CM-004,OWTF-WGP-002,OWTF-WGP-002,OWASP-AT-004,OWASP-IG-003,OWASP-CM-003,OWASP-AT-009,OWASP-IG-002,OWASP-IG-001,OWASP-CM-007,OWASP-DV-005,OWASP-DS-001,OWTF-WSP-001,OWASP-IG-004,OWTF-WGP-002,OWASP-CM-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-005,OWASP-CM-006,OWASP-IG-001,OWASP-CM-007,OWASP-IG-006,OWASP-DV-005,OWASP-IG-004,OWASP-IG-002,OWASP-IG-001,OWASP-IG-004

Error Trace:
Traceback (most recent call last):

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 274, in ProcessPlugin
    output = self.RunPlugin(PluginDir, Plugin)

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 251, in RunPlugin
    PluginOutput = self.GetModule("", Name, Path+"/").run(self.Core, Plugin)

  File "/home/baws/tools/owtf/plugins/web/grep/Application_Configuration_Management@OWASP-CM-004.py", line 40, in run
    Content = Core.PluginHelper.FindMultilineResponseMatchesForRegexps(Core.Config.GetAsList([ 'RESPONSE_REGEXP_FOR_HTML_COMMENTS','RESPONSE_REGEXP_FOR_CSS_JS_COMMENTS','RESPONSE_REGEXP_FOR_JS_COMMENTS', 'RESPONSE_REGEXP_FOR_PHP_SOURCE', 'RESPONSE_REGEXP_FOR_ASP_SOURCE', 'RESPONSE_REGEXP_FOR_SQL_INJECTION' ]), PluginInfo)

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 654, in FindMultilineResponseMatchesForRegexps
    Result += self.FindMultilineResponseMatchesForRegexp( ResponseRegexp, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 648, in FindMultilineResponseMatchesForRegexp
    return self.DrawResponseMatchesTables( self.Core.DB.Transaction.GrepMultiLineResponseRegexp( ResponseRegexp ), PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 633, in DrawResponseMatchesTables
    "Unique_as_HTMLPath": "../" + self.DumpFile( 'unique' + WipeBadCharsForFilename( SearchName ) + '.html', "<h3>Unique Matches</h3>" + UniqueTable.Render(), PluginInfo, 'Unique as HTML' )[0],

  File "/home/baws/tools/owtf/framework/plugin/plugin_helper.py", line 458, in DumpFile
    save_path = self.Core.PluginHandler.DumpPluginFile( Filename, Contents, PluginInfo )

  File "/home/baws/tools/owtf/framework/plugin/plugin_handler.py", line 165, in DumpPluginFile
    return self.Core.DumpFile(Filename, Contents, SaveDir)

  File "/home/baws/tools/owtf/framework/core.py", line 122, in DumpFile
    file.write(Contents)

UnicodeEncodeError: 'ascii' codec can't encode character u'\xc6' in position 5993: ordinal not in range(128)


____________________________________________________________________________________________________

@flabbergastedbd
Copy link
Contributor

Fixed in UI/lions_2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants