bandit17

KJH·2022년 11월 29일

bandit

목록 보기
13/29
ssh bandit17@bandit.labs.overthewire.org -p 2220  
#VwOSWtCA7lRKkTfbr2IDh6awj9RNZM5e

There are 2 files in the homedirectory: passwords.old and passwords.new. The password for the next level is in passwords.new and is the only line that has been changed between passwords.old and passwords.new
NOTE: if you have solved this level and see ‘Byebye!’ when trying to log into bandit18, this is related to the next level, bandit19

password.old와 password.new 파일에서 다른 줄을 찾아라


풀이

정보

diff [file][file]

  • 두 (최대3) 파일간의 다른점 출력
  • u 옵션을 쓰면 근처의 내용도 보임
bandit17@bandit:~$ diff passwords.old passwords.new -d -w

#hga5tuuCLF6fFzUpnagiMN8ssu9LFrdg

이 비번으로 로그인하면 바로 종료된다

0개의 댓글