기여한 프로젝트https://github.com/projectdiscovery/nuclei-templates GitHub - projectdiscovery/nuclei-templates: Community curated list of templates for the nuclei engine to find security vulnerabiCommunity curated list of templates for the nuclei engine to find security vulnerabilities. - projectdiscovery/nuclei-templatesgithub.comNuclei란 애플리케이션, 운영체제, 인프라, 클라우드 플랫폼 및 네트워크를 조사하여 취약점 식별 및 완화를 지원하도록 설계된 ..
Etc

Google-Java-Style-Format 적용 1. IntelliJ IDEA > Settings 선택 2. Preferences > Editor > Code Style 선택 3. Scheme > Import Scheme > IntelliJ IDEA code style XML 선택 4. https://github.com/google/styleguide에 접속하여 intellij-java-google-style.xml 파일을 다운받은 후, 파일을 open하고 저장 5. GoogleStyle로 변경 완료 Google-Java-Style-Format 사용법 Mac 기준 Option + Command + L을 누르면 포맷에 맞게 코드가 변경된다. 파일을 저장할 때마다 formatter 작동시키기 1. Inte..
필터를 이용하여 서블릿에서 예외 처리를 하는 과정에서 출력되는 로그를 상세히 분석해 보고자 한다. 서블릿에서 예외 처리를 하는 과정의 흐름은 다음과 같다. WAS(여기까지 전파) ← 필터 ← 서블릿 ← 인터셉터 ← 컨트롤러(예외발생) WAS /error-page/500 다시 요청 → 필터 → 서블릿 → 인터셉터 → 컨트롤러(/error-page/500) → View 이를 기반으로 코드를 작성하고, 이를 수행하는 과정에서 출력되는 로그를 단계적으로 살펴볼 예정이다. 예외 처리를 위해 필요한 클래스 ServletExController - 클라이언트에 의한 요청 처리 컨트롤러 package hello.exception.servlet; import lombok.extern.slf4j.Slf4j; import o..
최근 Spring boot를 공부하면서 여러 강의를 동시에 공부 중인데, 강의에 따라 사용하는 jdk 버전이 달랐다. 강의를 바꿔 들을 때마다 jdk를 바꿔 적용하는 과정이 번거로워서 좀 더 간편하게 버전을 변경하여 사용할 수 있는 방법을 찾아봤다. 1. .zshrc에 아래 명령어 추가 export JAVA_HOME=$(/usr/libexec/java_home -v 1.8) export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:$JAVA_HOME" alias setJava8='export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)' alias setJava11='export JAVA_HOME=..