To comply with the rule, in this write-up, I just deal with some hints related to this challenge. Here is no correct answer and no solution.
룰을 준수하기 위해, 이 문서에서는 이 챌린지와과 관련된 몇 가지 힌트만을 다룹니다. 여기에 정답과 솔루션은 없습니다.
Bandit Level 17 → Level 18
Level Goal
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.
레벨 목표
홈 디렉토리에는 서로 다른 파일들이 있다. 그것은 "passwords.old" 그리고 “passwords.new"이다. 다음 레벨을 위한 패스워드는 "passwords.new"에 있는데, "passwords.old"와 ”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
참고: 만약 이 레벨을 클리어 했다면, "Byebye!"를 보게 될 것인데, 이는 다음 레벨인 bandit19의 로그인과 관련이 있다.
Commands you may need to solve this level
이 레벨을 클리어하기 위해 필요할 것으로 예상되는 명령어.
cat, grep, ls, diff
This challenge requires the ability to find differences between files. If you have experience with text processing, it will be easier.
이 챌린지는 리눅스에서 두 파일간의 차이를 찾아내는 능력을 요구합니다. 만약 당신이 텍스트 처리 경험이 있다면 보다 수월할 것입니다.
The below is some part of the resolution procedures. I could find the flag as follow.
아래는 풀이 과정중 일부입니다. 아래와 같이 플래그를 찾을 수 있었습니다.
$ file ./*
./passwords.new: ASCII text
./passwords.old: ASCII text
$ ls -al
-rw-r----- 1 bandit18 bandit17 3300 Oct 16 14:00 passwords.new
-rw-r----- 1 bandit18 bandit17 3300 Oct 16 14:00 passwords.old
$
$ sha256sum ./passwords.old ./passwords.new
3c25377b92f54af2d16b528e04d76a4a39c9950dfc1af81d2ea86fd259a72cc0 ./passwords.old
2c1279efc03de912bb06898a3d6c869f2a5f7fb56e05269e6bcfa1e5a9bc72a6 ./passwords.new
$
$ ■■■■■■ords.■■■■■■swords.n■■■■
■■■■■■
< hlbSBPAWJmL6WFDb06gpTx1pPButblOA
---
> kfBf■■■■■BRzwj■■■E887■■■Yd
If you need the full write-up PDF, please refer to the following page.
풀 write-up PDF가 필요하신 분은 아래 페이지를 참고하시기 바랍니다.
https://cysecguide.blogspot.com/2017/10/wargame-write-up-list.html