Skip to main content

The ultimate Django admin honeypot.

Project description

https://img.shields.io/pypi/v/django-jellyglass.svg https://img.shields.io/pypi/l/django-jellyglass.svg https://img.shields.io/travis/MarkusH/django-jellyglass.svg

django-jellyglass is a reusable Django application to act as a better honeypot.

Installation

Use PIP to install django-jellyglass from PyPI:

$ pip install django-jellyglass

Add jellyglass.apps.JellyGlassConfig to your INSTALLED_APPS:

INSTALLED_APPS = [
    # ...
    'jellyglass.apps.JellyGlassConfig',
]

Add the following urlpatterns to your root url configuration:

urlpatterns = [
    # ...
    url(r'^', include('jellyglass.urls', namespace='jellyglass')),
    # ...
]

Run migrations:

$ python manage.py migrate
Operations to perform:
  Apply all migrations: admin, auth, contenttypes, jellyglass, sessions
Running migrations:
  Rendering model states... DONE
  Applying jellyglass.0001_initial... OK

Settings

Enable or disable the Django admin with:

JELLYGLASS_DJANGO = True

Enable or disable the Wordpress admin with:

JELLYGLASS_WORDPRESS = True

Enable or disable the recording of sensitive data with:

JELLYGLASS_HIDE_SENSITIVE_POST_PARAMETERS = False

In case you’re behind a reverse proxy (e.g. Apache, Nginx) this setting can be used to specify where the actual REMOTE_ADDR is stored:

JELLYGLASS_REMOTE_ADDR_KEY = 'REMOTE_ADDR'
# For a header 'X-REAL-IP' this would be 'HTTP_X_REAL_IP'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_jellyglass-0.2.2-py2.py3-none-any.whl (43.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django_jellyglass-0.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_jellyglass-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f01a785843eed7c17bd96ab68d6962fc7b05fb0a78b4aafedfbf6902b3000cdd
MD5 eb82e8763c2c5c6b6ad25160886fd5c7
BLAKE2b-256 696c941800134f34a64c83b864ce96e17eb1eb824e8a3824829d6799e33d6e44

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page