From 4bd16b79d041dcd4998ef5432df32f42ffc2f65c Mon Sep 17 00:00:00 2001 From: liquidsec Date: Fri, 18 Oct 2024 11:12:00 -0400 Subject: [PATCH] fixing bugs with generic_ssrf --- bbot/modules/generic_ssrf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbot/modules/generic_ssrf.py b/bbot/modules/generic_ssrf.py index 0aa61a3e5..c6bd38544 100644 --- a/bbot/modules/generic_ssrf.py +++ b/bbot/modules/generic_ssrf.py @@ -137,10 +137,10 @@ async def test(self, event): post_body = f""" - + ]> &{rand_entity};""" - test_url = f"{event.parsed_url.scheme}://{event.parsed_url.netloc}/" + test_url = event.parsed_url.geturl() r = await self.parent_module.helpers.curl( url=test_url, method="POST", raw_body=post_body, headers={"Content-type": "application/xml"} )