Ekultek / WhatWaf

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

WhatWaf has caught an unhandled exception with the error message: ''AttributeError' object has no attribute 'message'' #1577

Closed StasyaPion closed 10 months ago

StasyaPion commented 10 months ago

Version of WhatWaf: python3 whatwaf --update [18:53:47][INFO] currently running on: linux [18:53:47][INFO] update in progress From https://github.com/Ekultek/WhatWaf

Command

./whatwaf -u http://testphp.vulnweb.com -F --json --force-file OR python3 whatwaf -u http://testphp.vulnweb.com -F --json --force-file

Error

[18:56:42][FATAL] WhatWaf has caught an unhandled exception with the error message: ''AttributeError' object has no attribute 'message''. [18:56:42][ERROR]

Traceback (most recent call):

File "...PycharmProjects/WhatWaf/trigger/main.py", line 398, in main detection_main(

File ".../PycharmProjects/WhatWaf/content/init.py", line 584, in detection_main found_working_tampers = get_working_tampers( ^^^^^^^^^^^^^^^^^^^^ File ".../PycharmProjects/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'

crudooper commented 10 months ago

I have the same error

Ekultek commented 10 months ago

if you find a fix feel free to send a pr.