# GCP - Composer Enum

{{#include ../../../banners/hacktricks-training.md}}

## Osnovne informacije

**Google Cloud Composer** je potpuno upravljana **usluga orkestracije radnih tokova** zasnovana na **Apache Airflow**. Omogućava vam da kreirate, zakazujete i pratite pipeline-ove koji se protežu preko oblaka i lokalnih data centara. Sa GCP Composer-om, možete lako integrisati svoje radne tokove sa drugim Google Cloud uslugama, olakšavajući efikasne zadatke integracije i analize podataka. Ova usluga je dizajnirana da pojednostavi složenost upravljanja radnim tokovima podataka zasnovanim na oblaku, čineći je vrednim alatom za inženjere podataka i programere koji se bave obradom podataka velikih razmera.

### Enumeration
```bash
# Get envs info
gcloud composer environments list --locations <loc>
gcloud composer environments describe --location <loc> <environment>

# Get list of dags
gcloud composer environments storage dags list --environment <environment> --location <loc>
# Download dags code
mkdir /tmp/dags
gcloud composer environments storage dags export --environment <environment> --location <loc> --destination /tmp/dags

# List Data from composer
gcloud composer environments storage data list --environment <environment> --location <loc>
# Download data
mkdir /tmp/data
gcloud composer environments storage data export --environment <environment> --location <loc> --destination /tmp/data

# List Plugins from composer
gcloud composer environments storage plugins list --environment <environment> --location <loc>
# Download plugins
mkdir /tmp/plugins
gcloud composer environments storage data export --environment <environment> --location <loc> --destination /tmp/plugins
```
### Privesc

Na sledećoj stranici možete proveriti kako da **zloupotrebite dozvole kompozitora za eskalaciju privilegija**:

{{#ref}}
../gcp-privilege-escalation/gcp-composer-privesc.md
{{#endref}}

{{#include ../../../banners/hacktricks-training.md}}
