> For the complete documentation index, see [llms.txt](https://docs.cooku222.kr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cooku222.kr/security/mobile/mobilehacking.kr/projectapp.md).

# ProjectApp

모바일 공부를 할 수 있는 워게임 추천을 받았다.

{% embed url="<https://mobilehacking.kr/>" %}

그냥 맨 위에 보이는 ProjectApp부터 풀어주었다.&#x20;

항상 jadx로 apk 파일을 열어보게 되면 MainActivity 파일부터 열어본다.

<figure><img src="https://blog.kakaocdn.net/dna/VPdTX/dJMcagw5col/AAAAAAAAAAAAAAAAAAAAAAc6YoYTAHOSPW5SD_OpfwnNbngUeeyxQhliLJcPi3dO/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&#x26;expires=1782831599&#x26;allow_ip=&#x26;allow_referer=&#x26;signature=PNWuWvkxwwDrpmjvn6oLTe6nGsc%3D" alt=""><figcaption></figcaption></figure>

checkSerial() 함수는 decodeSecret의 값이 serialEditText 값과 같은지 확인하고 맞으면 Correct! 값을 알림으로 띄워주고 아니면 Incorrect!를 띄워준다.

<figure><img src="https://blog.kakaocdn.net/dna/bnCj6Z/dJMcahvZrAd/AAAAAAAAAAAAAAAAAAAAAJ5uCdiSWsNE4nAKhRUP20acEe5ol_S8xQuT0mGGtN3F/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&#x26;expires=1782831599&#x26;allow_ip=&#x26;allow_referer=&#x26;signature=dPXQ0jALO0kz07ArEeyRU3wK3S4%3D" alt=""><figcaption></figcaption></figure>

raw/secret.txt 파일의 string 문을 base64로 디코딩 한 값을 받고 있다.&#x20;

<br>

<figure><img src="https://blog.kakaocdn.net/dna/bSsF8o/dJMcagcMtu5/AAAAAAAAAAAAAAAAAAAAAD8W_y-SLIdvRDCUJ2RWS_K_aXgrN9aQzKNYHWKx9kje/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&#x26;expires=1782831599&#x26;allow_ip=&#x26;allow_referer=&#x26;signature=rJG6Cy8d%2B0ob1lsZSXhiUAqPqw0%3D" alt=""><figcaption></figcaption></figure>

<br>

해당 시크릿 파일로 접속한다.&#x20;

<figure><img src="https://blog.kakaocdn.net/dna/bhC8N4/dJMcaawRMqo/AAAAAAAAAAAAAAAAAAAAABMraIiGN1e1b2gSLF6zHC4SpCITzelMiqemJllw5iSc/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&#x26;expires=1782831599&#x26;allow_ip=&#x26;allow_referer=&#x26;signature=v0zy3gNTZtoHW8GAaI2MNKq26yA%3D" alt=""><figcaption></figcaption></figure>

Base64 인코딩 같이 생긴 문자열이 있다.&#x20;

<https://www.base64decode.org/>

위의 사이트에서 디코딩을 진행해주거나 파이썬 import base64 라이브러리를 사용해 복호화를 진행해주면 플래그가 나온다.&#x20;


---

# 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://docs.cooku222.kr/security/mobile/mobilehacking.kr/projectapp.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.
