๐Ÿง Linux (Bandit)

[OverTheWire][Linux] Bandit Level5 -> Level6

์„ ๋‹ฌ 2024. 12. 23. 07:59
๋ฐ˜์‘ํ˜•

๋ฌธ์ œ

Level Goal

The password for the next level is stored in a file somewhere under the inhere directory and has all of the following properties:

  • human-readable
  • 1033 bytes in size
  • not executable

Commands you may need to solve this level

ls , cd , cat , file , du , find

 

ํ’€์ด

bandit5@bandit:~$ cd inhere

๋„ˆ๋ฌด ๋งŽ๋‹ค!

๋ฌธ์ œ์— ์ •๋‹ต ํŒŒ์ผ์˜ ์กฐ๊ฑด์ด ์ฃผ์–ด์กŒ์œผ๋‹ˆ ์กฐ๊ฑด์— ๋งž๋Š” ํŒŒ์ผ๋งŒ ๊ฒ€์ƒ‰ํ•ด๋ณด์ž

 

  1. find . : ํ˜„์žฌ ๋””๋ ‰ํ† ๋ฆฌ์™€ ํ•˜์œ„ ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ํƒ์ƒ‰ํ•ฉ๋‹ˆ๋‹ค.
  2. -size 1033c : ํŒŒ์ผ ํฌ๊ธฐ๊ฐ€ ์ •ํ™•ํžˆ 1033 ๋ฐ”์ดํŠธ(c๋Š” ๋ฐ”์ดํŠธ ๋‹จ์œ„๋ฅผ ์˜๋ฏธ)๋ฅผ ๋งŒ์กฑํ•˜๋Š” ํŒŒ์ผ๋งŒ ์ฐพ์Šต๋‹ˆ๋‹ค.
bandit5@bandit:~/inhere$ find . -size 1033c

 

 

๋”๋ณด๊ธฐ

HWasnPhtq9AVKe0dmk45nxy20cvUa6EG

๋ฐ˜์‘ํ˜•

'๐Ÿง Linux (Bandit)' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

[OverTheWire][Linux] Bandit Level7 -> Level8  (0) 2024.12.23
[OverTheWire][Linux] Bandit Level6 -> Level7  (0) 2024.12.23
[OverTheWire][Linux] Bandit Level4 -> Level5  (0) 2024.12.20
[OverTheWire][Linux] Bandit Level3 -> Level4  (0) 2024.12.20
[OverTheWire][Linux] Bandit Level2 -> Level3  (1) 2024.12.20