'PicoCTF PW Crack 3

I`m having a problem with this challenge. I have tried every password that is in level3.py file.

I have edited level3.py file to print my password hashed and hashed password that is compared to.

And the results are very interesting, I don't know how to solve this problem.

My hashed password:

b'  \x9a\xcf\xc8#[c4\x89\xaaf\x07kb\x17'

Hashed password to which is compared to:

b'  \x9a\xcf\xc8#[c4\x89\xaaf\x07kb\x17\n'

It looks like I`m entered the correct password, but there is that \n at the end, but I don`t know why.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source