This commit is contained in:
Roman Hergenreder
2018-12-16 18:10:42 +01:00
parent 8b34218479
commit 755b80ac0d
16 changed files with 234 additions and 9 deletions

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIViewControllerIdentifiersToNibNames</key>
<dict>
<key>UIViewController-BYZ-38-t0r</key>
<string>UIViewController-BYZ-38-t0r</string>
</dict>
<key>UIStoryboardDesignatedEntryPointIdentifier</key>
<string>UIViewController-BYZ-38-t0r</string>
<key>UIStoryboardVersion</key>
<integer>1</integer>
</dict>
</plist>

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>17G65</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>HACKvent-2018</string>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<string>App Icon</string>
</dict>
<key>CFBundleIdentifier</key>
<string>com.hacking-lab.HACKvent-2018</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>HACKvent-2018</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>AppleTVOS</string>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>16J364</string>
<key>DTPlatformName</key>
<string>appletvos</string>
<key>DTPlatformVersion</key>
<string>12.0</string>
<key>DTSDKBuild</key>
<string>16J364</string>
<key>DTSDKName</key>
<string>appletvos12.0</string>
<key>DTXcode</key>
<string>1000</string>
<key>DTXcodeBuild</key>
<string>10A255</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>MinimumOSVersion</key>
<string>12.0</string>
<key>UIDeviceFamily</key>
<array>
<integer>3</integer>
</array>
<key>UILaunchImages</key>
<array>
<dict>
<key>UILaunchImageMinimumOSVersion</key>
<string>11.0</string>
<key>UILaunchImageName</key>
<string>LaunchImage</string>
<key>UILaunchImageOrientation</key>
<string>Landscape</string>
<key>UILaunchImageSize</key>
<string>{1920, 1080}</string>
</dict>
<dict>
<key>UILaunchImageMinimumOSVersion</key>
<string>9.0</string>
<key>UILaunchImageName</key>
<string>LaunchImage</string>
<key>UILaunchImageOrientation</key>
<string>Landscape</string>
<key>UILaunchImageSize</key>
<string>{1920, 1080}</string>
</dict>
</array>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
<key>UIUserInterfaceStyle</key>
<string>Automatic</string>
</dict>
</plist>

View File

@@ -0,0 +1 @@
APPL????

32
Day 15/decode.py Executable file
View File

@@ -0,0 +1,32 @@
#!/usr/bin/python
import base64
from Crypto import Random
from Crypto.Cipher import AES
key = list("uQA\\-nM@=1wl\x1EbN!")
b64 = "xQ34V+MHmhC8V88KyU66q0DE4QeOxAbp1EGy9tlpkLw="
key[0] = chr(120)
offset = 1
while True:
key[offset] = chr(ord(key[offset]) + 3)
offset += 1
if len(key) <= offset:
break
key = "".join(key)
# print(len(key))
# print(len(base64.b64decode(b64)))
def decrypt(key, encrypted):
# IV = Random.new().read(BLOCK_SIZE)
aes = AES.new(key, AES.MODE_ECB)
return aes.decrypt(base64.b64decode(b64))
decrypted = decrypt(key.encode("utf-8"), b64)
print(decrypted.decode("utf-8"))