전체 글
-
[WarGame] Bandit, Level 2 → Level 3워게임 2023. 3. 19. 19:27
[WarGame] Bandit, Level 2 → Level 3 Problem 단순하게 스페이스가 포함된 패스워드 파일을 확인하면 된다. Solving -bash-3.2$ ssh bandit2@bandit.labs.overthewire.org -p 2220 bandit2@bandit:~$ ls -rtl total 4 -rw-r----- 1 bandit3 bandit2 33 Feb 21 22:03 spaces in this filename bandit2@bandit:~$ cat spaces\ in\ this\ filename Refer https://overthewire.org/wargames/bandit/bandit3.html
-
[WarGame] Bandit, Level 1 → Level 2워게임 2023. 3. 19. 19:26
[WarGame] Bandit, Level 1 → Level 2 Problem 패스워드 파일, ‘-’ 파일을 확인하면 된다. (그냥 cat을 option 없이 출력하는 문제) Solving -bash-3.2$ ssh bandit1@bandit.labs.overthewire.org -p 2220 # ... 패스워드 입력 ... bandit1@bandit:~$ ls -rtl total 4 -rw-r----- 1 bandit2 bandit1 33 Feb 21 22:03 - bandit1@bandit:~$ cat ./- Refer https://overthewire.org/wargames/bandit/bandit2.html
-
[WarGame] Bandit, Level 0 → Level 1워게임 2023. 3. 19. 19:26
[WarGame] Bandit, Level 0 → Level 1 Problem 단순하게 ssh로 접속하면 된다. 홈 디렉토리에 패스워드 파일이 있다고 한다. Solving -bash-3.2$ ssh bandit0@bandit.labs.overthewire.org -p 2220 # ... {패스워드 입력 ... -rw-r----- 1 bandit1 bandit0 33 Feb 21 22:02 readme bandit0@bandit:~$ cat readme Refer https://overthewire.org/wargames/bandit/bandit1.html
-
[WarGame] Bandit 풀이를 포스팅 하면서워게임 2023. 3. 19. 19:24
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 마치 해킹하는 것처럼, 즐기는 워게임을 하는 것인데 심심해서 새벽에 터미널 놀이하면서, 풀었던 기록을 블로그에 업로드 하려고..
-
[AWS] Apache - Tomcat 연동하기 (mod_jk)AWS, Infra/linux 2023. 3. 12. 18:46
[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..
-
[Git] 이미 올린 PR 수정하는 방법 (+ Commit, Merge 취소하는 방법)AWS, Infra/Gitlab 2022. 11. 22. 10:13
이미 올린 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 ..
-
[Spring] 유용한 Custom Validation을 구현해보자 (숫자, 특수문자, 영어, 한글, 날짜, url, ip, uuid, YN...)카테고리 없음 2022. 11. 16. 19:48
이전 글 까지, 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..