๊ด์ฌ ๋ถ์ผ : ๋คํธ์ํฌ, ์๋ฒ ๋๋, ํ๋ก๊ทธ๋๋ฐ ๊ต์ก
- KAIST ๋ํ์ ์์ฌ๊ณผ์ ์กธ์
- ์ค์๋ํ๊ต ์ฐ์ ๋ณด์ํ๊ณผ ์กธ์
Courses
Reviews
- Learning Python Basics A to Z with 100% ChatGPT Utilization
- Learning Python Basics A to Z with 100% ChatGPT Utilization
wowwow9873
ยท
Essential development environment guide that even an ordinary office worker can understand in a single breathEssential development environment guide that even an ordinary office worker can understand in a single breath- Learning Python Basics A to Z with 100% ChatGPT Utilization
vsepr37
ยท
Essential development environment guide that even an ordinary office worker can understand in a single breathEssential development environment guide that even an ordinary office worker can understand in a single breath
Posts
Q&A
์ ์๋ ๋ธ๋ก๋์บ์คํธ ์๋ฒ ip์ค์ ์ง๋ฌธ์์ต๋๋ค.
์๋ ํ์ธ์ kchkch2238๋ ๋จผ์ ์ง๋ฌธ ๋จ๊ฒจ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค. ์ง๋ฌธ์ ์์ฝํด๋ณด๋ฉด "์ผ๋ถ๋ฌ ์๋ชป๋ IP ์ฃผ์๋ฅผ ์ ๋ ฅํ์ฌ ์๋ฒ๋ฅผ ์คํํ์ฌ ๋ธ๋ก๋์บ์คํธ ๋ฉ์ธ์ง๋ฅผ ๋ณด๋๋๋ฐ, ํด๋ผ์ด์ธํธ๊ฐ ์์ ์ ํ๊ณ ์๋ค." ์ธ ๊ฒ ๊ฐ์๋ฐ์! ๊ฐ์ ๋ด์ฉ์ ๋จผ์ ์ดํด๋ณด๋ฉด17:04 ์ฏค ๋ฉ์ถ๊ณ ํ์ธ์ ํด๋ณด๋ฉด, ์ ip๋ "192.168.68.108" ์ธ ๊ฒ์ ํ์ธํ ์ ์์ต๋๋ค. (192.168.68.x ๋ผ๋ ์ ์ ๊ธฐ์ตํด ์ฃผ์ธ์!)์ ip์ ์๋ธ๋ท์ ํด๋นํ๋ "192.168.68.x"๊ฐ ์๋, "192.168.58.255"๋ก ๋ธ๋ก๋์บ์คํธ ๋ฉ์ธ์ง๋ฅผ ์ ์กํ๊ณ ์์ต๋๋ค. (์ฆ 68์ด ์๋ 58)๋ฐ๋ผ์, ์ ์์ ์ผ๋ก "Hello, Broadcast!" ๋ฉ์ธ์ง๊ฐ ํด๋ผ์ด์ธํธ์์ ์์ ์ด ์ ๋จ์ ํ์ธํ ์ ์์ต๋๋ค. (๋ค๋ฅธ ์๋ธ๋ท์ผ๋ก ๋ณด๋ด๊ณ ์๊ธฐ ๋๋ฌธ์) kchkch2238๋์ ์ง๋ฌธ์ ๋ต๋ณ์ ๋๋ฆฌ๋ฉด, ์๋์ ๊ฐ์ ๊ฐ๋ฅ์ฑ์ด ์์ ๊ฒ ๊ฐ์๋ฐ์.์๋ง ๋น์ ํ ์คํธ๋ฅผ ํ์ จ์ ๋, kchkch2238๋์ ip๋ฅผ ํ์ธํด๋ณด๋ฉด (ifconfig ๋๋ ipconfig์ ๊ฐ์ ๋ช ๋ น์ด๋ก ํ์ธ), ์๋ง 192.168.68.x ๋์ญ์ ip๋ฅผ ๊ฐ์ง๊ณ ์์๊ธฐ ๋๋ฌธ์ ์ ์์ ์ผ๋ก ๋ฉ์ธ์ง๋ฅผ ์์ ํ ์ ์์๋ ๊ฒ์ผ๋ก ๋ณด์ ๋๋ค.192.168.68.x ๋์ญ์ ip๊ฐ ์๋ ๊ฒฝ์ฐ์๋, ํ ๋คํธ์ํฌ (๊ณต์ ๊ธฐ) ์์์ ํด๋น ๋ฉ์ธ์ง๋ฅผ kchkch2238๋์ ํด๋ผ์ด์ธํธ๋ก ์ ์ก์ ํ์ ์๋ ์๊ตฌ์! (์ด๋ค ์ด์ ์์์ธ์ง๋ ๋ชจ๋ฅด๊ฒ ์ง๋ง, ๋ค๋ฅธ private ip๊ฐ ๋ฐ๊ฒฌ๋ ๊ฒฝ์ฐ (ํ์์๋ ์ด๋ฐ ๊ฒฝ์ฐ๊ฐ ์๊ธฐ ๋๋ฌธ์), ์ฌ์ฉ์์ ์ค๋ฅ๋ก ํ๋จํ์ฌ ์ด๋ฅผ ์ ์ ip๋ก ์์ ์ ํ์ ๊ฐ๋ฅ์ฑ)kchkch2238๋์ ํด๋ผ์ด์ธํธ๊ฐ promiscuous mode ๋ก ์ค์ ์ด ๋์ด ์์ด์, ๋ชจ๋ ๋ฉ์ธ์ง๋ฅผ ์์ ํ๊ณ ์๋ ์ํ์ผ ์๋ ์์ต๋๋ค! ๊ฐ์ฅ ์ ํํ๊ฒ ์์ธ์ ์ง๋จํ๋ ค๋ฉด, ๋ค์๊ณผ ๊ฐ์ ์ ๋ณด๋ฅผ ํฌํจํ์ฌ ๋๊ธ์ ๋จ๊ฒจ์ฃผ์๋ฉด ์ข์ ๊ฒ ๊ฐ์ต๋๋ค!ํ์ฌ ๋์ ipํ ์คํธ ๋น์์ wireshark ์บก์ณ๋ณธ (17:10์ด์ ๊ฐ์ ํํ๋ก, Source ip, Destination ip๊ฐ ๋ค ๋์ค๋๋ก)ํ ์คํธ ๋น์์ ํ ์คํธ ์ฝ๋ ๊ฐ์ฌํฉ๋๋ค.
- 1
- 2
- 33
Q&A
Repl.it ๋ค์ด๊ฐ์ 2~3 ์ง๋ฌธ์ ๋ตํ๋ ๊ฐ์ ๋ก ์ ๊ธ ํ๊ฒ ์๊ฒผ์
์๋ ํ์ธ์. ์ฐพ์๋ณด๋, Replit์ ํ์ฌ ๋ฌด๋ฃ๋ก๋ ์ด์ฉํ ์ ์๋ ์จ๋ผ์ธ IDE ์ธ ๊ฒ ๊ฐ์ต๋๋ค. ์ผ์ชฝ์ ์๋ โCreate Replโ ๋ฒํผ์ ๋๋ฌ ์๋ก์ด ํ๋ก์ ํธ๋ฅผ ์์ฑํด๋ณด์๊ณ ํน์๋ผ๋ ์๋๋ฉด ๋ค์ ๋ง์ ์ฃผ์๋ฉด ๊ฐ์ฌํ๊ฒ ์ต๋๋ค. ๋ค๋ฅธ ๋ฐฉ๋ฒ์ผ๋ก๋ Google Colab์ ์ถ์ฒ๋๋ฆฝ๋๋ค. Google Colab์ Python ์ฝ๋ฉ์ ์ํ ๋ฌด๋ฃ ํ๊ฒฝ์ผ๋ก, Google ๊ณ์ ๋ง ์์ผ๋ฉด ๋ณ๋์ ์ค์น ์์ด ์น์์ ๋ฐ๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค. ๋ํ, VS Code์ ๊ฐ์ ์ค์นํ IDE๋ฅผ ์ฌ์ฉํด ๋ก์ปฌ ํ๊ฒฝ์์ ์์ ํ๋ ๋ฐฉ๋ฒ๋ ์์ต๋๋ค. ๊ฐ์ฌํฉ๋๋ค.
- 0
- 1
- 90
Q&A
์๋ฃ ๊ณต์
์๋ ํ์ธ์ Lotus๋ ํน์ ์ด๋ค ์๋ฃ๊ฐ ํ์ํ์ ๊ฑธ๊น์? ๋ง์ํด์ฃผ์๋ฉด ์ค๋ ์ค์ผ๋ก, ๋ฐ๋ก ๊ด๋ จ ์๋ฃ ์ฌ๋ ค๋๋ฆฌ๋๋ก ํ๊ฒ ์ต๋๋ค!
- 0
- 4
- 250
Q&A
์ฑ์งํผํฐ ๋๋ฌธ์ ๊ฒฐ์ ํ๋๋ฐ...
์๋ ํ์ธ์. ํ์ฌ, 1๊ฐ (ChatGPT์ ํจ๊ป ํ์ด์ฌ ์์ํ๊ธฐ) ๋์์ ์ฌ์ ์ค๋ฅ๊ฐ ํด๊ฒฐ๋์์ต๋๋ค.๋ถํธ์ ๋ผ์ณ ๋๋ ค ์ฃ์กํฉ๋๋ค.๊ฐ์ฌํฉ๋๋ค.
- 0
- 2
- 1.3K
Q&A
์ฑ์งํผํฐ ๋๋ฌธ์ ๊ฒฐ์ ํ๋๋ฐ...
์๋ ํ์ธ์. ๋ฐฉ๊ธ ๋์์์ ์ค๋ฅ๊ฐ ์์ด์, ์ฌ์์ด ์๋๋ ๊ฒ์ ํ์ธํ์ต๋๋ค.๋ค์ ์ ๋ก๋ ํด๋ณด๋๋ก ํ๊ฒ ์ต๋๋ค.
- 0
- 2
- 1.3K
Q&A
๊ตฌ๊ตฌ๋จ์ ์ธ์ print format
์๋ ํ์ธ์ ์ ๋ฆผ๋.print(~~).format(~~)์ ์ธ ๋์๋, {}๊ฐ ๋ณ์๋ค์ด ์ถ๋ ฅ๋ ์์น๋ฅผ ์ ํด์ฃผ๊ฒ ๋๋๋ฐ์. ({} {} {}) ์ ๊ฐ์ด ์ฌ์ฉํ๊ฒ ๋๋ฉด, default๋ก ({0} {1} {2}) ์ผ๋ก ์ธ์์ด ๋๋ค๊ณ ๋ณผ ์ ์์ต๋๋ค. ๋ฐ๋ผ์, ๊ธฐ์กด์ ์ฌ์ฉํ์๋ ๋ฐฉ๋ฒ์, format์ argument๋ฅผ ์์๋๋ก ์ ๋ฃ์๋ค๋ ๋ป์ ๋๋ค. ๋ง์ฝ, format์ argument๋ค์ ์์๊ฐ ๋ฌ๋ผ์ง๋ ๊ฒฝ์ฐ, {} ์์ ์ํ๋ ์ธ๋ฑ์ค๋ฅผ ๋ฃ์ผ๋ฉด ๋ฉ๋๋ค. ์๋ ์์๋ฅผ ํ๋ฒ ๋ณด์๋ฉด ์ดํด๊ฐ ์ ๋์ค๊ฑฐ์์ :) Ex) int a = "์ธ"int b = "ํ๋ฐ"print({}{}).format(a, b)-> "์ธํ๋ฐ"print({}{}).format(b, a)-> "ํ๋ฐ์ธ"print({0}{1}).format(b, a)-> "ํ๋ฐ์ธ"print({1}{0}).format(b, a)-> "์ธํ๋ฐ"
- 0
- 1
- 309