diff --git a/karton_sqlmap/karton_sqlmap.py b/karton_sqlmap/karton_sqlmap.py index 3f3e590..e63da04 100644 --- a/karton_sqlmap/karton_sqlmap.py +++ b/karton_sqlmap/karton_sqlmap.py @@ -302,10 +302,7 @@ def run(self, current_task: Task) -> None: new_url = new_url.split("#")[0] - if any( - new_url.split("?")[0].lower().endswith(extension) - for extension in STATIC_EXTENSIONS - ): + if any(new_url.split("?")[0].lower().endswith(extension) for extension in STATIC_EXTENSIONS): # Let's not inject image/style paths continue