diff --git a/wapitiCore/attack/mod_upload.py b/wapitiCore/attack/mod_upload.py index 248e6dba2..165dcad5f 100644 --- a/wapitiCore/attack/mod_upload.py +++ b/wapitiCore/attack/mod_upload.py @@ -143,7 +143,7 @@ async def attack(self, request: Request, response: Optional[Response] = None): log_red("---") log_red( Messages.MSG_PARAM_INJECT, - str(UnrestrictedUploadFinding), + UnrestrictedUploadFinding.name(), mutated_request.path, parameter.display_name ) @@ -176,7 +176,7 @@ async def attack(self, request: Request, response: Optional[Response] = None): log_red("---") log_red( Messages.MSG_PARAM_INJECT, - str(UnrestrictedUploadFinding), + UnrestrictedUploadFinding.name(), mutated_request.path, parameter.display_name )