보물찾기같다.
아직까지는 그냥 리눅스 터미널 만지는 느낌
현재 디렉토리에 어떤 파일 있는지 확인
ls -l
level 1 말대로 readme 파일이 있다.
아마 이 readme 파일에 비번이 적혀있을것같다.
파일을 열기 위해서는 제시된 명령어 ls, cd, cat, file, du, find 중에서 cat으로 readme 내용 출력
파일 내용 출력하기
cat File
file: 파일 종류를 확인하기
file File
디렉토리 디스크 사용량 확인하기 (K, G, M 단위로)
du -h
현재 디렉토리에서 파일 및 디렉토리 찾기
find File
굿!
boJ9jbbUNNfktd78OOpsqOltutMc3MY1
키를 얻었고
bandit1 로 로그인!
ssh bandit1@bandit.labs.overthewire.org -p 2220 -l bandit1
근데 왜 자꾸 connection time out이 뜨지..흠
bandit0로 로그인한 터미널에서 ssh를 실행하는게 아니라
새 터미널을 열어서 위 ssh 명령어를 입력하고 bandit0에서 얻은 키를 비번으로 입력하면 된다!
'Bandit' 카테고리의 다른 글
22.01.11 level 3 → 4. inhere, .hidden (0) | 2022.01.11 |
---|---|
22.01.11 level 2 → 3. spaces in this filename (0) | 2022.01.11 |
22.01.11 level 1 → 2. cat ./- (0) | 2022.01.11 |
22.01.11 [Shell] ttys000 (0) | 2022.01.11 |
22.01.10 level 0. ssh (0) | 2022.01.10 |