Translated ['.github/pull_request_template.md', 'src/pentesting-cloud/az

This commit is contained in:
Translator
2024-12-31 18:57:14 +00:00
parent 7770a50092
commit 77a009d308
244 changed files with 8632 additions and 11470 deletions

View File

@@ -2,18 +2,17 @@
{{#include ../../../banners/hacktricks-training.md}}
## Basic Information
## Grundlegende Informationen
[From the docs:](https://docs.digitalocean.com/glossary/app-platform/) App Platform is a Platform-as-a-Service (PaaS) offering that allows developers to **publish code directly to DigitalOcean** servers without worrying about the underlying infrastructure.
[Aus den Dokumenten:](https://docs.digitalocean.com/glossary/app-platform/) App Platform ist ein Platform-as-a-Service (PaaS) Angebot, das Entwicklern ermöglicht, **Code direkt auf DigitalOcean** Servern zu veröffentlichen, ohne sich um die zugrunde liegende Infrastruktur kümmern zu müssen.
You can run code directly from **github**, **gitlab**, **docker hub**, **DO container registry** (or a sample app).
Sie können Code direkt von **github**, **gitlab**, **docker hub**, **DO container registry** (oder einer Beispielanwendung) ausführen.
When defining an **env var** you can set it as **encrypted**. The only way to **retreive** its value is executing **commands** inside the host runnig the app.
Beim Definieren einer **env var** können Sie sie als **verschlüsselt** festlegen. Der einzige Weg, ihren Wert zu **erhalten**, besteht darin, **Befehle** innerhalb des Hosts auszuführen, der die App ausführt.
An **App URL** looks like this [https://dolphin-app-2tofz.ondigitalocean.app](https://dolphin-app-2tofz.ondigitalocean.app)
Eine **App-URL** sieht so aus: [https://dolphin-app-2tofz.ondigitalocean.app](https://dolphin-app-2tofz.ondigitalocean.app)
### Enumeration
```bash
doctl apps list # You should get URLs here
doctl apps spec get <app-id> # Get yaml (including env vars, might be encrypted)
@@ -21,18 +20,13 @@ doctl apps logs <app-id> # Get HTTP logs
doctl apps list-alerts <app-id> # Get alerts
doctl apps list-regions # Get available regions and the default one
```
> [!CAUTION]
> **Apps doesn't have metadata endpoint**
> **Apps haben keinen Metadaten-Endpunkt**
### RCE & Encrypted env vars
### RCE & Verschlüsselte Umgebungsvariablen
To execute code directly in the container executing the App you will need **access to the console** and go to **`https://cloud.digitalocean.com/apps/<app-id>/console/<app-name>`**.
Um Code direkt im Container auszuführen, der die App ausführt, benötigen Sie **Zugriff auf die Konsole** und gehen zu **`https://cloud.digitalocean.com/apps/<app-id>/console/<app-name>`**.
That will give you a **shell**, and just executing **`env`** you will be able to see **all the env vars** (including the ones defined as **encrypted**).
Das gibt Ihnen eine **Shell**, und durch die Ausführung von **`env`** können Sie **alle Umgebungsvariablen** sehen (einschließlich der als **verschlüsselt** definierten).
{{#include ../../../banners/hacktricks-training.md}}