Ekultek / WhatWaf

Detect and bypass web application firewalls and protection systems
Other
2.55k stars 434 forks source link

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

Open cormacArt opened 7 months ago

cormacArt commented 7 months ago

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'

`