[FTZ] level8 ํ’€์ด

์ตœ๋Œ€ 1 ๋ถ„ ์†Œ์š”

๐Ÿ’ก FTZ level8 ํ’€์ด

๋ฌธ์ œ

๊ณ„์ • : level8/break the world

hint

level9์˜ shadow ํŒŒ์ผ์ด ์„œ๋ฒ„ ์–ด๋”˜๊ฐ€์— ์ˆจ์–ด์žˆ๋‹ค.
๊ทธ ํŒŒ์ผ์— ๋Œ€ํ•ด ์•Œ๋ ค์ง„ ๊ฒƒ์€ ์šฉ๋Ÿ‰์ด "2700"์ด๋ผ๋Š” ๊ฒƒ ๋ฟ์ด๋‹ค.

ํ’€์ด

[level8@ftz level8]$ find / -size 2700c 2>/dev/null
/var/www/manual/ssl/ssl_intro_fig2.gif
/etc/rc.d/found.txt
/usr/share/man/man3/IO::Pipe.3pm.gz
/usr/share/man/man3/URI::data.3pm.gz

/etc/rc.d/found.txt ํŒŒ์ผ์„ ๋ณด๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

[level8@ftz level8]$ cat /etc/rc.d/found.txt
level9:$1$vkY6sSlG$6RyUXtNMEVGsfY7Xf0wps.:11040:0:99999:7:-1:-1:134549524

level9:$1$vkY6sSlG$6RyUXtNMEVGsfY7Xf0wps.:11040:0:99999:7:-1:-1:134549524

level9:$1$vkY6sSlG$6RyUXtNMEVGsfY7Xf0wps.:11040:0:99999:7:-1:-1:134549524

level9:$1$vkY6sSlG$6RyUXtNMEVGsfY7Xf0wps.:11040:0:99999:7:-1:-1:134549524

level9:$1$vkY6sSlG$6RyUXtNMEVGsfY7Xf0wps.:11040:0:99999:7:-1:-1:134549524
...

level9 ๊ณ„์ •์˜ shadow ํŒŒ์ผ์ž…๋‹ˆ๋‹ค. md5๋กœ ์•”ํ˜ธํ™” ๋˜์–ด์žˆ์ง€๋งŒ, salt๊ฐ€ ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ์˜จ๋ผ์ธ md5์‚ฌ์ดํŠธ์—์„œ๋Š” ์ฐพ๊ธฐ ํž˜๋“ญ๋‹ˆ๋‹ค.

Kali linux์— ์„ค์น˜๋œ John the ripper๋กœ ํฌ๋ž™์„ ํ•ด๋ด…๋‹ˆ๋‹ค.

shadow.txt ํŒŒ์ผ์— ํ•ด๋‹น shadow ์ •๋ณด๋ฅผ ์ ์–ด์ค€ ๋‹ค์Œ, dictionary ๋ฐฉ์‹์œผ๋กœ ๊ณต๊ฒฉ์„ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

123

ํฌ๋ž™ ๊ฒฐ๊ณผ โ€˜appleโ€™์„ ์ฐพ์•˜์Šต๋‹ˆ๋‹ค.

ํƒœ๊ทธ:

์นดํ…Œ๊ณ ๋ฆฌ:

์—…๋ฐ์ดํŠธ:

๋Œ“๊ธ€๋‚จ๊ธฐ๊ธฐ