반응형
SMALL

bandit8 -> bandit9

 

[1] bandi8비밀번호는 data.txt 저장되어 있다.

bandit7 -> bandit8

 

[2] Host Name : bandit.labs.overthewire.org Poart : 2220 입력

bandit7 -> bandit8

[3] bandit8@bandit: ~$  ls -al

     data.txt 파일이 보인다.

 

[4]  bandit8@bandit: ~$  cat data.txt 

     data.txt 내용이 많이 나온다. 어떤 것이 bandit8 비밀번호가 무엇인지 모른다.

    힌트 the only line of text 

bandt7 -> bandit8

[5]  uniq [옵션]  내용의 중복을 제거

       sort [옵션] 내용을 숫자, 알파벳 순으로 정렬

       명령어 sort | uniq -c  사용한다.

 

[6] bandit8@bandit: ~$ cat data.txt  |  sort  |  uniq -c

bandit7 -> bandit8

[7]  1 번이   bandit8의 비밀번호이다.

반응형
LIST

+ Recent posts