huge commit

This commit is contained in:
2026-03-09 21:44:25 +01:00
parent ab2e537520
commit d1017bae51
441 changed files with 3438154 additions and 1363 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 KiB

View File

@@ -0,0 +1,37 @@
import os
from PIL import Image
import numpy as np
# Find all BMP files in the current directory
bmps = [f for f in os.listdir('.') if f.endswith('.bmp')]
print(bmps)
images = {}
for b in bmps:
try:
img = np.array(Image.open(b))
shape = img.shape
# Group images by their exact pixel dimensions
if shape not in images:
images[shape] = []
images[shape].append((b, img))
except Exception as e:
pass
print(images.items())
# Find the pair of relics and XOR them
for shape, imgs in images.items():
print(len(imgs))
if len(imgs) == 2:
print(f"[+] Found matching relics: {imgs[0][0]} and {imgs[1][0]}")
# This is the "remember to XOR"
result = np.bitwise_xor(imgs[0][1], imgs[1][1])
out_name = f"final_armory_{imgs[0][0]}.png"
Image.fromarray(result).save(out_name)
print(f"[!] The forge is lit. Open {out_name} to claim the flag.")
else:
print("found no pairs")