Initial Commit

This commit is contained in:
Roman Hergenreder
2018-12-04 12:54:01 +01:00
commit dd508a8100
16 changed files with 134 additions and 0 deletions

BIN
Teaser/Teaser.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

BIN
Teaser/Teaser2.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

View File

Binary file not shown.

BIN
Teaser/data.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
Teaser/data2.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

47
Teaser/decode.py Normal file
View File

@@ -0,0 +1,47 @@
#!/usr/bin/python
from PIL import Image
# Load Image
im = Image.open('Teaser.png')
offsetX = 154
offsetY = 183
imageSize = 180
# Crop Image
im.crop((offsetX, offsetY, offsetX+imageSize, offsetY+imageSize)).save("data.png")
# Braillecode
string = "http://bit.ly/2TJvxHt"
# forwared to https://hackvent.hacking-lab.com/T34s3r_MMXVIII/index.php?flag=UI18-GAUa-lXhq-htyV-w2Wr-0yiV
# decoded ROT13: https://hackvent.hacking-lab.com/T34s3r_MMXVIII/index.php?flag=HV18-TNHn-yKud-uglI-j2Je-0lvI
# Second Image
im = Image.open('Teaser2.png')
im.crop((offsetX, offsetY, offsetX+imageSize, offsetY+imageSize)).save("data2.png")
# follow the white rabbit ...
# rushed by ...
# HACKvent 2018
# .... ...- .---- ---.. -....- --. --- .-. .. -....- --.. .-. ... -... -....- ..- ..-. .- . -....- - ... -.... -.-. -....- -.-. ...- - -
# Morse code: HV18-GORI-ZRSB-UFAE-TS6C-CVTT
im = Image.open('pdf_data.png')
pix = im.load()
size = im.size
# pixels = []
#
# for x in range(size[0]):
# for y in range(size[1]):
#
# if pix[x,y] not in pixels:
# pixels.append(pix[x,y])
#
# r = 255 - pix[x,y][0]
# g = 255 - pix[x,y][1]
# b = 255 - pix[x,y][2]
# pix[x,y] = (r,g,b,255)
# im.save('pdf_data_decrypted.png')

1
Teaser/passphrase.txt Normal file
View File

@@ -0,0 +1 @@
ZOoxjUSe1OVB7OPoVrsX.pdf

BIN
Teaser/pdf_data.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

BIN
Teaser/test.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB