web service finder: gitea
This commit is contained in:
@@ -162,6 +162,11 @@ class WebServiceFinder:
|
|||||||
banner = meta_generator["content"].strip()
|
banner = meta_generator["content"].strip()
|
||||||
print("[+] Meta Generator:", banner)
|
print("[+] Meta Generator:", banner)
|
||||||
|
|
||||||
|
body = soup.find("body")
|
||||||
|
if body:
|
||||||
|
gitea_pattern = re.compile(r"Gitea Version: ([0-9\.]*)")
|
||||||
|
self.printMatch("Gitea", gitea_pattern.search(body.text))
|
||||||
|
|
||||||
footer = soup.find("footer")
|
footer = soup.find("footer")
|
||||||
if footer:
|
if footer:
|
||||||
content = footer.text.strip()
|
content = footer.text.strip()
|
||||||
|
|||||||
Reference in New Issue
Block a user