The ultimate Django admin honeypot.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-jellyglass-0.3.0.tar.gz
.
File metadata
- Download URL: django-jellyglass-0.3.0.tar.gz
- Upload date:
- Size: 42.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c6e434120b6c869e57e11ef0b07dc534c8040c5e8e9318f4d58871dea6f23c2 |
|
MD5 | 3b60f0973c578038cd7ccda3ef589434 |
|
BLAKE2b-256 | d3aac16d1d962bc9f586cd9aac181bbf12d4b27c66def00fb90f16bee4fd8e53 |
File details
Details for the file django_jellyglass-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_jellyglass-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 43.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c77b8f2fa6a4295cd22bc3d37a49f2328a1353f720638078b8365b66375d6a1d |
|
MD5 | c22d6c7d6cd1df2c12f4a6109d9145d1 |
|
BLAKE2b-256 | 9bde819e7f1fbee48fe62330f4e4df68b43b93c223e46d450c72e357230c8509 |