Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A fake Django admin login screen to notify admins of attempted unauthorized access.
Python Shell
branch: develop
Failed to load latest commit information.
admin_honeypot Version bump: 0.4.0
docs Version bump: 0.4.0
tests Remove password from the whole equation (fixes #21).
.coveragerc Ignore south_migrations when testing pep8 and coverage
.gitignore Update .gitignore
.travis.yml First attempt at using tox for travis.
LICENSE Initial commit.
MANIFEST.in Convert README to ReST nad use it for the description in setup.py
README.rst Convert README to ReST nad use it for the description in setup.py
conftest.py Switch to py.test for tests.
release-process.txt
requirements.txt A more comprehensive tox.ini
setup.cfg Ignore south_migrations when testing pep8 and coverage
setup.py Convert README to ReST nad use it for the description in setup.py
tox.ini Run coveralls in the coverage tox env.

README.rst

django-admin-honeypot

travis-ci coverage-io downloads

django-admin-honeypot is a fake Django admin login screen to log and notify admins of attempted unauthorized access. This app was inspired by discussion in and around Paul McMillan's security talk at DjangoCon 2011.

Documentation

http://django-admin-honeypot.readthedocs.org

tl;dr

  • Install django-admin-honeypot from PyPI:

    pip install django-admin-honeypot
    
  • Add admin_honeypot to INSTALLED_APPS

  • Update your urls.py:

    New in v0.4: The namespace argument is now required.

    urlpatterns = patterns(''
        ...
        url(r'^admin/', include('admin_honeypot.urls', namespace='admin_honeypot')),
        url(r'^secret/', include(admin.site.urls)),
    )
    
  • Run python manage.py syncdb or with south python manage.py migrate

Something went wrong with that request. Please try again.