From 31f0849e1c1a108b7c21249290549f20cf954c1f Mon Sep 17 00:00:00 2001 From: Roman Hergenreder Date: Thu, 1 Oct 2020 23:30:28 +0200 Subject: [PATCH] Joomla Version Finder --- web_service_finder.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/web_service_finder.py b/web_service_finder.py index 9c4ef7b..8970a93 100755 --- a/web_service_finder.py +++ b/web_service_finder.py @@ -97,6 +97,16 @@ class WebServiceFinder: self.analyseRobots() self.analyseSitemap() self.analyseChangelog() + self.checkJoomlaVersion() + + def checkJoomlaVersion(self): + url = "/administrator/manifests/files/joomla.xml" + res = self.do_get(url) + if res.status_code == 200: + soup = BeautifulSoup(res.text, "lxml") + extension = soup.find("extension") + if extension and extension.has_attr("version"): + print("[+] Found Joomla version:", extension["version"]) def analyseHeaders(self, res): phpFound = False