MechanisM / django-admin-honeypot

A fake Django admin login screen to notify admins of attempted unauthorized access.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A fake Django admin login screen to notify admins of attempted unauthorized access.

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

License:MIT License


Languages

Language:Python 99.2%Language:HTML 0.8%