Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
django-captcha-admin
Advanced tools
Simple way to add a ReCaptcha_ field to your admin login page.
Install django-captcha-admin
from pypi::
$> pip install django-captcha-admin
Add captcha_admin
and captcha
to your INSTALLED_APPS
::
INSTALLED_APPS = ( ... 'captcha_admin', 'captcha', )
Add your captcha keys to your settings, the way django-recaptcha_ indicates::
RECAPTCHA_PUBLIC_KEY = 'your-public-key' RECAPTCHA_PRIVATE_KEY = 'your-private-key'
Edit your code so instead of importing admin
from
django.contrib
, you import it from captcha_admin
::
from captcha_admin import admin
admin.autodiscover()
urlpatterns = patterns( ... url(r'^admin/', include(admin.site.urls)), # and this... ... )
That's it!
.. _ReCaptcha: https://www.google.com/recaptcha/ .. _django-recaptcha: https://github.com/praekelt/django-recaptcha
FAQs
Provides a recaptcha field in django's default admin login page.
We found that django-captcha-admin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.