본문 바로가기

전체보기272

[WarGame] Bandit, Level 0 [WarGame] Bandit, Level 0 Problem 단순하게 ssh로 접속하면 된다. 비밀번호도 알려주고 있다. Solving -bash-3.2$ ssh bandit0@bandit.labs.overthewire.org -p 2220 # ... 패스워드 입력 ... Refer https://overthewire.org/wargames/bandit/bandit0.html 2023. 3. 19.
[WarGame] Bandit 풀이를 포스팅 하면서 https://overthewire.org/wargames/ OverTheWire: Wargames We're hackers, and we are good-looking. We are the 1%. Wargames The wargames offered by the OverTheWire community can help you to learn and practice security concepts in the form of fun-filled games. To find out more about a certain wargame, just visit its overthewire.org 마치 해킹하는 것처럼, 즐기는 워게임을 하는 것인데 심심해서 새벽에 터미널 놀이하면서, 풀었던 기록을 블로그에 업로드 하려고.. 2023. 3. 19.
[AWS] Apache - Tomcat 연동하기 (mod_jk) [AWS] Apache - Tomcat 연동하기 (mod_jk) #aws 모든 작업은 apache 웹서버에서 작성합니다. Apache & TOMCAT 연동 4 mod_jk로 아파치/톰캣 연동 : 네이버 블로그 wget 설치 yum install wget tomcat connector 설치 sudo wget https://dlcdn.apache.org/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.48-src.tar.gz 압축해제 sudo tar xvfz tomcat-connectors-1.2.46-src.tar.gz configure을 사용하여 설치하면 될 것으로 추측 (주석 설명) apxs 경로 탐색 find / -name apxs 설치 진행 cd /usr/s.. 2023. 3. 12.
[Git] 이미 올린 PR 수정하는 방법 (+ Commit, Merge 취소하는 방법) 이미 올린 PR 수정하는 방법 수정 후 git add 하기 (이미 추가된 경우 필요 X) git commit --amend (commit 덮어쓰기) git push -f origin [branch-name] 무조건 강제로 밀어 넣어야 반영이 된다. Commit 취소하는 방법 - git reset --soft HEAD^ Merge 취소하는 방법 git reset --merge ORIG_HEAD (현재 바라보고 있는 헤드의 merge 취소) Git 커밋 계정 정보 수정 git config --local user.name "계정명" git config --local user.email "이메일주소" Git 로컬 패스워드 수정 git config --unset credential.helper git pull .. 2022. 11. 22.
[Spring] 유용한 Custom Validation을 구현해보자 (숫자, 특수문자, 영어, 한글, 날짜, url, ip, uuid, YN...) 이전 글 까지, Spring에서 제공하는 “Bean Validation” 기능에 대해서 알아보고 Custom Validation을 구현하는 방법을 알아봤습니다. 이번 글에서는, 유용하게 사용할 수 있는 “Custom Validation”을 구현하여, 샘플을 정리 및 공유하겠습니다. Github Link 해당 글을 작성하면서, 개발된 스프링 부트 기반의 프로젝트입니다. https://github.com/rojae/Spring-Validation-Check-Sample/tree/v3 GitHub - rojae/Spring-Validation-Check-Sample Contribute to rojae/Spring-Validation-Check-Sample development by creating an acc.. 2022. 11. 16.
[Spring] Validation 체크를 커스텀 개발해보자 (ConstraintValidator, 초기화에 대한 궁금증) 자바에서는 Java Community Process (JCP)에서 “Bean Validation”이라는 스펙을 공개를 했습니다. 이는 Validation 체크를 위해서 많은 자바 진영의 개발자들이 사용하고 있습니다. 참고로 실제 우리가 사용하고 있는 @NotNull, @NotBlank와 같은 Annotation은 Bean Validation의 Implementation인 “Hibernate Validator”입니다. 위 내용은 이전의 포스팅에서 설명했습니다. https://redcoder.tistory.com/319 [Java] Bean Validation에 대해서 알아보자 (JSR-303, JSR-380, 파라미터 유효성 체크) 서비스에서 중요한 기술 중 하나가, Validation을 체크하는 기술입니.. 2022. 11. 7.