#문제
https://overthewire.org/wargames/bandit/bandit1.html
OverTheWire: Level Goal
We're hackers, and we are good-looking. We are the 1%. <!-- Please read and accept the Rules! --> Level Goal The password for the next level is stored in a file called readme located in the home directory. Use this password to log into bandit1 using SSH. W
overthewire.org
비밀번호가 홈 디렉토리에 있는 readme 파일에 저장된다. 고 한다.
#풀이
전에 포스팅 했던 글에서 Putty를 실행한거 처럼 Putty 실행하고
Bandit0을 입력해준다. 비번은 Bandit0
ls를 입력해서 홈 디렉토리의 파일을 확인해준다!@
문제에서 봤던 readme라는 파일이 존재한다는 걸 알 수 있따!
파일 읽는 명령어 cat을 써서 cat readme를 입력했더니 비밀번호!가 나왔따.
bandit1: NH2SXQwcBdpmTEzi3bvBHMM9H66vVXjL
-------------------
<사용한 명령어>
ls- 디렉토리 안의 파일 읽기
cat- 파일 안 모든 내용 확인
'보안 > Bandit' 카테고리의 다른 글
[OverTheWire: Bandit] Level4->Level5 (0) | 2024.05.03 |
---|---|
[OverTheWire: Bandit] Level3->Level4 (0) | 2024.05.03 |
[OverTheWire: Bandit] Level2->Level3 (0) | 2024.05.03 |
[OverTheWire: Bandit] level1 -> level2 (0) | 2024.05.03 |
[OverTheWire: Bandit] bandit 환경구축 (0) | 2024.05.03 |