> For the complete documentation index, see [llms.txt](https://mobile.mrw0l05zyn.cl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mobile.mrw0l05zyn.cl/android/analisis-dinamico/services.md).

# Services

## Búsqueda de services con exportación habilitada

```sh
# AndroidManifest.xml
## explícitamente
grep "<service" app-decompiled/AndroidManifest.xml | grep "android:exported=\"true\""
## implícitamente
grep "<intent-filter" -B 1 app-decompiled/AndroidManifest.xml | grep "<service" | grep --invert-match "android:exported=\"true\""

# Drozer
run app.service.info -a <app-package-name>
```

## Interacción general con services

```sh
# Android Debug Bridge (adb)
adb shell am startservice <app-package-name>/.<service>
adb shell am startservice -n <app-package-name>/.<service> -e <parameter> "<string-value>"

# Drozer
run app.service.send <app-package-name> <app-package-name>.<service> --msg <what> <arg1> <arg2>
```
