[LOS] Vampire ํ’€์ด(9)

9๋ฒˆ์งธ ๋ฌธ์ œ์ธ " vampire " ๋‹จ๊ณ„์ž…๋‹ˆ๋‹ค. ์ฟผ๋ฆฌ๋ฌธ์„ ์ž…๋ ฅ๋ฐ›์•„ ์‹คํ–‰๋˜๋Š” ๋ณ€์ˆ˜๋Š” " id='{$_GET [id]} " ๋กœ ์ „์— ํ’€์—ˆ๋˜ ๋ฌธ์ œ๋“ค๊ณผ ์œ ์‚ฌํ•˜๊ฒŒ ํ‚ค์›Œ๋“œ ์šฐํšŒ๋ฅผ ํ•ด์•ผ ๋  ๊ฒƒ ๊ฐ™์•„ ๋ณด์ž…๋‹ˆ๋‹ค. $_GET [id] = str_replace("admin", "",$_GET [id]); replace ํ•จ์ˆ˜๋ฅผ ํ†ตํ•ด ์ฟผ๋ฆฌ๋ฌธ์— " admin " ์ด ํฌํ•จ๋˜์–ด ์žˆ๋Š” ๊ฒฝ์šฐ ์‹คํ–‰์ด ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋˜ํ•œ ๋Œ€, ์†Œ ๋ฌธ์ž๋ฅผ ๊ตฌ๋ถ„ํ•˜์ง€ ์•Š๊ณ  ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ADMIN ๊ฐ™์€ ๋Œ€๋ฌธ์ž๋กœ ์ ‘๊ทผํ•ด๋„ ์‹คํŒจํ•˜๊ธฐ ๋•Œ๋ฌธ์— ์ด๋Ÿด ๋•Œ๋Š” ํ˜ผ๋ˆํ™” ๊ธฐ๋ฒ•์„ ์‚ฌ์šฉํ•ด์„œ ํ•ด๊ฒฐํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค. ๋ธ”๋ž™๋ฆฌ์ŠคํŠธ๋กœ ํ•ด๋‹น ํ‚ค์›Œ๋“œ๋ฅผ ๋Œ€์†Œ๋ฌธ์ž ๊ตฌ๋ถ„ ์—†์ด ์ œ๊ฑฐํ•˜๊ณ  ์žˆ๋Š” ๊ฒฝ์šฐ์—๋Š” ์•„๋ž˜์™€ ๊ฐ™์€ ๋ฐฉ๋ฒ•์œผ๋กœ ๋ฌธ์ž์—ด ์‚ฌ์ด์— ์‚ฝ์ž…ํ•˜๋Š” ํ˜ผ๋™ํ™” ๊ธฐ๋ฒ•์„ ์ด์šฉํ•˜๊ฒŒ ๋˜๋ฉด ์ค‘๊ฐ„์— " admin " ํ‚ค์›Œ๋“œ๋Š”..

CHALLENGE