Update TimingAttackAgainstSensitiveInfo.py

This commit is contained in:
Ahmed Farid
2022-08-15 15:16:30 +01:00
committed by GitHub
parent 8ebf428078
commit f2bf58bdb6

View File

@@ -19,7 +19,7 @@ def bad():
def good():
if request.method == 'POST':
password = request.form['pwd']
return constant_time_string_compare(password, "1234")
return constant_time_compare(password, "1234")
if __name__ == '__main__':
app.debug = True