Skip to content

Commit

Permalink
Fix class name
Browse files Browse the repository at this point in the history
  • Loading branch information
ostorlab committed Nov 17, 2023
1 parent 06555a9 commit 9a969e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agent/exploits/cve_2021_22941.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _encode_multipart_formdata(files: dict[str, str]) -> tuple[str, str]:
return body, content_type


class CVE2022294Exploit(definitions.Exploit):
class CVE20222941Exploit(definitions.Exploit):
"""
CVE-2021-22941: Improper Access Control in Citrix ShareFile storage zones controller
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/exploits_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def testCVE_2021_22941_whenVulnerable_reportFinding(
) -> None:
"""Unit test for CVE-2021-22941, case when target is vulnerable"""
target = definitions.Target(scheme="https", host="75.162.65.52", port=443)
exploit_instance = cve_2021_22941.CVE2022294Exploit()
exploit_instance = cve_2021_22941.CVE20222941Exploit()
requests_mock.post(re.compile("https://75.162.65.52"))
requests_mock.get(
re.compile("https://75.162.65.52"),
Expand Down

0 comments on commit 9a969e1

Please sign in to comment.