Tags: uut multipart reversing
Rating:
# UUT CTF 2019 - MultiPart
## Challenge
> Find the flag parts and capture the final flag!
We are given an apk file, so we need to decompile it. We can use [jadx](https://github.com/skylot/jadx/) to get the source code, or use an [online tool](http://www.javadecompilers.com/apk).
After a quick examination of the project, inside `PlasmaView.java`, we find:
```java
protected void onDraw(Canvas canvas) {
renderPlasma(this.mBitmap, System.currentTimeMillis() - this.mStartTime);
canvas.drawBitmap(this.mBitmap, 0.0f, 0.0f, null);
invalidate();
this.counter++;
if (this.counter == 100000) {
Log.d("plasma :", "OBQXE5BAGIQGS4ZAHIQHE43UOV3HO6DZPJQWCYTDMRSWMZ3I");
}
}
```
That sure *looks like base64* encoded string, but only uppercase letters. Well, it's not *base64*.
When you find something that smells like *base64*, but it is all caps and some numbers (letters [A-Z] and numbers [2-7]), it's probably **base32** [[1]](https://tools.ietf.org/html/rfc4648#page-8) [[2]](https://en.wikipedia.org/wiki/Base32).
```console
base32 --decode <<< OBQXE5BAGIQGS4ZAHIQHE43UOV3HO6DZPJQWCYTDMRSWMZ3I
part 2 is : rstuvwxyzaabcdefgh
```
Awesome! We have got the second part of the flag, and we also know its format: `part N is : xxxxxxxxxx`. Now let's get the rest.
Because we are lazy, we are just going to search for `OBQXE5BA`, *base32 encoded `"part "`*, and see if anything else comes up.
```console
# grep -Rin "OBQXE5BA" ./
./res/layout/activity_main.xml:4: <TextView android:textColor="#00ff5999" android:id="@id/textView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="OBQXE5BAGEQGS4ZAHIQFKVKUINKEM63NMQ2SQYLCMNSGKZTH" />
Binary file ./lib/armeabi-v7a/libplasma.so matches
Binary file ./lib/x86_64/libplasma.so matches
Binary file ./lib/arm64-v8a/libplasma.so matches
Binary file ./lib/x86/libplasma.so matches
./resources/res/layout/activity_main.xml:3: <TextView android:textColor="#00ff5999" android:id="@+id/textView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="OBQXE5BAGEQGS4ZAHIQFKVKUINKEM63NMQ2SQYLCMNSGKZTH"/>
./sources/com/example/plasma/PlasmaView.java:35: Log.d("plasma :", "OBQXE5BAGIQGS4ZAHIQHE43UOV3HO6DZPJQWCYTDMRSWMZ3I");
```
**Nice!** There seems to be more base32 *"part "*. Let's check them out.
First hit matches the string inside a *TextView*:
```xml
<TextView android:textColor="#00ff5999" android:id="@id/textView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="OBQXE5BAGEQGS4ZAHIQFKVKUINKEM63NMQ2SQYLCMNSGKZTH" />
```
After decoding it we get:
```console
base32 --decode <<< OBQXE5BAGEQGS4ZAHIQFKVKUINKEM63NMQ2SQYLCMNSGKZTH
part 1 is : UUTCTF{md5(abcdefg
```
**Grrreat!** Now we've got the first part of the flag!
Our second match is inside `libplasma.so`. So there is something with `OBQXE5BA` inside the compiled libraries _(Shared Objects)_. Let's peek inside these binaries real quick.
```console
# strings ./lib/x86_64/libplasma.so | grep "OBQXE5BA"
! @OBQXE5BAGQQGS4ZAHIQHI5LWO54HS6TBMFVGQ6LUM53GIKL5
```
Decode it once more...
```console
base32 --decode <<< OBQXE5BAGQQGS4ZAHIQHI5LWO54HS6TBMFVGQ6LUM53GIKL5
part 4 is : tuvwxyzaajhytgvd)}
```
***Yatta!*** We've got the 4th part. Only one is missing, the 3rd part. But it does not seem to be in text form. So... *where the hell is it?*
This actually took me some time. But after looking around a little while, I found something that caught my eye inside `./resources/res/drawable-anydpi-v21/ic_uutctf.xml`: a **very** intricate vector drawing.
```xml
<path android:fillColor="#000000" android:pathData="M149.36,371.03Q148.72,371.03 148.34,371.51Q147.96,371.99 147.96,372.82Q147.96,373.64 148.34,374.12Q148.72,374.6 149.36,374.6Q150.01,374.6 150.38,374.12Q150.76,373.64 150.76,372.82Q150.76,371.99 150.38,371.51Q150.01,371.03 149.36,371.03ZM149.36,370.55Q150.28,370.55 150.83,371.17Q151.39,371.78 151.39,372.82Q151.39,373.85 150.83,374.47Q150.28,375.08 149.36,375.08Q148.44,375.08 147.89,374.47Q147.34,373.85 147.34,372.82Q147.34,371.78 147.89,371.17Q148.44,370.55 149.36,370.55ZM153.85,372.91L152.9,372.91L152.9,374.51L153.85,374.51Q154.33,374.51 154.56,374.32Q154.79,374.12 154.79,373.71Q154.79,373.3 154.56,373.11Q154.33,372.91 153.85,372.91ZM153.78,371.11L152.9,371.11L152.9,372.43L153.78,372.43Q154.21,372.43 154.42,372.27Q154.64,372.11 154.64,371.77Q154.64,371.44 154.42,371.28Q154.21,371.11 153.78,371.11ZM152.31,375L152.31,370.63L153.82,370.63Q154.5,370.63 154.87,370.91Q155.23,371.19 155.23,371.71Q155.23,372.11 155.04,372.35Q154.86,372.58 154.49,372.64Q154.93,372.74 155.17,373.03Q155.41,373.33 155.41,373.78Q155.41,374.36 155.02,374.68Q154.62,375 153.88,375L152.31,375ZM158.2,371.03Q157.56,371.03 157.18,371.51Q156.8,371.99 156.8,372.82Q156.8,373.64 157.18,374.12Q157.56,374.6 158.2,374.6Q158.85,374.6 159.22,374.12Q159.6,373.64 159.6,372.82Q159.6,371.99 159.22,371.51Q158.85,371.03 158.2,371.03ZM159.03,374.92L159.81,375.77L159.1,375.77L158.45,375.07Q158.35,375.08 158.3,375.08Q158.25,375.08 158.2,375.08Q157.28,375.08 156.73,374.47Q156.18,373.85 156.18,372.82Q156.18,371.78 156.73,371.17Q157.28,370.55 158.2,370.55Q159.12,370.55 159.67,371.17Q160.22,371.78 160.22,372.82Q160.22,373.58 159.92,374.12Q159.61,374.66 159.03,374.92ZM162.3,372.67L160.94,370.63L161.58,370.63L162.66,372.25L163.75,370.63L164.39,370.63L162.98,372.73L164.48,375L163.85,375L162.62,373.14L161.38,375L160.74,375L162.3,372.67ZM165.26,375L165.26,370.63L168.03,370.63L168.03,371.12L165.85,371.12L165.85,372.42L167.94,372.42L167.94,372.92L165.85,372.92L165.85,374.5L168.08,374.5L168.08,375L165.26,375ZM169.11,372.82L169.11,370.63L171.43,370.63L171.43,371.12L169.65,371.12L169.65,372.2Q169.78,372.15 169.91,372.13Q170.04,372.11 170.17,372.11Q170.9,372.11 171.33,372.51Q171.76,372.91 171.76,373.6Q171.76,374.3 171.32,374.7Q170.88,375.08 170.08,375.08Q169.8,375.08 169.51,375.04Q169.23,374.99 168.93,374.9L168.93,374.3Q169.19,374.45 169.47,374.52Q169.75,374.59 170.07,374.59Q170.57,374.59 170.87,374.32Q171.16,374.05 171.16,373.6Q171.16,373.14 170.87,372.87Q170.57,372.61 170.07,372.61Q169.83,372.61 169.59,372.66Q169.36,372.71 169.11,372.82ZM174.41,372.91L173.46,372.91L173.46,374.51L174.41,374.51Q174.89,374.51 175.12,374.32Q175.35,374.12 175.35,373.71Q175.35,373.3 175.12,373.11Q174.89,372.91 174.41,372.91ZM174.34,371.11L173.46,371.11L173.46,372.43L174.34,372.43Q174.77,372.43 174.98,372.27Q175.2,372.11 175.2,371.77Q175.2,371.44 174.98,371.28Q174.77,371.11 174.34,371.11ZM172.87,375L172.87,370.63L174.38,370.63Q175.06,370.63 175.42,370.91Q175.79,371.19 175.79,371.71Q175.79,372.11 175.6,372.35Q175.42,372.58 175.05,372.64Q175.49,372.74 175.73,373.03Q175.97,373.33 175.97,373.78Q175.97,374.36 175.57,374.68Q175.17,375 174.44,375L172.87,375ZM179.25,373.39L178.45,371.21L177.64,373.39L179.25,373.39ZM176.44,375L178.11,370.63L178.78,370.63L180.45,375L179.84,375L179.44,373.88L177.47,373.88L177.07,375L176.44,375ZM183.97,374.38L183.97,373.2L183,373.2L183,372.71L184.55,372.71L184.55,374.59Q184.21,374.84 183.8,374.96Q183.38,375.08 182.92,375.08Q181.89,375.08 181.31,374.49Q180.73,373.89 180.73,372.82Q180.73,371.75 181.31,371.15Q181.89,370.55 182.92,370.55Q183.34,370.55 183.73,370.65Q184.11,370.76 184.44,370.96L184.44,371.59Q184.11,371.31 183.74,371.17Q183.37,371.03 182.96,371.03Q182.16,371.03 181.76,371.48Q181.36,371.93 181.36,372.82Q181.36,373.7 181.76,374.15Q182.16,374.6 182.96,374.6Q183.28,374.6 183.52,374.55Q183.77,374.49 183.97,374.38ZM185.63,375L185.63,370.63L186.52,370.63L187.63,373.6L188.75,370.63L189.64,370.63L189.64,375L189.06,375L189.06,371.16L187.93,374.16L187.34,374.16L186.21,371.16L186.21,375L185.63,375ZM192.59,371.03Q191.94,371.03 191.56,371.51Q191.18,371.99 191.18,372.82Q191.18,373.64 191.56,374.12Q191.94,374.6 192.59,374.6Q193.23,374.6 193.61,374.12Q193.98,373.64 193.98,372.82Q193.98,371.99 193.61,371.51Q193.23,371.03 192.59,371.03ZM193.42,374.92L194.19,375.77L193.48,375.77L192.83,375.07Q192.74,375.08 192.68,375.08Q192.63,375.08 192.59,375.08Q191.66,375.08 191.11,374.47Q190.56,373.85 190.56,372.82Q190.56,371.78 191.11,371.17Q191.66,370.55 192.59,370.55Q193.51,370.55 194.06,371.17Q194.61,371.78 194.61,372.82Q194.61,373.58 194.3,374.12Q194,374.66 193.42,374.92ZM198.52,374.38L198.52,373.2L197.55,373.2L197.55,372.71L199.1,372.71L199.1,374.59Q198.76,374.84 198.35,374.96Q197.93,375.08 197.46,375.08Q196.44,375.08 195.86,374.49Q195.28,373.89 195.28,372.82Q195.28,371.75 195.86,371.15Q196.44,370.55 197.46,370.55Q197.89,370.55 198.28,370.65Q198.66,370.76 198.99,370.96L198.99,371.59Q198.66,371.31 198.29,371.17Q197.92,371.03 197.51,371.03Q196.71,371.03 196.31,371.48Q195.91,371.93 195.91,372.82Q195.91,373.7 196.31,374.15Q196.71,374.6 197.51,374.6Q197.83,374.6 198.07,374.55Q198.32,374.49 198.52,374.38ZM202.8,370.77L202.8,371.35Q202.47,371.19 202.17,371.11Q201.87,371.03 201.59,371.03Q201.11,371.03 200.84,371.21Q200.58,371.4 200.58,371.75Q200.58,372.04 200.76,372.19Q200.93,372.33 201.42,372.42L201.78,372.5Q202.44,372.62 202.75,372.94Q203.07,373.26 203.07,373.79Q203.07,374.43 202.64,374.76Q202.22,375.08 201.39,375.08Q201.08,375.08 200.73,375.01Q200.38,374.94 200.01,374.81L200.01,374.2Q200.37,374.4 200.71,374.5Q201.06,374.6 201.39,374.6Q201.9,374.6 202.17,374.41Q202.45,374.21 202.45,373.84Q202.45,373.51 202.25,373.33Q202.05,373.15 201.6,373.06L201.24,372.99Q200.58,372.86 200.29,372.58Q199.99,372.3 199.99,371.79Q199.99,371.21 200.4,370.88Q200.81,370.55 201.52,370.55Q201.83,370.55 202.15,370.6Q202.47,370.66 202.8,370.77ZM205.67,373.48L205.67,371.14L204.18,373.48L205.67,373.48ZM203.7,373.4L205.51,370.63L206.26,370.63L206.26,373.48L206.88,373.48L206.88,373.97L206.26,373.97L206.26,375L205.67,375L205.67,373.97L203.7,373.97L203.7,373.4ZM207.56,371.12L207.56,370.63L210.99,370.63L210.99,371.08L208.23,374.5L211.06,374.5L211.06,375L207.49,375L207.49,374.55L210.25,371.12L207.56,371.12ZM214.19,373.39L213.38,371.21L212.58,373.39L214.19,373.39ZM211.38,375L213.05,370.63L213.72,370.63L215.38,375L214.77,375L214.37,373.88L212.4,373.88L212,375L211.38,375ZM216.02,375L216.02,370.63L216.62,370.63L216.62,372.42L218.77,372.42L218.77,370.63L219.36,370.63L219.36,375L218.77,375L218.77,372.92L216.62,372.92L216.62,375L216.02,375ZM220.54,375L220.54,370.63L221.13,370.63L221.13,375L220.54,375ZM224.08,371.03Q223.44,371.03 223.05,371.51Q222.68,371.99 222.68,372.82Q222.68,373.64 223.05,374.12Q223.44,374.6 224.08,374.6Q224.72,374.6 225.1,374.12Q225.48,373.64 225.48,372.82Q225.48,371.99 225.1,371.51Q224.72,371.03 224.08,371.03ZM224.91,374.92L225.69,375.77L224.97,375.77L224.33,375.07Q224.23,375.08 224.18,375.08Q224.13,375.08 224.08,375.08Q223.16,375.08 222.6,374.47Q222.05,373.85 222.05,372.82Q222.05,371.78 222.6,371.17Q223.16,370.55 224.08,370.55Q225,370.55 225.55,371.17Q226.1,371.78 226.1,372.82Q226.1,373.58 225.79,374.12Q225.49,374.66 224.91,374.92ZM227.03,375L227.03,370.63L227.62,370.63L227.62,372.42L229.77,372.42L229.77,370.63L230.36,370.63L230.36,375L229.77,375L229.77,372.92L227.62,372.92L227.62,375L227.03,375ZM234.52,374.38L234.52,373.2L233.55,373.2L233.55,372.71L235.11,372.71L235.11,374.59Q234.76,374.84 234.35,374.96Q233.94,375.08 233.47,375.08Q232.44,375.08 231.86,374.49Q231.29,373.89 231.29,372.82Q231.29,371.75 231.86,371.15Q232.44,370.55 233.47,370.55Q233.9,370.55 234.28,370.65Q234.67,370.76 234.99,370.96L234.99,371.59Q234.67,371.31 234.3,371.17Q233.93,371.03 233.52,371.03Q232.72,371.03 232.31,371.48Q231.91,371.93 231.91,372.82Q231.91,373.7 232.31,374.15Q232.72,374.6 233.52,374.6Q233.83,374.6 234.08,374.55Q234.33,374.49 234.52,374.38ZM236.25,372.82L236.25,370.63L238.57,370.63L238.57,371.12L236.79,371.12L236.79,372.2Q236.92,372.15 237.05,372.13Q237.18,372.11 237.3,372.11Q238.04,372.11 238.46,372.51Q238.89,372.91 238.89,373.6Q238.89,374.3 238.45,374.7Q238.01,375.08 237.21,375.08Q236.94,375.08 236.65,375.04Q236.37,374.99 236.06,374.9L236.06,374.3Q236.33,374.45 236.61,374.52Q236.89,374.59 237.2,374.59Q237.71,374.59 238,374.32Q238.3,374.05 238.3,373.6Q238.3,373.14 238,372.87Q237.71,372.61 237.2,372.61Q236.96,372.61 236.73,372.66Q236.49,372.71 236.25,372.82ZM241.31,371.11L240.6,371.11L240.6,374.51L241.31,374.51Q242.22,374.51 242.64,374.1Q243.06,373.69 243.06,372.81Q243.06,371.93 242.64,371.52Q242.22,371.11 241.31,371.11ZM240.01,375L240.01,370.63L241.22,370.63Q242.49,370.63 243.09,371.16Q243.68,371.68 243.68,372.81Q243.68,373.94 243.08,374.47Q242.49,375 241.22,375L240.01,375ZM246.32,375L245.65,375L243.98,370.63L244.6,370.63L245.98,374.31L247.37,370.63L247.99,370.63L246.32,375ZM250.29,371.03Q249.65,371.03 249.27,371.51Q248.89,371.99 248.89,372.82Q248.89,373.64 249.27,374.12Q249.65,374.6 250.29,374.6Q250.94,374.6 251.31,374.12Q251.69,373.64 251.69,372.82Q251.69,371.99 251.31,371.51Q250.94,371.03 250.29,371.03ZM250.29,370.55Q251.21,370.55 251.77,371.17Q252.32,371.78 252.32,372.82Q252.32,373.85 251.77,374.47Q251.21,375.08 250.29,375.08Q249.37,375.08 248.82,374.47Q248.27,373.85 248.27,372.82Q248.27,371.78 248.82,371.17Q249.37,370.55 250.29,370.55ZM252.99,371.12L252.99,370.63L256.43,370.63L256.43,371.08L253.66,374.5L256.49,374.5L256.49,375L252.92,375L252.92,374.55L255.69,371.12L252.99,371.12ZM259.2,372.64Q259.62,372.73 259.86,373.02Q260.1,373.31 260.1,373.73Q260.1,374.38 259.66,374.73Q259.21,375.08 258.39,375.08Q258.11,375.08 257.82,375.03Q257.53,374.98 257.22,374.87L257.22,374.3Q257.47,374.44 257.76,374.51Q258.05,374.59 258.37,374.59Q258.93,374.59 259.22,374.37Q259.51,374.15 259.51,373.73Q259.51,373.34 259.24,373.13Q258.97,372.91 258.49,372.91L257.98,372.91L257.98,372.42L258.51,372.42Q258.95,372.42 259.18,372.25Q259.41,372.07 259.41,371.74Q259.41,371.41 259.17,371.23Q258.93,371.04 258.49,371.04Q258.24,371.04 257.96,371.1Q257.69,371.15 257.35,371.26L257.35,370.73Q257.69,370.64 257.98,370.59Q258.28,370.55 258.54,370.55Q259.21,370.55 259.61,370.85Q260,371.16 260,371.68Q260,372.04 259.79,372.3Q259.58,372.54 259.2,372.64ZM262.32,372.67L260.96,370.63L261.59,370.63L262.68,372.25L263.77,370.63L264.41,370.63L263,372.73L264.5,375L263.87,375L262.64,373.14L261.4,375L260.76,375L262.32,372.67ZM267.06,371.03Q266.41,371.03 266.03,371.51Q265.65,371.99 265.65,372.82Q265.65,373.64 266.03,374.12Q266.41,374.6 267.06,374.6Q267.7,374.6 268.08,374.12Q268.45,373.64 268.45,372.82Q268.45,371.99 268.08,371.51Q267.7,371.03 267.06,371.03ZM267.88,374.92L268.66,375.77L267.95,375.77L267.3,375.07Q267.21,375.08 267.15,375.08Q267.1,375.08 267.06,375.08Q266.13,375.08 265.58,374.47Q265.03,373.85 265.03,372.82Q265.03,371.78 265.58,371.17Q266.13,370.55 267.06,370.55Q267.98,370.55 268.53,371.17Q269.08,371.78 269.08,372.82Q269.08,373.58 268.77,374.12Q268.46,374.66 267.88,374.92ZM271.39,372.58Q271,372.58 270.76,372.85Q270.53,373.12 270.53,373.6Q270.53,374.07 270.76,374.34Q271,374.62 271.39,374.62Q271.79,374.62 272.02,374.34Q272.26,374.07 272.26,373.6Q272.26,373.12 272.02,372.85Q271.79,372.58 271.39,372.58ZM272.57,370.72L272.57,371.26Q272.35,371.16 272.12,371.1Q271.89,371.04 271.67,371.04Q271.08,371.04 270.77,371.44Q270.47,371.84 270.42,372.64Q270.59,372.38 270.86,372.25Q271.12,372.11 271.43,372.11Q272.09,372.11 272.47,372.51Q272.85,372.91 272.85,373.6Q272.85,374.27 272.46,374.68Q272.06,375.08 271.39,375.08Q270.64,375.08 270.23,374.5Q269.83,373.92 269.83,372.82Q269.83,371.78 270.33,371.17Q270.82,370.55 271.65,370.55Q271.87,370.55 272.09,370.59Q272.32,370.63 272.57,370.72ZM273.82,375L273.82,370.63L274.41,370.63L274.41,374.5L276.54,374.5L276.54,375L273.82,375ZM277.73,374.5L279.79,374.5L279.79,375L277.01,375L277.01,374.5Q277.35,374.15 277.93,373.57Q278.51,372.98 278.66,372.81Q278.95,372.49 279.06,372.27Q279.17,372.05 279.17,371.83Q279.17,371.48 278.93,371.26Q278.68,371.04 278.29,371.04Q278.01,371.04 277.7,371.14Q277.39,371.24 277.04,371.43L277.04,370.84Q277.4,370.69 277.71,370.62Q278.02,370.55 278.28,370.55Q278.96,370.55 279.36,370.89Q279.77,371.23 279.77,371.79Q279.77,372.06 279.67,372.31Q279.57,372.55 279.3,372.88Q279.23,372.96 278.83,373.37Q278.44,373.77 277.73,374.5ZM280.98,375L280.98,370.63L281.86,370.63L282.98,373.6L284.1,370.63L284.98,370.63L284.98,375L284.41,375L284.41,371.16L283.28,374.16L282.68,374.16L281.55,371.16L281.55,375L280.98,375ZM286.16,375L286.16,370.63L288.67,370.63L288.67,371.12L286.75,371.12L286.75,372.41L288.48,372.41L288.48,372.91L286.75,372.91L286.75,375L286.16,375ZM291.38,371.03Q290.74,371.03 290.36,371.51Q289.98,371.99 289.98,372.82Q289.98,373.64 290.36,374.12Q290.74,374.6 291.38,374.6Q292.03,374.6 292.4,374.12Q292.78,373.64 292.78,372.82Q292.78,371.99 292.4,371.51Q292.03,371.03 291.38,371.03ZM292.21,374.92L292.99,375.77L292.28,375.77L291.63,375.07Q291.53,375.08 291.48,375.08Q291.43,375.08 291.38,375.08Q290.46,375.08 289.91,374.47Q289.36,373.85 289.36,372.82Q289.36,371.78 289.91,371.17Q290.46,370.55 291.38,370.55Q292.3,370.55 292.85,371.17Q293.41,371.78 293.41,372.82Q293.41,373.58 293.1,374.12Q292.79,374.66 292.21,374.92ZM295.04,375L293.94,370.63L294.54,370.63L295.46,374.32L296.38,370.63L297.04,370.63L297.96,374.32L298.88,370.63L299.48,370.63L298.38,375L297.64,375L296.71,371.2L295.78,375L295.04,375ZM300.26,375L300.26,370.63L303.03,370.63L303.03,371.12L300.86,371.12L300.86,372.42L302.94,372.42L302.94,372.92L300.86,372.92L300.86,374.5L303.08,374.5L303.08,375L300.26,375ZM305,372.92L303.45,370.63L304.09,370.63L305.3,372.42L306.51,370.63L307.14,370.63L305.6,372.92L305.6,375L305,375L305,372.92ZM309.57,372.64Q309.99,372.73 310.23,373.02Q310.47,373.31 310.47,373.73Q310.47,374.38 310.02,374.73Q309.58,375.08 308.76,375.08Q308.48,375.08 308.19,375.03Q307.9,374.98 307.59,374.87L307.59,374.3Q307.83,374.44 308.13,374.51Q308.42,374.59 308.74,374.59Q309.3,374.59 309.59,374.37Q309.88,374.15 309.88,373.73Q309.88,373.34 309.61,373.13Q309.34,372.91 308.85,372.91L308.34,372.91L308.34,372.42L308.88,372.42Q309.31,372.42 309.54,372.25Q309.78,372.07 309.78,371.74Q309.78,371.41 309.54,371.23Q309.3,371.04 308.85,371.04Q308.61,371.04 308.33,371.1Q308.05,371.15 307.72,371.26L307.72,370.73Q308.06,370.64 308.35,370.59Q308.65,370.55 308.91,370.55Q309.58,370.55 309.97,370.85Q310.37,371.16 310.37,371.68Q310.37,372.04 310.16,372.3Q309.95,372.54 309.57,372.64ZM311.54,375L311.54,370.63L314.3,370.63L314.3,371.12L312.13,371.12L312.13,372.42L314.21,372.42L314.21,372.92L312.13,372.92L312.13,374.5L314.36,374.5L314.36,375L311.54,375ZM315.33,375L315.33,370.63L316.21,370.63L317.33,373.6L318.45,370.63L319.33,370.63L319.33,375L318.75,375L318.75,371.16L317.63,374.16L317.03,374.16L315.9,371.16L315.9,375L315.33,375ZM322.3,375L321.63,375L319.96,370.63L320.58,370.63L321.97,374.31L323.36,370.63L323.97,370.63L322.3,375ZM324,371.12L324,370.63L327.7,370.63L327.7,371.12L326.15,371.12L326.15,375L325.56,375L325.56,371.12L324,371.12ZM331.26,374.38L331.26,373.2L330.29,373.2L330.29,372.71L331.84,372.71L331.84,374.59Q331.5,374.84 331.09,374.96Q330.67,375.08 330.21,375.08Q329.18,375.08 328.6,374.49Q328.02,373.89 328.02,372.82Q328.02,371.75 328.6,371.15Q329.18,370.55 330.21,370.55Q330.63,370.55 331.02,370.65Q331.4,370.76 331.73,370.96L331.73,371.59Q331.4,371.31 331.03,371.17Q330.66,371.03 330.25,371.03Q329.45,371.03 329.05,371.48Q328.65,371.93 328.65,372.82Q328.65,373.7 329.05,374.15Q329.45,374.6 330.25,374.6Q330.57,374.6 330.81,374.55Q331.06,374.49 331.26,374.38ZM334.7,371.03Q334.05,371.03 333.67,371.51Q333.3,371.99 333.3,372.82Q333.3,373.64 333.67,374.12Q334.05,374.6 334.7,374.6Q335.34,374.6 335.72,374.12Q336.1,373.64 336.1,372.82Q336.1,371.99 335.72,371.51Q335.34,371.03 334.7,371.03ZM334.7,370.55Q335.62,370.55 336.17,371.17Q336.72,371.78 336.72,372.82Q336.72,373.85 336.17,374.47Q335.62,375.08 334.7,375.08Q333.78,375.08 333.22,374.47Q332.67,373.85 332.67,372.82Q332.67,371.78 333.22,371.17Q333.78,370.55 334.7,370.55ZM338.21,374.5L340.27,374.5L340.27,375L337.5,375L337.5,374.5Q337.83,374.15 338.41,373.57Q339,372.98 339.15,372.81Q339.43,372.49 339.54,372.27Q339.66,372.05 339.66,371.83Q339.66,371.48 339.41,371.26Q339.17,371.04 338.77,371.04Q338.5,371.04 338.19,371.14Q337.88,371.24 337.53,371.43L337.53,370.84Q337.88,370.69 338.19,370.62Q338.5,370.55 338.76,370.55Q339.44,370.55 339.85,370.89Q340.25,371.23 340.25,371.79Q340.25,372.06 340.15,372.31Q340.05,372.55 339.78,372.88Q339.71,372.96 339.32,373.37Q338.92,373.77 338.21,374.5ZM342.77,371.11L342.06,371.11L342.06,374.51L342.77,374.51Q343.68,374.51 344.09,374.1Q344.52,373.69 344.52,372.81Q344.52,371.93 344.09,371.52Q343.68,371.11 342.77,371.11ZM341.46,375L341.46,370.63L342.68,370.63Q343.95,370.63 344.55,371.16Q345.14,371.68 345.14,372.81Q345.14,373.94 344.54,374.47Q343.95,375 342.68,375L341.46,375ZM346.08,374.7L346.08,370.63L346.68,370.63L346.68,374.7Q346.68,375.49 346.37,375.84Q346.08,376.2 345.41,376.2L345.18,376.2L345.18,375.7L345.37,375.7Q345.76,375.7 345.92,375.48Q346.08,375.26 346.08,374.7Z"/>
```
I don't have an android emulator. But I know a **vector path** works just like a **svg path**. So I wrote a simple html that draws the `android:pathData`.
```html
<html>
<body>
<svg height="564" width="564">
<path d="android:pathData" />
</svg>
</body>
</html>
```
The result is the las missing part
![android:pathData](https://raw.github.com/prete/ctf-writeups/master/2019/UUT-CTF/multipart/svg-path.png)
*Decode that shit!*
```console
base32 --decode <<< OBQXE5BAGMQGS4ZAHIQHG5DVOZ3XQ6L2MFQWEY3EMVTGO2DJ
part 3 is : stuvwxyzaabcdefghi
```
After joining everything, we get the flag:
**UUTCTF{md5(abcdefgrstuvwxyzaabcdefghstuvwxyzaabcdefghituvwxyzaajhytgvd)}**