HACKvent 2020 – Day 1

Challenge – Happy HACKvent 2020

Welcome to this year’s HACKvent.

Attached you can find the “Official” invitation to the HackVent.

One of my very young Cyber Elves cut some parts of the card with his alpha scissors.

Have a great HACKvent,

– Santa


Those alpha scissors are clearly a hint. So lets set the alpha channel to max with this quick code:

using System;
using System.Drawing;

Console.WriteLine("Enter path to image: ");
var path = Console.ReadLine();

var image = new Bitmap(path);
for (int x = 0; x < image.Width; x++)
    for (int y = 0; y < image.Height; y++)
        Color clr = image.GetPixel(x, y);
        image.SetPixel(x, y, Color.FromArgb(byte.MaxValue, clr));

image.Save(path + "1.png");

And the output is the Solution: HV20{7vxFXB-ItHnqf-PuGNqZ}

The Solution of Day 1

Leave a Reply

Your email address will not be published. Required fields are marked *