Jastes 2023. 7. 19. 20:04

WriteUp

Level0-1

WriteUp
๋”๋ณด๊ธฐ

ํ•ด๋‹น ๋ฌธ์ œ๋Š” SSH ์ ‘๊ทผ์„ ๋ช…์‹œํ•˜๋Š” ๋‚ด์šฉ์œผ๋กœ..

์‚ฌ์‹ค ์„ค๋ช…ํ•  ๋ถ€๋ถ„์€ ๋ณ„๋กœ ์—†์ง€๋งŒ ์ •๋ฆฌํ•˜์ž๋ฉด

ssh UserID@Server|Remote ip -p Port

์œ„์™€ ๊ฐ™์ด ์ ์œผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค

 ์ „ Xshell๋กœ ์ ‘์†ํ• ๊ฑฐ๋ผ์„œ.. ์•ž์œผ๋กœ๋Š” ๋น„๋ฒˆ์œผ๋กœ๋งŒ ๋ช…์‹œํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

[Next Level]
ID : bandit1
PW : NH2SXQwcBdpmTEzi3bvBHMM9H66vVXjL
์ฐธ๊ณ  ์ž๋ฃŒ
 

๋ฆฌ๋ˆ…์Šค SSH ํด๋ผ์ด์–ธํŠธ - ์ œํƒ€์œ„ํ‚ค

๋‹ค์Œ ๋ฌธ์ž์—ด ํฌํ•จ...

zetawiki.com

 

ssh(1) - Linux manual page

ssh(1) — Linux manual page SSH(1) BSD General Commands Manual SSH(1) NAME         top ssh — OpenSSH remote login client SYNOPSIS         top ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] [-b bind_address] [-c cipher_spec] [-D [bind_address

man7.org


 

Level1

WriteUp
๋”๋ณด๊ธฐ

๋‹ค์Œ ์ €์žฅ๋œ ๋น„๋ฒˆ์˜ ์œ„์น˜๋ฅผ ๋ช…์‹œํ•ฉ๋‹ˆ๋‹ค.

 

๋‹จ, ํŒŒ์ผ๋ช…์€ - ๋กœ์จ, ๊ธฐ๋ณธ์ ์œผ๋กœ ์ž…์ถœ๋ ฅ์— ๋ช…์‹œ๋˜๋Š” ๋ฌธ๊ตฌ์ด๊ธฐ์—

์ผ๋ฐ˜์ ์ธ ๋ฐฉ์‹์œผ๋กœ๋Š” ์ถœ๋ ฅ์ด ์•ˆ๋˜๊ธฐ์— ๋ช…ํ™•ํ•˜๊ฒŒ ๋ช…์‹œํ•ด์ค˜์•ผํ•ฉ๋‹ˆ๋‹ค.

cat ./- or cat < -

์œ„์™€ ๊ฐ™์ด ์ ์œผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค

[Next Level]
ID : bandit2
PW : rRGizSaX8Mk1RTb1CNQoXTcYZWU6lgzi
์ฐธ๊ณ  ์ž๋ฃŒ
 

๋ฆฌ๋ˆ…์Šค cat - ์ œํƒ€์œ„ํ‚ค

๋‹ค์Œ ๋ฌธ์ž์—ด ํฌํ•จ...

zetawiki.com

 

Usage of dash (-) in place of a filename

For a command, if using - as an argument in place of a file name will mean STDIN or STDOUT. But in this example, it creates a file with the name -: echo hello > - How can I make - in this exa...

unix.stackexchange.com


Level2

WriteUp
๋”๋ณด๊ธฐ

๋‹ค์Œ ๋‹จ๊ณ„๋กœ ๋„˜์–ด๊ฐ€๋Š” ํŒŒ์ผ์ด ๊ณต๋ฐฑ์ด ์ ์šฉ๋˜์–ด ์žˆ๋‹ค๋„ค์š”

ls -al
...(์ƒ๋žต)

์œ„์™€ ๊ฐ™์ด ์ ์œผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค

[Next Level]
ID : bandit3
PW : aBZ0W5EmUfAf7kHTQeOwd8bauFJ2lAiG

 

์ฐธ๊ณ  ์ž๋ฃŒ
 

๋ฆฌ๋ˆ…์Šค ls - ์ œํƒ€์œ„ํ‚ค

 

zetawiki.com

 


Level3

WriteUp
๋”๋ณด๊ธฐ

inhereํด๋” ๋‚ด์— ์ˆจ๊ฒจ์ ธ ์žˆ๋‹ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค.

cat spaces\ in\ this\ filename

์œ„์™€ ๊ฐ™์ด ์ ์œผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค

[Next Level]
ID : bandit4
PW : 2EW7BBsr6aMMoJ2HjW067dm8EgX26xNe

 

์ฐธ๊ณ  ์ž๋ฃŒ

 

๋ฆฌ๋ˆ…์Šค ls - ์ œํƒ€์œ„ํ‚ค

 

zetawiki.com

 


Level4

WriteUp
๋”๋ณด๊ธฐ

์‚ฌ๋žŒ์ด ์ฝ์„ ์ˆ˜ ์žˆ๋Š” ๋ฌธ์„œ๋กœ inhere์˜ ํด๋”๋‚ด์— ์กด์žฌํ•œ๋‹ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค.

๊ทธ๋ฆฌ๊ณ  ํ„ฐ๋ฏธ๋„์ด ํฝ๊ฐ€๋ฉด reset ํ•ด๋ณด๋ผ๊ณ  ์ถ”์ฒœํ•˜๋„ค

file ./-*

์œ„์™€ ๊ฐ™์ด ์ ์œผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค

์œ„์—์ฒ˜๋Ÿผ ํ•˜๋Š” ๊ฒƒ์€ ๋ช…์‹œํ•˜๋Š” ๊ฒƒ์ธ๋ฐ

์‰˜ ์Šคํฌ๋ฆฝํŠธ๋ž‘ ํŒจํ„ด์„ ํ˜ผํ•ฉํ•œ ํ˜•์‹์ž…๋‹ˆ๋‹ค.

 

[Next Level]
ID : bandit5
PW : lrIWWI6bB37kxfiCQZqUdOIYfr6eEeqR

 

์ฐธ๊ณ  ์ž๋ฃŒ
 

๋ฆฌ๋ˆ…์Šค file - ์ œํƒ€์œ„ํ‚ค

๋‹ค์Œ ๋ฌธ์ž์—ด ํฌํ•จ...

zetawiki.com

 

Bash Reference Manual

This chapter describes how to use the GNU History Library interactively, from a user’s standpoint. It should be considered a user’s guide. For information on using the GNU History Library in other programs, see the GNU Readline Library Manual. 9.1 Bash

www.gnu.org

 

Bash command to find files that match file[0-9]+.js

I'm trying to work out how I can match files app1.js, app2.js, but NOT app-foo-1.js in a directory. Currently I have this in my bash script: for d in /home/chambres/web/x.org/public_html/2018/js/a...

stackoverflow.com


Level5

WriteUp
๋”๋ณด๊ธฐ

๋‹ค์Œ ๋‹จ๊ณ„๋กœ ๋„˜์–ด๊ฐ€๋Š” ํŒŒ์ผ์ด ํŒŒ์ผ๋กœ ๋‘˜๋Ÿฌ์Œ“์—ฌ ํ•ด๋‹น ์กฐ๊ฑด์ด์—ฌ์•ผํ•ฉ๋‹ˆ๋‹ค..

์‹คํ–‰ ํŒŒ์ผ์ด ์•„๋‹ˆ๋ฉฐ ํฌ๊ธฐ๋Š” 1033byte ๊ทธ๋ฆฌ๊ณ  ์šฐ๋ฆฌ๊ฐ€ ์ฝ์„ ์ˆ˜ ์žˆ๋Š” ํƒ€์ž…..

์ผ๋ฐ˜์ ์ธ ๋ฐฉ๋ฒ•์œผ๋ก  ์•ˆ๋˜๊ฒ ์ฃ 

๊ทธ๋Ÿผ find ๋ช…๋ น์–ด ์˜ต์…˜์„ ํ™œ์šฉํ•ด์„œ ํ’€์–ด๋ด…์‹œ๋‹ค.

size ํ™•์ธ
ํ•ด๋‹น ๋ฌธ์„œ์˜ ์ข…๋ฅ˜(ํƒ€์ž…) ํ™•์ธ
์‹คํ–‰ ํŒŒ์ผ์ธ์ง€ ํ™•์ธ

 

find -type f -size 1033c ! -executable

์œ„์™€ ๊ฐ™์ด ์ ์œผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค

[Next Level]
ID : bandit6
PW : P4L4vucdmLnm8I7Vl7jG1ApGSfjYKqJU

 

์ฐธ๊ณ ๋กœ ์•Œ๋œฐ์‹ ์žก์œผ๋กœ..

 ์œ„์™€ ๊ฐ™์ด ls์—์„œ -R(ํ•˜์œ„๊นŒ์ง€) ์˜ต์…˜์„ ํ™œ์šฉํ•˜๋ฉด ์œ„์™€ ๊ฐ™์ด ์ฐพ๊ธฐ ๊ฐ€๋Šฅ
๋‹จ ์ •ํ™•ํ•œ ์œ„์น˜๋Š” ๋ช…์‹œ๋ฅผ ์•ˆํ•˜๊ธฐ์— ์ด๋Ÿฐ๊ฒƒ๋„ ์žˆ๊ตฌ๋‚˜๋ผ๊ณ  ์•Œ์•„๋งŒ ๋‘ 

 

์ฐธ๊ณ  ์ž๋ฃŒ
 

๋ฆฌ๋ˆ…์Šค find - ์ œํƒ€์œ„ํ‚ค

๋‹ค์Œ ๋ฌธ์ž์—ด ํฌํ•จ...

zetawiki.com


Level6

WriteUp
๋”๋ณด๊ธฐ

๋‹ค์Œ ๋‹จ๊ณ„๋กœ ๋„˜์–ด๊ฐ€๋Š” ํŒŒ์ผ์ด ํŒŒ์ผ๋กœ ๋‘˜๋Ÿฌ์Œ“์—ฌ ํ•ด๋‹น ์กฐ๊ฑด์ด์—ฌ์•ผํ•ฉ๋‹ˆ๋‹ค..

ํŒŒ์ผ ๊ถŒํ•œ์ด bandit7์— ์žˆ๊ณ  group์€ 6์ด๊ณ  33size..

 

๊ทธ๋Ÿผ find ๋ช…๋ น์–ด ์˜ต์…˜์„ ํ™œ์šฉํ•ด์„œ ํ’€์–ด๋ด…์‹œ๋‹ค.

find / -user bandit7 -group bandit6 -size 33c 2>/dev/null
/ from root folder
-user the owner of the file.
-group the group owner of the file.
-size the size of the file.
2>/dev/null redirects error messages to null so that they do not show on stdout.

์œ„์™€ ๊ฐ™์ด ์ ์œผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค

[Next Level]
ID : bandit7
PW : z7WtoNQU2XfjmMtWA8u5rN4vzqu4v99S

Level7

WriteUp
๋”๋ณด๊ธฐ

data.txt์— ์ €์žฅ๋˜์–ด ์žˆ๋‹ค๊ณ  ํ•˜๋‚˜, ์•ˆ์— ๋ฐ์ดํ„ฐ ์ค‘
millionth๋ผ๋Š” ๋‹จ์–ด ์˜†์— ์žˆ๋Š” ๋ชจ์–‘์ด๋„ค

๊ทธ๋Ÿผ find ๋ช…๋ น์–ด ์˜ต์…˜์„ ํ™œ์šฉํ•ด์„œ ํ’€์–ด๋ด…์‹œ๋‹ค.

ํ•ด๋‹น grep ์„ค๋ช…
cat data.txt | grep 'millionth'

์œ„์™€ ๊ฐ™์ด ์ ์œผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค

[Next Level]
ID : bandit8
PW : TESKZC0XvTetK0S9xNwm25STk5iWrBvP

grep ๋ช…๋ น์–ด๋Š” ํ•ด๋‹น ํŒจํ„ด์„ ํ†ตํ•ด ์ฐพ๋Š” ์˜ต์…˜์ž…๋‹ˆ๋‹ค.

์ฐธ๊ณ ์ž๋ฃŒ
 

๋ฆฌ๋ˆ…์Šค ๋ฌธ์ž์—ด ํŒจํ„ด ๊ฒ€์ƒ‰ grep - ์ œํƒ€์œ„ํ‚ค

๋‹ค์Œ ๋ฌธ์ž์—ด ํฌํ•จ...

zetawiki.com


Level8

WriteUp
๋”๋ณด๊ธฐ

data.txt์— ์žˆ๋Š”๋ฐ.. ํ•œ ๋ผ์ธ์— ์˜ค์ง ํ•œ ๋‹จ์–ด๋กœ๋งŒ ์žˆ๋‹ค๋„ค์š”..

๊ทธ๋งŒํผ ์œ ๋‹ˆํฌ ํ•˜๋‹ค๋Š” ๊ฑฐ๊ฒ ์ฃ ?

 

Learn Piping and Redirection - Linux Tutorial

Learn how easy it is to use piping and redirection to create powerful workflows that will automate your work, saving you time and effort. In the previous two sections we looked at a collection of filters that would manipulate data for us. In this section w

ryanstutorials.net

์œ„์— ๋งํฌ๋Š” ํ•ด๋‹น ํŒŒ์ผ ๋ฆฌ๋‹ค์ด๋ ‰์…˜๊ณผ ํŒŒ์ดํ”„ ๋ผ์ธ ์„ค๋ช…์„ ๋™๋ด‰ํ•˜๋Š”๋ฐ..
๋”ฑํžˆ ์„ค๋ช…ํ•  ๋ถ€๋ถ„์€ ์—†์–ด๋ณด์ด๋„ค์š”(๊ทธ๋ž˜๋„ ํ•œ ๋ฒˆ ๋ด๋ณด์„ธ์š”)

 

๊ทธ๋Ÿผ uniq ๋ช…๋ น์–ด ์˜ต์…˜์„ ํ™œ์šฉํ•ด์„œ ํ’€์–ด๋ด…์‹œ๋‹ค.
sort๋ฅผ ํ†ตํ•ด ์ •๋ฆฌ ํ›„ ํ•˜๋ฉด ๋” ์ข‹๊ฒ ์ฃ ?

uniq ์˜ต์…˜ ์„ค๋ช…
sort data.txt | uniq -u

์œ„์™€ ๊ฐ™์ด ์ ์œผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค

[Next Level]
ID : bandit9
PW : EN632PlfYiZbn3PhVK3XOGSlNInNE00t
์ฐธ๊ณ ์ž๋ฃŒ
 

๋ฆฌ๋ˆ…์Šค ์ค‘๋ณตํ–‰ ์ œ๊ฑฐ uniq - ์ œํƒ€์œ„ํ‚ค

๋‹ค์Œ ๋ฌธ์ž์—ด ํฌํ•จ...

zetawiki.com

 

ํ•จ์ˆ˜ sort() - ์ œํƒ€์œ„ํ‚ค

sort sorted 1 Bash[ | ] ARR=(11 1 2 12) echo ${ARR[@]} # 11 1 2 12 SORTED=`for VALUE in "${ARR[@]}"; do echo $VALUE; done | sort -n` echo ${SORTED[@]} # 1 2 11 12 2 C++[ | ] #include #include using namespace std; int main() { int nums[] = {3,4,2,1}; int le

zetawiki.com


Level9

WriteUp
๋”๋ณด๊ธฐ

์‚ฌ๋žŒ์ด ์ฝ์„ ์ˆ˜ ์žˆ๋Š” ํŒŒ์ผ์ด๋ฉฐ(๋ฌธ์ž์—ด), ์—ฌ๋Ÿฌ๊ฐœ์˜ = ๋’ค์— ์žˆ๋‹ค๋„ค์š”

๊ทธ๋Ÿผ find ๋ช…๋ น์–ด ์˜ต์…˜์„ ํ™œ์šฉํ•ด์„œ ํ’€์–ด๋ด…์‹œ๋‹ค.

[Next Level]
ID : bandit10
PW : G7w8LIi6J3kTb8A7j9LgrywtEUlyyp6s

์ด์ œ.. ์„ค๋ช…์ด ๊ท€์ฐฎ์•„์„œ์š”.. ๊ทธ๋ƒฅ ๋ฌธ์ œ ํ’€์ด๋งŒ ๋ณด์—ฌ์ค„๊ป˜์š”

 

ํ•„์š”ํ•˜๋‹ค๊ณ  ์ƒ๊ฐํ•˜๋Š” ์˜ต์…˜์ด๋‚˜ ์ž๋ฃŒ๋Š” ์ฐธ๊ณ ์ž๋ฃŒ์— ์˜ฌ๋ฆฌ๊ฒ ์Šต๋‹ˆ๋‹ค.
์ฐธ๊ณ ๋กœ ^๋Š” ์ •๊ทœ์‹์œผ๋กœ ์‹œ์ž‘์ด๋ผ๋Š” ์˜๋ฏธ์ž…๋‹ˆ๋‹ค.

์ฐธ๊ณ ์ž๋ฃŒ
 

RegExr: Learn, Build, & Test RegEx

RegExr is an online tool to learn, build, & test Regular Expressions (RegEx / RegExp).

regexr.com


Level10

WriteUp
๋”๋ณด๊ธฐ

base64๋กœ ์ธ์ฝ”๋”ฉ ๋˜์–ด ์žˆ๋Š” ํŒŒ์ผ์„ ํ•ด์„ํ•ด์•ผ๊ฒ ๋„ค์š”

Base64๋Š” ์ด์ง„-ํ…์ŠคํŠธ ์ธ์ฝ”๋”ฉ ์ฒด๊ณ„๋ž๋‹ˆ๋‹ค.

 

encode-decode์˜ ์˜๋ฏธ๋ฅผ ์•”ํ˜ธํ™”๋ฅผ ํ•˜๊ณ  ํ’€๊ณ ๋ผ๊ณ  ์ƒ๊ฐํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

๊ทธ๋ƒฅ ์“ฐ๋ฉด encode ๋ฉ๋‹ˆ๋‹ค.
[Next Level]
ID : bandit11
PW : 6zPeziLdR2RKNdNYFNb6nVCKzphlXHBM
์ฐธ๊ณ ์ž๋ฃŒ
 

Base64 - Wikipedia

From Wikipedia, the free encyclopedia Group of binary-to-text encoding schemes using 64 symbols (plus padding) In computer programming, Base64 is a group of binary-to-text encoding schemes that represent binary data (more specifically, a sequence of 8-bit

en.wikipedia.org


Level11

WriteUp
๋”๋ณด๊ธฐ

Rot13์ด๋ผ๊ณ  ์ผ์ข…์˜ ์นด์ด์‚ฌ๋ฅด ์•”ํ˜ธ์ธ ๊ฑฐ ๊ฐ™์Šต๋‹ˆ๋‹ค.
lowercase๋ž‘ uppercase ๋‘˜ ๋‹ค ํฌํ•จํ•ด์„œ 13๋งŒํผ ๋ฐ€๋ ค๋ฒ„๋ฆฌ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

 

ROT13 - Wikipedia

From Wikipedia, the free encyclopedia Simple encryption method ROT13 ("rotate by 13 places", sometimes hyphenated ROT-13) is a simple letter substitution cipher that replaces a letter with the 13th letter after it in the latin alphabet. ROT13 is a special

en.wikipedia.org

ํ•ด๋‹น ๋งํฌ์— ๋“ค์–ด๊ฐ€์‹œ๋ฉด ์„ค๋ช… ๋ฐ ์ฝ”๋“œ.. ๊นŒ์ง€ ์•Œ๋ ค์ฃผ๋”๋ผ๊ณ 

ROT13์˜ ์„ค๋ช… ์ฃผ๋กœ ์Šคํฌ์ผ๋Ÿฌ ๊ฐ™์€ ๊ณณ์—์„œ ์‚ฌ์šฉํ•  ๋“ฏ
์œ„์™€ ๊ฐ™์ด ์ˆœํ™˜ํ•จ์„ ํ‘œํ˜„ํ•จ
ํ•ด๋‹น ์ •๊ทœํ‘œํ˜„์‹์€ ๋’ค์—์„œ ์„ค๋ช…
์•”ํ˜ธํ•™.. ๊ธฐ์ดˆ ๋ฌธ์ œ์—์„œ ์“ธ๊ฑฐ ๊ฐ™์•„์„œ ๊ฐ™์ด ๋™๋ด‰
[A-Za-z][N-ZA-Mn-za-m] 

์œ„์™€ ๊ฐ™์ด ์ ์œผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค

 

๋Œ€์†Œ๋ฌธ์ž๋ฅผ ์ˆœ์„œ๋ฅผ ์ž‘์„ฑ ํ›„ → ํ•ด๋‹น Rot13์˜ ์นด์ด์‚ฌ๋ฅด ์•”ํ˜ธ์— ๋งž๊ฒŒ..
ํ•ด๋‹น ๋ฌธ์ž์˜ ์œ„์น˜๋ฅผ ์ง€์ •ํ•˜๋Š” ๋ชจ์Šต์ž…๋‹ˆ๋‹ค.

tr [old or pattern] [new or pattern]์œผ๋กœ ์ ์–ด์ฃผ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

๋ฌผ๋ก  ๋‹ค๋ฅธ ์˜ต์…˜๋„ ์žˆ์ง€๋งŒ ๋Œ€๊ฒŒ ์ด๋ ‡๊ฒŒ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

[Next Level]
ID : bandit12
PW : JVNBBFSmZwKKOP0XbFXOoW8chDz5yVRv

 

์ฐธ๊ณ ์ž๋ฃŒ
 

ROT13 - Wikipedia

From Wikipedia, the free encyclopedia Simple encryption method ROT13 ("rotate by 13 places", sometimes hyphenated ROT-13) is a simple letter substitution cipher that replaces a letter with the 13th letter after it in the latin alphabet. ROT13 is a special

en.wikipedia.org

 

์นด์ด์‚ฌ๋ฅด ์•”ํ˜ธ - ์œ„ํ‚ค๋ฐฑ๊ณผ, ์šฐ๋ฆฌ ๋ชจ๋‘์˜ ๋ฐฑ๊ณผ์‚ฌ์ „

์œ„ํ‚ค๋ฐฑ๊ณผ, ์šฐ๋ฆฌ ๋ชจ๋‘์˜ ๋ฐฑ๊ณผ์‚ฌ์ „. ์นด์ด์‚ฌ๋ฅด ์•”ํ˜ธ๋Š” ๊ฐ๊ฐ์˜ ์•ŒํŒŒ๋ฒณ์„ ์ผ์ •ํ•œ ๊ฑฐ๋ฆฌ๋งŒํผ ๋ฐ€์–ด ๊ธ€์ž๋ฅผ ์น˜ํ™˜ํ•˜๋Š” ๋ฐฉ์‹์œผ๋กœ ์•”ํ˜ธํ™”ํ•œ๋‹ค. ์œ„ ์˜ˆ์ œ์—์„œ๋Š” 3๊ธ€์ž์”ฉ ๋ฐ€์–ด์„œ ์•”ํ˜ธํ™”ํ•˜๊ธฐ ๋•Œ๋ฌธ์— B๋Š” E๋กœ ์น˜

ko.wikipedia.org


Level12

WriteUp
๋”๋ณด๊ธฐ

data.txt์— ์žˆ๋Š”๋ฐ ๊ณ„์† ์••์ถ•ํ–ˆ๋‹ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค.
๋˜ํ•œ /tmp ๊ฒฝ๋กœ์— ๊ฐ€์„œ ํ•ด๋‹น ํŒŒ์ผ์„ ๋ณต์ œํ•˜์—ฌ ์ž‘์—…์„ ํ•˜์‹œ๋ผ๊ณ  ํ•ฉ๋‹ˆ๋‹ค.

data2.bin์œผ๋กœ binary file์ธ๋ฐ..

file๋กœ ์†์„ฑ์„ ํ™•์ธํ•˜๋ฉด ASCII file๋กœ 16์ง„์ˆ˜ ๋คํ”„๋ฅผ ์—ญ์œผ๋กœ ๋ณ€ํ™˜ํ•ด์•ผ๊ฒ ๋„ค์š”
๋˜ํ•œ ์œ„์— ๋ฉ”๋‰ด์–ผ์—์„œ tmp์—์„œ ๋ณต์ œํ•ด์„œ ์ž‘์—…ํ•˜๋ผ๊ณ  ํ–ˆ์œผ๋‹ˆ๊นŒ..

์œ„์™€ ๊ฐ™์ด ํ•˜์„ธ์š”

์œ„์™€ ๊ฐ™์ด ์ž‘์—…์„ ํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค

 

Hex dump - Wikipedia

From Wikipedia, the free encyclopedia Hexadecimal view of computer data In computing, a hex dump is a hexadecimal view (on screen or paper) of computer data, from memory or from a computer file or storage device. Looking at a hex dump of data is usually do

en.wikipedia.org

์ด์ œ OverTheWire์—์„œ ์ œ๊ณตํ•œ ํžŒํŠธ๋กœ Hex Dump์˜ ๋‚ด์šฉ์„ ์ฝ์–ด๋ณด์‹œ๊ณ ..

์ด์ œ ๋ฌถ์—ฌ์žˆ๋Š” ์••์ถ• ํ’€๊ธฐ ใ„ฑใ„ฑ

 ์œ„์™€ ๊ฐ™์ด ์—ญ๋คํ”„๋ฅผ ์‹คํ–‰ํ•˜๊ณ  ํ™•์ธํ•ด๋ณด๋ฉด
gzip์ด๋ผ๋Š” ์••์ถ•ํŒŒ์ผ๋กœ ๋ฌถ์—ฌ์žˆ๋Š” data2.bin๋ผ๊ณ  ํ™•์ธ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.


[Next Level]
ID : bandit13
PW : wbWdlBxEir4CaE8LaPhauuOo6pwRmrDw

 

์ฐธ๊ณ ์ž๋ฃŒ
 

Hex dump - Wikipedia

From Wikipedia, the free encyclopedia Hexadecimal view of computer data In computing, a hex dump is a hexadecimal view (on screen or paper) of computer data, from memory or from a computer file or storage device. Looking at a hex dump of data is usually do

en.wikipedia.org

 

hexdump command in Linux with examples - GeeksforGeeks

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

www.geeksforgeeks.org

 

๋ฆฌ๋ˆ…์Šค xxd - ์ œํƒ€์œ„ํ‚ค

๋‹ค์Œ ๋ฌธ์ž์—ด ํฌํ•จ...

zetawiki.com