๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

Simple_Sqli1

[Dreamhack] Simple_Sqli ๋“œ๋ฆผํ•ต ์›Œ๊ฒŒ์ž„ ๋ฌธ์ œ ํ’€์ด 2 - 1 - 4. Simple_Sqli ์ทจ์•ฝ์  ๋ถ„์„ ์‹ค์Šต # Simple_Sqli ์ทจ์•ฝ์  ๋ถ„์„ ์‹ค์Šต 1. ๋ฌธ์ œ ์ •๋ณด ํ™•์ธ ํ›„ ๋ฌธ์ œ ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ 2. ๋ฌธ์ œ ํŒŒ์ผ ์ฝ”๋“œ ๋ถ„์„ + > : database ์˜ ํŒŒ์ผ๋ช… ์„ค์ • + > : ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํŒŒ์ผ์ด ์กด์žฌํ•˜์ง€ ์•Š์„ ๊ฒฝ์šฐ ์ƒˆ๋กœ์šด ํŒŒ์ผ์„ ์ƒ์„ฑ ํ›„ ์—ฐ๊ฒฐ + > : ์œ ์ € ํ…Œ์ด๋ธ” ์ƒ์„ฑ ํ›„ ์œ ์ € ํ…Œ์ด๋ธ”์— admin, guest ๊ณ„์ • ์ƒ์„ฑ ๋ฐ ๋‚œ์ˆ˜๋กœ password ์ƒ์„ฑ + > : ์ฟผ๋ฆฌ ์‹คํ–‰ ๋ฐ ์‹คํ–‰ ํ›„ ์ข…๋ฃŒ ์ฝ”๋“œ + > : ์ž…๋ ฅ๋ฐ›์€ ๊ฐ’์„ ๊ธฐ์ค€์œผ๋กœ ๋™์  ์ฟผ๋ฆฌ ์ƒ์„ฑ --> ์ด์šฉ์ž์˜ ์ž…๋ ฅ๊ฐ’์ด ์ฟผ๋ฆฌ๋ฌธ์— ํฌํ•จ๋  ๊ฒฝ์šฐ SQL Injection ๋ฐœ์ƒ + > : GET, POST 2๊ฐœ์˜ ๋ฉ”์†Œ๋“œ๋กœ ์ ‘๊ทผ ๊ฐ€๋Šฅ + > : GET ๋ฐฉ์‹์œผ๋กœ ์š”์ฒญ ์‹œ --> ํ™ˆ ํ™”๋ฉด์—์„œ login ํŽ˜์ด์ง€ ํด๋ฆญ.. 2022. 9. 23.