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