Skip to content

Commit

Permalink
Put back previous wp behavior, may challenge that later
Browse files Browse the repository at this point in the history
  • Loading branch information
devl00p committed Jul 14, 2024
1 parent 6d939e3 commit 721be28
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions wapitiCore/attack/cms/mod_wp_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ async def detect_plugin(self, url):
[version]
)
await self.add_info(
finding_class=SoftwareVersionDisclosureFinding,
finding_class=SoftwareNameDisclosureFinding,
request=request,
info=json.dumps(plugin_detected),
response=response
Expand Down Expand Up @@ -192,7 +192,7 @@ async def detect_theme(self, url):
[version]
)
await self.add_info(
finding_class=SoftwareVersionDisclosureFinding,
finding_class=SoftwareNameDisclosureFinding,
request=request,
info=json.dumps(theme_detected),
response=response
Expand Down
2 changes: 1 addition & 1 deletion wapitiCore/attack/mod_wp_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ async def detect_theme(self, url):
[""]
)
await self.add_info(
finding_class=SoftwareVersionDisclosureFinding,
finding_class=SoftwareNameDisclosureFinding,
request=request,
info=json.dumps(theme_detected),
response=response
Expand Down
2 changes: 1 addition & 1 deletion wapitiCore/definitions/ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ def wstg_code(self) -> List[str]:
class SslVulnerabilityFinding(SslInformationFinding):
@property
def type(self) -> str:
return "vulnerability"
return "vulnerability"

0 comments on commit 721be28

Please sign in to comment.