-
[Linux 공부] Bandit wargames 27~28 단계 git repoLinux 2025. 5. 20. 18:29728x90반응형
OverTheWire: Level Goal
We're hackers, and we are good-looking. We are the 1%. <!-- Please read and accept the Rules! --> Level Goal There is a git repository at ssh://bandit27-git@localhost/home/bandit27-git/repo via the port 2220. The password for the user bandit27-git is the s
overthewire.org
27 ~ 28 단계는 쉬어가는 단계인거 같습니다.
1. SSH 접속
27 ~ 28 단계 접속 비밀번호는 upsNCc7vzaRDx6oZC6GiR6ERwe1MowGB 입니다.
ssh bandit27@bandit.labs.overthewire.org -p 22202. git clone repo
ls -al # 응답 total 20 drwxr-xr-x 2 root root 4096 Apr 10 14:22 . # 쓰기 권한이 없습니다. drwxr-xr-x 70 root root 4096 Apr 10 14:24 .. -rw-r--r-- 1 root root 220 Mar 31 2024 .bash_logout -rw-r--r-- 1 root root 3771 Mar 31 2024 .bashrc -rw-r--r-- 1 root root 807 Mar 31 2024 .profile mkdir /tmp/hoho cd /tmp/hoho git clone ssh://bandit27-git@localhost:2220/home/bandit27-git/repo # 비밀번호는 bandit27 접속 비밀번호와 같습니다. ls -al # 응답 total 9984 drwxrwxr-x 3 bandit27 bandit27 4096 May 20 09:21 . drwxrwx-wt 4167 root root 10211328 May 20 09:27 .. drwxrwxr-x 3 bandit27 bandit27 4096 May 20 09:21 repo cd repo ls -al # 응답 total 16 drwxrwxr-x 3 bandit27 bandit27 4096 May 20 09:21 . drwxrwxr-x 3 bandit27 bandit27 4096 May 20 09:21 .. drwxrwxr-x 8 bandit27 bandit27 4096 May 20 09:21 .git -rw-rw-r-- 1 bandit27 bandit27 68 May 20 09:21 README cat README # 응답 The password to the next level is: Yz9IpL0sBcCeuG7m9uQFt8ZNpS4HZRcN728x90반응형'Linux' 카테고리의 다른 글
[Linux 공부] Bandit wargames 29~30 단계 git (0) 2025.05.20 [Linux 공부] Bandit wargames 28~29 단계 git log (1) 2025.05.20 [Linux 공부] Bandit wargames 26~27 단계 more & setuid & set (0) 2025.05.20 [Linux 공부] Bandit wargames 25~26 단계 more (0) 2025.05.20 [Linux 공부] Bandit wargames 24~25 단계 script 짜기 (0) 2025.05.19