web service finder: gitea
This commit is contained in:
parent
4844a927a8
commit
7cd75f1022
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user