-
[Linux 공부] Bandit wargames 7~8 단계 grep 정규 표현식Development/Linux 2025. 5. 18. 22:04728x90반응형
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 the file data.txt next to the word millionth Commands you may need to solve this level man, grep, sort
overthewire.org
7 ~ 8단계는 원하는 단어가 있는 line을 찾는 문제입니다.
1. SSH 접속
7 ~ 8단계 비밀번호는 morbNTDkSW6jIlUc0ymOdMaLnOlFVAaj 입니다.
ssh bandit7@bandit.labs.overthewire.org -p 22202. 파일에서 원하는 단어가 포함된 line 찾기
cat data.txt 결과 ... plaid ochCeaKS7xxVEf1xdTw0E5bfs8WrrrFx crinoline's 7m7MqeWz0EPlyyRzKSkKwvB8CqOSWDHF lovely blteD0eGjobqhKcZKXChSXB0PFBbyxc2 hounding quXySkWoe6hDLiIsmZsqiCbdwYWxjzXX worriers AyRiV6aruz2YuxCEFLeumeiWQCS83KK6 whens zL6LbzIsVx8Vx6HbdJeWd4soLQfAiEda betray iGLlyYYf6ZYOchupwUgQc6C4n5XXESTr ... grep "millionth" data.txt 결과 millionth dfwvzFQi4mU0wfNbFOe9RoWskMLg7eEc728x90반응형'Development > Linux' 카테고리의 다른 글
[Linux 공부] Bandit wargames 9~10 단계 strings & grep (0) 2025.05.18 [Linux 공부] Bandit wargames 8~9 단계 sort & uniq (0) 2025.05.18 [Linux 공부] Bandit wargames 6~7 단계 find 원하는 파일 찾기 (0) 2025.05.18 [Linux 공부] Bandit wargames 5~6 단계 find 원하는 파일 찾기 (0) 2025.05.18 [Linux 공부] Bandit wargames 4~5 단계 file 읽을 수 있는 파일 찾기 (0) 2025.05.18