<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Z3 on irq5 test</title><link>https://irq5-7854a1fdb9f4.pages.dev/tag/z3/</link><description>Recent content in Z3 on irq5 test</description><language>en-us</language><lastBuildDate>Thu, 27 Jul 2017 20:49:00 +0000</lastBuildDate><atom:link href="https://irq5-7854a1fdb9f4.pages.dev/tag/z3/feed/" rel="self" type="application/rss+xml"/><item><title>LabyREnth 2017 Write-up: "EzDroid"</title><link>https://irq5-7854a1fdb9f4.pages.dev/2017/07/labyrenth-2017-write-up-ezdroid/</link><pubDate>Thu, 27 Jul 2017 20:49:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2017/07/labyrenth-2017-write-up-ezdroid/</guid><description>Mobile track #1 - EzDroid Provided is an Android app package EzDroid.apk.
I typically use an Android emulator for testing, it&amp;rsquo;s free and easy to install on all major platforms, so it&amp;rsquo;s pretty much a no brainer.
After installation, it looks like it maanges to start but exits shortly after, for some unknown reason. Looks like it is time to inspect the code.
I like looking at high-level languages, so let&amp;rsquo;s start with that first.&lt;p>&lt;a href="https://irq5-7854a1fdb9f4.pages.dev/2017/07/labyrenth-2017-write-up-ezdroid/#more">Continue reading…&lt;/a>&lt;/p></description></item><item><title>PlaidCTF 2015 "RE GEX" Write-up</title><link>https://irq5-7854a1fdb9f4.pages.dev/2015/04/plaidctf-2015-re-gex-write-up/</link><pubDate>Mon, 20 Apr 2015 22:34:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2015/04/plaidctf-2015-re-gex-write-up/</guid><description>This challenge came with a simple Python TCP server and a monstrous regex in a separate file. It consists of multiple sub-patterns (2563 to be exact), separated by OR operators1. To get the flag, the input supplied must NOT match any of these sub-patterns. If you break up the large regex expression, you see something like this:
^(.*[^plaidctf].*| .{,170}| .{172,}| .{88}[padt].{60}[licf].{6}[plai].{14}| .{60}[aitf].{17}[pldc].{85}[dctf].{6}| ... .{54}[pldc].{88}[plai][aitf].{26}| .{11}[aitf].{41}[aitf].{97}[padt].{19})$ The 3 conditions listed up front give you a hint to the requirements: must be made up of the letters plaidctf and be of length 171.&lt;p>&lt;a href="https://irq5-7854a1fdb9f4.pages.dev/2015/04/plaidctf-2015-re-gex-write-up/#more">Continue reading…&lt;/a>&lt;/p></description></item></channel></rss>