본문으로 건너뛰기

bandit lv 6,7

·90 단어수·1 분· loading
목차
bandit - 이 글은 시리즈의 일부입니다.
부분 2: 이 글

어려워진다

lv6
#

조건
#

  • owned by user bandit7
  • owned by group bandit6
  • 33 bytes in size

지금까지는 find를 이름으로만 찾았는데, 옵션이 너무 많다. -size 33c -user bandit7 -group bandit6 -type f 에서 에러를 없앤다.

ssh [email protected] -p 2220
#P4L4vucdmLnm8I7Vl7jG1ApGSfjYKqJU
bandit6@bandit:~$ find / -size 33c -user bandit7 -type f -group bandit6 2>> /dev/null
#var/lib/dpkg/info/bandit7.password
cat /var/lib/dpkg/info/bandit7.password
# z7WtoNQU2XfjmMtWA8u5rN4vzqu4v99S

lv7
#

#

The password for the next level is stored in the file data.txt next to the word millionth

grep사용

ssh [email protected] -p 2220
#z7WtoNQU2XfjmMtWA8u5rN4vzqu4v99S
cat data.txt | grep millionth
#TESKZC0XvTetK0S9xNwm25STk5iWrBvP
bandit - 이 글은 시리즈의 일부입니다.
부분 2: 이 글

 bandit lv 1~5 리눅스 기초 설정1