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

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

Open
cormacArt opened this issue Nov 29, 2023 · 0 comments

Comments

@cormacArt
Copy link

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'

`

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

1 participant