Skip to main content

bandit lv 6,7

·90 words·1 min· loading
Table of Contents
bandit - This article is part of a series.
Part 2: This Article

어려워진다

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 - This article is part of a series.
Part 2: This Article