
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Sometimes I use this in different projects, so I decided to put it on pypi
pip install django-logui
INSTALLED_APPS = [
#...
'adjango',
'logui',
]
settings.py
set the params# settings.py
from os.path import join
from logui.utils import check_loggers
# LOGS_DIR will be scanned for .log files
# Nearest folders are also scanned.
# LOGS_DIR *required
LOGS_DIR = join(BASE_DIR, 'logs')
LOGGING = ... # ur logging
# Console report about existing loggers
check_loggers(LOGGING)
Only is_staff
have access.
from django.urls import path, include
# Not use django.conf.settings
from logui.conf import LOGUI_URL_PREFIX
urlpatterns = [
...
path(LOGUI_URL_PREFIX, include('logui.routes.views')),
]
https:
//localhost:8000
/settings.LOGUI_URL_PREFIX
# only for request response middleware
LOGUI_REQUEST_RESPONSE_LOGGER_NAME = 'global'
MIDDLEWARE = [
...
'adjango.middleware.IPAddressMiddleware', # first IP middleware from adjango
'logui.middleware.RequestResponseLoggerMiddleware', # second logui middleware
...
]
# not required
LOGUI_URL_PREFIX = 'logui/'
LOGUI_CONTROLLERS_SETTINGS = {
'auth_required': True,
'log_name': False,
'not_auth_redirect': f'/admin/login/?next=/{LOGUI_URL_PREFIX}'
}
FAQs
Flexible, fast and productive UI for logging in Django
We found that django-logui 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
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.