| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |
- 자바스크립트비밀번호검증
- 비밀번호정규식
- mariadb upgrade
- PHP 세션 처리
- 비밀번호검증정규식
- usb 삭제
- php 배열제거
- 아파치 웹 서버의 정보 숨기기
- httpd.conf 보안 설정
- 윈도우 환경 아파치 mod_security2 설치
- thumbnail 클래스
- 숫자 3자리(천단위) 마다 콤마 찍기
- 윈도우 mod_security2
- mod_security2 설치
- javascript
- usb efi 시스템 파티션 삭제
- VS Code 서버설치
- apple push notification service (apns) is changing
- php 이미지 url 검증 함수
- PHP 정규식 예제
- modsecurity 설치
- bootstrap
- wsl2 우분투에 docker 설치
- 유튜브 플레이 리스트 저장
- group_concat 구분자
- bootstrap modal
- 파라미터 & 오류
- postfix 설치
- html pdf 변환
- sha-2 root
- Today
- Total
목록분류 전체보기 (299)
투덜이 개발자
30분(inactivity) 지나면 강제 로그아웃 1) 공통 include 파일: session_guard.php $INACTIVITY_LIMIT) { // 만료 처리: 세션 파기 + 쿠키 제거 + 리다이렉트 session_unset(); session_destroy(); // 세션 쿠키 제거 if (ini_get('session.use_cookies')) { $params = session_get_cookie_params(); setcookie(session_name(), '', time() - 3600, $params['path'] ?? '/', ..
VS Code 서버(code-server) 설치 sudo curl -fsSL https://code-server.dev/install.sh | shsudo systemctl enable --now code-server@[사용자명]&ex) sudo systemctl enable --now code-server@jhshinsudo systemctl status code-server@jhshin#code-server 설치 및 ~/.config/code-server/config.yaml 설정cat > /home/jhshin/.config/code-server/config.yaml (엔터)##################################bind-addr: 127.0.0.1:8080auth: passw..
이미지 변환 Thumbnail 클래스 $srcFile, 'size' => filesize($srcFile), 'width' => $width, 'height' => $height ); } if ($cropSquare) { $cropSize = min($width, $height); $srcX = ($width - $cropSize) / 2; $srcY = ($height - $cropSize) / 2; $newWidth = $newHeight = $thumbWidth; } else { ..
WSL(우분투) 환경에 Laravel(라라벨) 11 설치 curl -s https://laravel.build/laraking | bash해서 설치 되면 최신버전이 설치 된다. 현 시점 12 가 설치 된다. WSL(우분투) 환경에는 PHP가 설치되어 있지 않아서 Laravel 11을 설치할 수 없습니다. 그래서 PHP, Composer 를 설치후 Laravel 및 Sail 을 설치한다. 1. PHP 8.2 설치 (권장)sudo apt updatesudo apt install software-properties-common -ysudo add-apt-repository ppa:ondrej/php -ysudo apt updatesudo apt install php8.2 php8.2-cli php8.2-co..
방법 1: Export YouTube Playlist 도구 사용 Export YouTube Playlist는 유튜브 플레이리스트를 CSV, Excel, 텍스트 등 다양한 형식으로 추출할 수 있는 무료 웹 도구입니다.export-youtube-playlist.vercel.app사용 방법:웹사이트에 접속합니다: https://export-youtube-playlist.vercel.app/플레이리스트 URL을 입력합니다:https://www.youtube.com/playlist?list=PLTb3qGCzYjS0x2btnSEeRYvh20Y_aI7x8파일 형식을 선택합니다: CSV추출할 항목을 선택합니다: 제목, URL, 길이 등정렬 옵션을 설정합니다 (선택 사항)Export 버튼을 클릭하여 파일을 다운로드합니..
CentOS Linux 7 modsecurity-crs 적용sudo wget https://github.com/coreruleset/coreruleset/archive/v3.3.4.tar.gztar xvfzp v3.3.4.tar.gzmkdir /etc/httpd/modsecurity-crsmv coreruleset-3.3.4 /etc/httpd/modsecurity-crs/.cd /etc/httpd/modsecurity-crs/coreruleset-3.3.4mv crs-setup.conf.example crs-setup.conf# OWASP CRS (Core Rule Set) 3.3.4 을 사용하므로 # &MULTIPART_PART_HEADERS는 ModSecurity v2에서 인식 불가능 # 파일 이름..
cronolog는 로그 파일을 날짜별로 나눠 저장할 수 있게 해주는 외부 유틸리티입니다. Apache 등에서 로그 파일을 날짜별로 회전하려는 경우 종종 사용되며, 직접 설치해야 합니다. cronolog는 오래된 패키지이고 공식 저장소에는 없을 수 있어서, 보통 소스 빌드 또는 서드파티 저장소를 이용해 설치해야 합니다. cd /usr/local/srcwget http://ftp.debian.org/debian/pool/main/c/cronolog/cronolog_1.6.2+rpk.orig.tar.gztar zxvf cronolog_1.6.2+rpk.orig.tar.gzcd cronolog-1.6.2./configuremakesudo make install 설치가 완료되면, cronolog 명령어의 위치를 ..
🔧 1. Postfix 설치sudo apt updatesudo apt install postfix설치 중간에 "Postfix Configuration" 화면이 나타납니다.General type of mail configuration:→ Internet Site 선택System mail name:이 값은 메일 주소의 도메인 부분 (user@example.com)이 됩니다.→ 서버의 도메인명을 입력 (예: example.com)⚙️ 2. 기본 설정 확인 및 수정설치 후 설정 파일은 /etc/postfix/main.cf에 있습니다.수정 시:sudo nano /etc/postfix/main.cf중요 항목 예시:myhostname = mail.example.commyorigin = /etc/mailnamemyd..