티스토리 뷰
소문자, 대문자, 숫자 조합 8글자 이상 패스워드 매치
1 | (/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{8,}$/) | cs |
apache httpd virtualhost
1 | (?:<VirtualHost\s+(.*)>)((?:(?!</VirtualHost>).*\n?)+) | cs |
postgresql log
1 | \[([^\]]*)\] (?:\[([^\]]*)\] )?(\d{4}-\d\d-\d\d \d\d:\d\d:\d\d \w*) (?:(.*)\((\d+)\))?\[(\d*)\]: \[(.*)\] (\w*):\s+(?:duration: ([\d.]*) ms\s+statement:((?:(?!\[.*\] \d{4}-\d\d-\d\d \d\d:\d\d:\d\d \w*).*\n?)+)?)?((?:(?!\[.*\] \d{4}-\d\d-\d\d \d\d:\d\d:\d\d \w*).*\n?)*) | cs |
php error log
1 | \[([^\]]*)\] (?:\[([^\]]*)\] )?\[(\d\d-\w\w\w-\d\d\d\d \d\d:\d\d:\d\d)(?: [\w/]+)?\] PHP ([^:]+):\s+((?:(?!\[.*\] \[\d\d-\w\w\w-\d\d\d\d \d\d:\d\d:\d\d(?: [\w/]+)?\]).*\n?)+) | cs |
iptables log
1 | \[([^\]]*)\] (\w\w\w [\s\d]\d \d\d:\d\d:\d\d) (\w+) (\w+): (?::\s*)?([\w -]*):\s*(?:IN=(\w*) )?(?:OUT=(\w*) )?(?:MAC=([\w:]*) )?(?:SRC=([\w\.]*) )?(?:DST=([\w\.]*) )?(?:LEN=(\d*) )?(?:TOS=(\w*) )?(?:PREC=(\w*) )?(?:TTL=(\d*) )?(?:ID=(\d*) )?(?:(CE|DF|MF) )?(?:PROTO=(\w*) )?(?:TYPE=(\d*) )?(?:CODE=(\d*) )?(?:(\[.*\]) ?)?(?:ID=(\d*) )?(?:SEQ=(\d*) ?)?(?:SPT=(\d*) )?(?:DPT=(\d*) )?(?:LEN=(\d*) ?)?(?:WINDOW=(\d*) )?(?:RES=(\w*) )?(?:((?:CWR ?|ECE ?|URG ?|ACK ?|PSH ?|RST ?|SYN ?|FIN ?)+) )?(?:URGP=(\d*) ?)?((?:(?!\[.*\] \w\w\w [\s\d]\d \d\d:\d\d:\d\d).*)+) | cs |
httpd error log
1 | \[([^\]]*)\]\s+(?:\[([^\]]*)\] )?\[(\w{3} \w{3} \d\d \d\d:\d\d:\d\d \d{4})\]\s+\[([^\]]*)\]\s+(?:(?:\[client\s+([^\]]*)\])\s+)?((?:(?!\[([^\]]*)\]\s+(?:\[([^\]]*)\] )?\[(\w{3} \w{3} \d\d \d\d:\d\d:\d\d \d{4})\]).*\n?)*) | cs |
nginx error log
1 | \[([^\]]*)\]\s+(?:\[([^\]]*)\] )?(\d{4}/\d\d/\d\d \d\d:\d\d:\d\d)\s+\[([^\]]*)\]\s+([^:]*):\s+(\*\d+)\s+([^,]*),\s+client:\s+([^,]*),\s+server:\s([^,]*),\s+request:\s+(\"[^\"]*\"),\s+host:\s+(\"[^\"]*\")(?:,\s+referrer:\s+(\"[^\"]*\"))? | cs |
xferlog
1 | \[([^\]]*)\]\s+(?:\[([^\]]*)\] )?(\w{3} \w{3} [\s\d]\d \d\d:\d\d:\d\d \d{4})\s+(\d+)\s+([^\s]*)\s+(\d+)\s+([^\s]*)\s+(\w)\s+(\w)\s+(\w)\s+(\w)\s+([^\s]*)\s+([^\s]*)\s+(\d)\s+([^\s]*)\s+(\w) | cs |
'프로그래밍' 카테고리의 다른 글
Python zipfile 패키징/언패키징 (0) | 2017.07.12 |
---|---|
Python tarfile tar.gz 패키징/언패키징 (0) | 2017.07.06 |
Python 딕셔너리, 딕셔너리 리스트 타입 정렬(min, max, sorted, operator, lambda) (0) | 2017.01.03 |
Python 포트 스캔(socket, threading, Queue, gc, optparse) (0) | 2017.01.03 |
ASP aspJSON 사용하여 JsonArray Sorting 하기 (0) | 2016.12.07 |
댓글
warpmemory
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
페이지
TAG
- 예제
- Module
- 이슈처리
- command
- MariaDB
- File
- PowerShell
- configuration
- 명령어
- check
- client
- httpd
- 코드
- 외부링크
- Windows
- monitoring
- Ansible
- RESTful
- mysql
- code
- Web
- engineering
- example
- apache
- 번역
- deview
- error
- Linux
- limits
- Python
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
글 보관함