mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Update SafeComparisonOfSensitiveInfo.py
This commit is contained in:
@@ -15,3 +15,7 @@ def bad():
|
||||
if request.method == 'POST':
|
||||
password = request.form['pwd']
|
||||
return hmac.compare_digest(password, "1234")
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.debug = True
|
||||
app.run()
|
||||
|
||||
Reference in New Issue
Block a user