Completed challenge 247
This commit is contained in:
parent
6904e909c6
commit
b6d732114a
@ -35,7 +35,7 @@ def level_3_pw_check():
|
||||
print("That password is incorrect")
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
level_3_pw_check()
|
||||
|
||||
|
||||
|
6
247/solve.py
Normal file
6
247/solve.py
Normal file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
from level3 import *
|
||||
|
||||
correct_pw = next(pw for pw in pos_pw_list if hash_pw(pw) == correct_pw_hash)
|
||||
print(f'Correct password is: {correct_pw}')
|
||||
print(str_xor(flag_enc.decode(), correct_pw))
|
Loading…
Reference in New Issue
Block a user