Completed challenge 248
This commit is contained in:
parent
627ea845c1
commit
df8f27bc36
@ -35,8 +35,8 @@ def level_4_pw_check():
|
|||||||
print("That password is incorrect")
|
print("That password is incorrect")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
level_4_pw_check()
|
level_4_pw_check()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
6
248/solve.py
Normal file
6
248/solve.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
from level4 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