Daniel Bernegger

Slow download using Powershell

Recently I downloaded a file using the Powershell command “Invoke-WebRequest” (there is a linuxy short form: “wget” which is nice). The exact command:

wget "https://URL_HERE" -OutFile Filename.iso

This worked flawlessly, but took an incredibly long time. The download speed was about one hundredth of my normal download speed.

Read More »Slow download using Powershell

TIL: Tuples and Pattern Matching in C# switch Statements

TIL. abbreviation for today I learned
used in writing, for example on social media, before giving interesting new information

It may not happen all the time, but every now and then there are cases where a certain outcome is expected due to two or more variables. For example the help or validation text for variable min and max values. Until now I have solved this with these monstrous “if – else if” nestings:

Read More »TIL: Tuples and Pattern Matching in C# switch Statements

HACKVent 2020 – Day 21

Challenge – Threatened Cat

You can feed this cat with many different things, but only a certain kind of file can endanger the cat.

Do you find that kind of files? And if yes, can you use it to disclose the flag?…

HACKVent 2020 – Day 19

Challenge – Docker Linter Service

Docker Linter is a useful web application ensuring that your Docker-related files follow best practices. Unfortunately, there’s a security issue in there…


This challenge requires a reverse shell. You can use the provided Web Shell or the VPN to solve this challenge (see RESOURCES on top).…

HACKVent 2020 – Day 18

Challenge – Santa’s lost home

Santa has forgotten his password and can no longer access his data. While trying to read the hard disk from another computer he also destroyed an important file. To avoid further damage he made a backup of his home partition.…

HACKVent 2020 – Day 16

Challenge – Naughty Rudolph

Santa loves to keep his personal secrets on a little toy cube he got from a kid called Bread. Turns out that was not a very good idea. Last night Rudolph got hold of it and frubl’d it about five times before spitting it out.…

HACKVent 2020 – Day 12

Challenge – Wiener waltz

During their yearly season opening party our super-smart elves developed an improved usage of the well known RSA crypto algorithm. Under the “Green IT” initiative they decided to save computing horsepower (or rather reindeer power?) on their side.…