redissentry-coreModule protecting a web framework against password bruteforce attacks | |
Download |
redissentry-core Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Lev Maximov
- Publisher web site:
- http://github.com/axil/
redissentry-core Tags
redissentry-core Description
redissentry-core is generic RedisSentry documentation, for Django specific notes, see django-redissentry docs.InstallationThis is how RedisSentry can be integrated into any python-powered project (eg Flask):from redissentry import RedisSentrydef protected_auth(username, password): sentry = RedisSentry(ip, username) msg = sentry.ask() if msg: raise Exception(msg) res = auth(username, password) msg = sentry.inform(bool(res)) if not res: raise Exception('Incorrect username or password. ' + msg) return reswhere auth() is the original auth function.Product's homepage
redissentry-core Related Software