Ekultek / WhatWaf

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

'AttributeError' object has no attribute 'message' #1575

Closed reztdev closed 1 year ago

reztdev commented 1 year ago

[16:39:01][FATAL] WhatWaf has caught an unhandled exception with the error message: ''AttributeError' object has no attribute 'message''.

Ekultek commented 1 year ago

Do you have the full traceback?

reztdev commented 1 year ago

[10:07:02][WARN] failure found in response content [PAYLOAD] ;CAT1_GALLERY_1 UNION ALL SELECT (SELECT CAST(CHAR(114)+CHAR(51)+CHAR(100)+CHAR(109)+CHAR(48)+CHAR(118)+CHAR(51)+CHAR(95)+CHAR(104)+CHAR(118)+CHAR(106)+CHAR(95)+CHAR(105)+CHAR(110)+CHAR(106)+CHAR(101)+CHAR(99)+CHAR(116)+CHAR(105)+CHAR(111)+CHAR(110) AS NVARCHAR(4000))),NULL-- [10:07:02][WARN] failure found in response content [10:07:02][DEBUG] currently tampering with script 'modsec' [PAYLOAD] /!00000<frame src=\"javascript:alert('XSS');\">/ [10:07:02][FATAL] WhatWaf has caught an unhandled exception with the error message: ''AttributeError' object has no attribute 'message''. [10:07:02][ERROR]

Traceback (most recent call): File "/home/unknown/tools/WhatWaf/trigger/main.py", line 398, in main detection_main( File "/home/unknown/tools/WhatWaf/content/init.py", line 584, in detection_main found_working_tampers = get_working_tampers( File "/home/unknown/tools/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'

[10:07:02][PROMPT] would you like to create an anonymized issue for the unhandled exception[y/N]: y [10:07:10][ERROR] whatwaf is not the newest version, in order to create an issue, please update whatwaf

Running: Manjaro XFCE Command: python whatwaf -u ************** --traffic traffic.out --verbose Python version: 3.10.8

Ekultek commented 1 year ago

[10:07:10][ERROR] whatwaf is not the newest version, in order to create an issue, please update whatwaf

reztdev commented 1 year ago

I have updated but the error is still the same

prakhar625 commented 11 months ago

same issue with me, just cloned the repo for the first time and it still says that it's not the latest version.

getting same error too, when it moves from firewall detection to bypass detection