Skip to content

Unhandled exception with the error message: ''AttributeError' object has no attribute 'message''. #1579

@cormacArt

Description

@cormacArt

Here the debug

ver WhatWaf?<|>v2.1.6.3($dev)");

`[23:28:36][DEBUG] currently tampering with script 'modsec'
[PAYLOAD] /!00000<frame src="javascript:alert('XSS');">/
[23:28:36][FATAL] WhatWaf has caught an unhandled exception with the error message: ''AttributeError' object has no attribute 'message''.
[23:28:36][ERROR]

Traceback (most recent call):
File "/home/l/whatwaf/trigger/main.py", line 398, in main
detection_main(
File "/home/l/whatwaf/content/init.py", line 584, in detection_main
found_working_tampers = get_working_tampers(
File "/home/l/whatwaf/content/init.py", line 327, in get_working_tampers
raise e.class("Exception caught: {} ~~> {}".format(e.class, e.message))
'AttributeError' object has no attribute 'message'

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions