From 20bcd675943c6c38d13b1470f0fea64224812bf7 Mon Sep 17 00:00:00 2001 From: devloop Date: Wed, 17 Jul 2024 21:16:34 +0200 Subject: [PATCH] Styling --- wapitiCore/attack/mod_upload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 )