Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
PiranhaSa committed Dec 3, 2024
1 parent dcccb7b commit b0f9185
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions agent/exploits/cve_2024_11667.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from urllib import parse as urlparse

from requests import exceptions as requests_exceptions
from sqlalchemy import false

from agent import definitions
from agent import exploits_registry
Expand Down Expand Up @@ -60,7 +59,7 @@ class CVE202411667Exploit(webexploit.WebExploit):

def check(self, target: definitions.Target) -> list[definitions.Vulnerability]:
"""Check for vulnerability in the target."""
vulnerabilities = []
vulnerabilities: list[definitions.Vulnerability] = []
target_endpoint = urlparse.urljoin(target.origin, self.check_request.path)

try:
Expand Down

0 comments on commit b0f9185

Please sign in to comment.