bandit level7

반응형


OverTheWire 문제풀이 - Bandit

* Bandit 는 리눅스 관련 문제입니다.

* 리눅스 명령어를 연습하기에 아주 좋습니다.

* 개인적인 문제풀이로 해답을 보시기 전에 직접 풀어보시기를 권해드립니다.


Bandit level7


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


grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd


다음 레벨의 암호는 millionth 단어 옆의 data.txt 파일에 저장됩니다.



ls 명령어로 현재 디텍토리를 살펴보니 data.txt 라는 파일이 있습니다.



cat 명령어로 살펴보니 매우 많은 정보가 들어 있어 복잡합니다.

이 파일안에서 millionth 단어를 찾아야 하는데 일일히 눈으로 찾으면 너무 오래 걸릴 것 같습니다.



문자열을 검색해주는 grep 명령어를 이용하니 쉽게 원하는 정보를 확인할 수 있었습니다.

grep 명령어 쓰는 법

next level password : cvX2JJa4CFALtqS87jk27qwqGhBM9plV


반응형

'War Game > bandit' 카테고리의 다른 글

Bandit level9  (0) 2017.02.23
bandit level8  (0) 2017.02.22
bandit level6  (0) 2017.02.16
bandit level5  (0) 2017.02.16
bandit level4  (0) 2017.02.16
TAGS.

Comments