CRACKING PASSWORDS WITH HASHCAT - Symmetric Encryption: XOR

The question that I am having trouble with is from the HTB Academy lesson: CRACKING PASSWORDS WITH HASHCAT. It reads as follows - “Create the XOR ciphertext of the password ‘opens3same’ using the key ‘academy’.”

My problem is that I do not understand how to use XOR. When I try to follow the example, I am met with the following error: No module named ‘pwn’

When I try to skip that step, this is what happens: name ‘xor’ is not defined

My suspicion is that with the recent change to the pwn boxes… the exercise cannot be completed in the same manner. I think it is more likely that I am clueless!

I do not understand what I am missing here. Any tips/guidance is greatly appreciated.

I will move on through the module and update here if I find a solution.

Thanks,
Jesse

Hey Jesse,

Yeah the updated pwn boxes are not that impressive. It looks like you just need to install pwntools. Install it via the command line with pip3:

pip3 install pwntools

Then try what you did above. I haven’t gotten to that module yet, but that should solve your issue!
-onthesauce

Thank you!

Your suggestion worked perfectly!

Cheers,
Jesse