2020년 3월 25일 보안정보 스크래핑

2020년 3월 25일 보안정보 스크래핑 3월 25일 보안정보 스크래핑 ==================================================================== + 주요 취약점 - 메일전송 프로토콜을 이용한 원격 명령어 실행 주의 권고 외 1건 1. 메일전송 프로토콜을 이용한 원격 명령어 실행 주의 권고 최근 OpenSMTPD* 취약점이 발견되는 등 메일전송 프로토콜에서 원격 명령어 실행이 가능하여 주의를 권고함 공격자는 취약점을 악용하여 피해를 발생시킬 수 있으므로, 해결방안을 참고하여 조치 필요 - https://www.krcert.or.kr/data/secNoticeView.do?bulletin_writing_sequence=35302 2. Django 제품 SQL Injection 취약점 보안 업데이트 권고 최근 Django*에서 SQL Injection취약점(CVE-2020-9402)을 악용할 수 있는 개념증명코드(Proof of concept, PoC)가 인터넷상에 공개되어 사용자의 보안 업데이트 필요 - https://www.krcert.or.kr/data/secNoticeView.do?bulletin_writing_sequence=35301 ==================================================================== + 취약점 - Apple Safari 취약점 1. Apple Safari 취약점 Apple Safari security bypass CVE-2020-3885 - https://exchange.xforce.ibmcloud.com/vulnerabilities/178339 Apple Safari security bypass CVE-2020-3887 - https://exchange.xforce.ibmcloud.com/vulnerabilities/178338 Apple Safari inform...

django celery extension(django-celery-results)

django celery extension(django-celery-results)

해당 글은 celery documentation을 보고 정리한 것입니다. 원문은 [First steps with Django — Celery 4.4.1 documentation](http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html)

불러오는 중입니다...

여기에 있습니다.

django-celery-results

=>using the django orm/cache as a result backend

django-celery-result extions은 django orm또는 django cache 프레임워크를 사용하여 결과 백엔드를 제공한다.

$ pip install django-celery-results

pip를 통해 django-celery-results를 설치해준다.

그리고 INSTALLED_APPS에 추가해준다.

INSTALLED_APPS = ( ..., 'django_celery_results', )

이후에 migrate를 통해 django_celery_results를 생성해준다.

python manage.py migrate django_celery_results

이후에 django setting에 celery 구성을 추가해준다.

CELERY_RESULT_BACKEND = 'django-db' # 만약에 cache도 사용할 것이면 CELERY_CACHE_BACKEND = 'django-cache' # cache 셋팅또 추가할 수 있다. # celery setting. CELERY_CACHE_BACKEND = 'default' # django setting. CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.db.DatabaseCache', 'LOCATION': 'my_cache_table', } }

from http://daeguowl.tistory.com/150 by ccl(A) rewrite - 2020-03-17 14:20:17

댓글

이 블로그의 인기 게시물

엑스브레인(XBrain) 기업 정보

django 설치 방법

[aws] deploy Angular app with s3 | AWS S3로 angular 앱 배포하기