Name | django-admin-honeypot1 JSON |
Version |
1.2.0
JSON |
| download |
home_page | |
Summary | A fake Django admin login screen to notify admins of attempted unauthorized access. |
upload_time | 2024-01-14 19:11:44 |
maintainer | Kalyaan Singh |
docs_url | None |
author | |
requires_python | |
license | MIT License |
keywords |
django
admin
honeypot
trap
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# django-admin-honeypot-2
**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.
- **Author**: `Derek Payton `\_
- **Contributor**: `Kalyaan Singh`
- **Version**: 1.2.0
- **License**: MIT
# Documentation
http://django-admin-honeypot.readthedocs.io
## tl;dr
1. Install django-admin-honeypot from PyPI::
pip install django-admin-honeypot
2. Add `admin_honeypot` to `INSTALLED_APPS` setting like this
::
INSTALLED_APPS = [
...
'admin_honeypot',
]
3. Update your urls.py:
::
urlpatterns =[
path('admin/', include('admin_honeypot.urls', namespace='admin_honeypot')),
path('secret/', admin.site.urls),
...
]
4. [ Optional ] In settings.py:
::
# To receive email notifications regarding attempts to login to the admin honeypot.
# Admin's name and email to send email
ADMINS = (
(admin_name, admin_email_addrress)
)
# SMTP CONFIGURATION
EMAIL_HOST = smtp.gmail.com
EMAIL_PORT = 587
EMAIL_HOST_USER = admin_email_addrress
EMAIL_HOST_PASSWORD = admin_email_addrress_password
EMAIL_USE_TLS = True
5. Run `python manage.py migrate` to create the LoginAttempt model
NOTE: replace `secret` in the url above with your own secret url prefix
Raw data
{
"_id": null,
"home_page": "",
"name": "django-admin-honeypot1",
"maintainer": "Kalyaan Singh",
"docs_url": null,
"requires_python": "",
"maintainer_email": "kalyaanks075@gmail.com",
"keywords": "django admin honeypot trap",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/9e/f4/64d490acc91820fb2c53813530e50a07e1e71d14f06e2c005ce0aff2fbe3/django-admin-honeypot1-1.2.0.tar.gz",
"platform": null,
"description": "# django-admin-honeypot-2\r\n\r\n**django-admin-honeypot** is a fake Django admin login screen to log and notify\r\nadmins of attempted unauthorized access. This app was inspired by discussion\r\nin and around Paul McMillan's security talk at DjangoCon 2011.\r\n\r\n- **Author**: `Derek Payton `\\_\r\n- **Contributor**: `Kalyaan Singh`\r\n- **Version**: 1.2.0\r\n- **License**: MIT\r\n\r\n# Documentation\r\n\r\nhttp://django-admin-honeypot.readthedocs.io\r\n\r\n## tl;dr\r\n\r\n1. Install django-admin-honeypot from PyPI::\r\n\r\n pip install django-admin-honeypot\r\n\r\n2. Add `admin_honeypot` to `INSTALLED_APPS` setting like this\r\n ::\r\n\r\n INSTALLED_APPS = [\r\n ...\r\n 'admin_honeypot',\r\n ]\r\n\r\n3. Update your urls.py:\r\n ::\r\n\r\n urlpatterns =[\r\n\r\n path('admin/', include('admin_honeypot.urls', namespace='admin_honeypot')),\r\n path('secret/', admin.site.urls),\r\n ...\r\n ]\r\n\r\n4. [ Optional ] In settings.py:\r\n ::\r\n\r\n # To receive email notifications regarding attempts to login to the admin honeypot.\r\n\r\n # Admin's name and email to send email\r\n ADMINS = (\r\n (admin_name, admin_email_addrress)\r\n )\r\n\r\n # SMTP CONFIGURATION\r\n EMAIL_HOST = smtp.gmail.com\r\n EMAIL_PORT = 587\r\n EMAIL_HOST_USER = admin_email_addrress\r\n EMAIL_HOST_PASSWORD = admin_email_addrress_password\r\n EMAIL_USE_TLS = True\r\n\r\n5. Run `python manage.py migrate` to create the LoginAttempt model\r\n\r\nNOTE: replace `secret` in the url above with your own secret url prefix\r\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "A fake Django admin login screen to notify admins of attempted unauthorized access.",
"version": "1.2.0",
"project_urls": null,
"split_keywords": [
"django",
"admin",
"honeypot",
"trap"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e569776066f58eb49a64a5d180bfd862eec0d3079397d57794715065ec67ba30",
"md5": "20dae12883ccdce2cfa59f883e7f1bb0",
"sha256": "7877e0582271aa0d2bc37603bc200875ee3f7e7560ba78624101f3f53e9acf32"
},
"downloads": -1,
"filename": "django_admin_honeypot1-1.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "20dae12883ccdce2cfa59f883e7f1bb0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9667,
"upload_time": "2024-01-14T19:11:42",
"upload_time_iso_8601": "2024-01-14T19:11:42.777838Z",
"url": "https://files.pythonhosted.org/packages/e5/69/776066f58eb49a64a5d180bfd862eec0d3079397d57794715065ec67ba30/django_admin_honeypot1-1.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9ef464d490acc91820fb2c53813530e50a07e1e71d14f06e2c005ce0aff2fbe3",
"md5": "078b1583e513e10b2a76f40066e511fe",
"sha256": "a1e2a5e3365f63bb8b83cc34b1c7fdd33f50d751365b921bf2220d0858f4bb9e"
},
"downloads": -1,
"filename": "django-admin-honeypot1-1.2.0.tar.gz",
"has_sig": false,
"md5_digest": "078b1583e513e10b2a76f40066e511fe",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7667,
"upload_time": "2024-01-14T19:11:44",
"upload_time_iso_8601": "2024-01-14T19:11:44.644041Z",
"url": "https://files.pythonhosted.org/packages/9e/f4/64d490acc91820fb2c53813530e50a07e1e71d14f06e2c005ce0aff2fbe3/django-admin-honeypot1-1.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-14 19:11:44",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "django-admin-honeypot1"
}