> For the complete documentation index, see [llms.txt](https://sec88.0x88.online/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sec88.0x88.online/write-ups/hacking-labs/injured-android.md).

# Injured Android

* [ ] Test fo Leaked Secrets with [apkX](https://github.com/cyinnove/apkX)

```
sallam@Mac-mini-Mosaad tools % ./apkx ../apps/InjuredAndroid.apk 
```

<figure><img src="/files/Xh3ehZ98S1v5hTDIT6NE" alt=""><figcaption></figcaption></figure>

* [ ] Test for Janus Bug with [j88nx](https://github.com/h0tak88r/j88nx)

```
sallam@Mac-mini-Mosaad tools % ./j88nx -apk ../apps/InjuredAndroid.apk 
```

<figure><img src="/files/kQkZ7WpH21HDw8nDyeyi" alt=""><figcaption></figcaption></figure>

* [ ] Use Drozer for Information Gathering and and Attack Surface Mapping

```bash
# Enable drozer agent in the emulator
# Starting Session
adb forward tcp:31415 tcp:31415
# start the drozer application in the emulator
drozer console connect
drozer console connect --server <ip>

# List Modes
ls
ls activity

# Retrieving package information 
run app.package.list -f <app name>
run app.package.info -a <package name>

# Identifying the attack surface
run app.package.attacksurface <package name>
```

<figure><img src="/files/Bes8Br6Oy2khJqm5B40L" alt=""><figcaption></figcaption></figure>

* [ ] **XSS**

```
<script>alert('Android');</script>
```

<figure><img src="/files/9VM7ExVbhT1PCKRrg4bA" alt=""><figcaption></figcaption></figure>

* [ ] **Challenge 1:** Login Activity

<figure><img src="/files/EwSuBM9TNJb0HiU9aE2D" alt=""><figcaption></figcaption></figure>

* [ ] **Challenge 2:** exported activity

<figure><img src="/files/PicoSaVlFkcl4Qh08hnM" alt=""><figcaption></figcaption></figure>

```
dz> run app.activity.start --component b3nac.injuredandroid b3nac.injuredandroid.b25lActivity
Attempting to run shell module
```

* [ ] **Challenge 3**: Resopurce

<figure><img src="/files/qshYK70EHYmiDP6CngdF" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Fv5wSjF9UDVluIGrwa7a" alt=""><figcaption></figcaption></figure>

* [ ] **Challenge 4**: Decoder

<figure><img src="/files/TnhOpLlMlcXUDkjDpGlW" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/MO3LDPNJQ6wlieQCoMR1" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/2tCeamXbSNytXM7srsVb" alt=""><figcaption><p>Take this and decode it</p></figcaption></figure>

```
echo 'NF9vdmVyZG9uZV9vbWVsZXRz' | base64 -d
```

* [ ] **Challenge 5**: Exploit Exported Broadcast Receiver

```
# in drozer
run app.broadcast.info -a b3nac.injuredandroid -i
run app.broadcast.send --component b3nac.injuredandroid b3nac.injandroid.TestBroadcastReceiver --extra string url hacked
```

<figure><img src="/files/cjE73LyAsdWjLNNPoDKH" alt=""><figcaption></figcaption></figure>

* [ ] **Challenge 6:**
*


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sec88.0x88.online/write-ups/hacking-labs/injured-android.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
