Official xorxorxor Discussion

You don’t need any code/python to do this challenge. All you need is to understand the logic behind XOR. If you some input A and XOR it with some value B, then you easily know the output, C, right?

What if you have the input and the output but not the value you XOR the input with? You should be able to figure out the missing value, right? Since you only need 2 of the 3 values involved in an XOR operation to know the third value. Now think about how this relates to this challenge. What do we know about HTB challenges? Does the script contain any useful information that we can combine with what we already know?

This entire challenge can be done by hand, without computer assistance (and that should be how you do this imo).