0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

picoCTF 2019 writeup droids1

0
Last updated at Posted at 2025-12-14

droids1 (Reverse Engineering)

Find the pass, get the flag. Check out this file.

添付ファイル
・one.apk

今度は、passを見つければ良いらしい。
one.apkをandroid studioのエミュレータで開く。
image.png

ブルートフォースをせずにpasswordをここに入力すれば、フラグが得られそうだ。
apktoolでone.apkをデコンパイルする。

$ apktool d one.apk
I: Using Apktool 2.7.0-dirty on one.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/colza/.local/share/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...

出力されたファイルの中にpassという文字列が入っているものを探すと、strings.xmlにpasswordという文字列が見つかる。

<string name="password">opossum</string>

エミュレータで開いているアプリにopossumと入力してボタンを押す。
image.png

フラグが得られた。

picoCTF{pining.for.the.fjords}

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?