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 설치

Django 설치

YongArtist 2016. 7. 21. 22:49

1. python 설치

https://www.python.org/

2. python setuptools 설치

https://pypi.python.org/pypi/setuptools

ez_setup.py를 다운로드한 후 python으로 실행시켜 설치한다.

그런 후 C:/Python27/Scripts/ 를 환경 변수에 추가한 후 easy_install-2.7 pip를 cmd에 실행하면 pip가 설치된다.

3. Django 설치

https://www.djangoproject.com/

Download 클릭

Latest release: Django-1.9.9 tar.gz 다운로드

C:\Django-1.9.8에 압축 해제한다.

cmd 창에서 python setup.py install로 Django를 설치한다.

C:\Django-1.9.8\django\bin에 django-admin.py가 생성된 것을 확인할 수 있다.

django-admin.py를 C:\Django 경로에 저장시킨 후 Django-1.9.8 폴더 삭제 (C드라이브에 Django폴더 생성)

python django-admin.py --version으로 설치가 제대로 이뤄졌는지 확인한다.

python django-admin.py startproject sample로 sample 명을 가진 프로젝트를 생성한다.

프로젝트가 생성된 것을 확인한다.

python manage.py runserver 장고 내장 서버를 실행시킨다.

홈페이지에 http://127.0.0.1/8080를 입력하면 될 것이다.

File "C:\Python27\Lib\functools.py", line 56, in

'__lt__': [('__gt__', lambda self, other: other < self)

만약 위와 같은 오류가 발생한다면

C:\Python27\Lib에 위치한 functools.py의 내부에 convert 부분을 아래와 같이 수정하면 된다.

convert = {

'__lt__': [('__gt__', lambda self, other: not (self < other or self == other)),

('__le__', lambda self, other: self < other or self == other),

('__ge__', lambda self, other: not self < other)],

'__le__': [('__ge__', lambda self, other: not self <= other or self == other),

('__lt__', lambda self, other: self <= other and not self == other),

('__gt__', lambda self, other: not self <= other)],

'__gt__': [('__lt__', lambda self, other: not (self > other or self == other)),

('__ge__', lambda self, other: self > other or self == other),

('__le__', lambda self, other: not self > other)],

'__ge__': [('__le__', lambda self, other: (not self >= other) or self == other),

('__gt__', lambda self, other: self >= other and not self == other),

('__lt__', lambda self, other: not self >= other)]

}

from http://introfor.tistory.com/72 by ccl(A) rewrite - 2020-03-07 05:54:54

댓글

이 블로그의 인기 게시물

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

django 설치 방법

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