[LOS] gremlin ํ’€์ด(1)

์ฒซ ๋ฒˆ์งธ ๋‹จ๊ณ„์ธ gremlin์—์„œ preg_match ํ•จ์ˆ˜๋ฅผ ๋ณด๋ฉด ๋ณ„๋‹ค๋ฅธ ์ž…๋ ฅ๊ฐ’ ๊ฒ€์ฆ์„ ํ•˜์ง€ ์•Š๊ณ  ID์™€ PW ๋ถ€๋ถ„์— ์ฟผ๋ฆฌ๊ฐ€ ๋ฐ”๋กœ ์‚ฝ์ž…๋˜๊ณ  ์žˆ๊ธฐ์— ์‚ฝ์ž…๋˜๋Š” ์ฟผ๋ฆฌ๋ฌธ์ด " ์ฐธ " ๊ฐ’์„ ๊ฐ€์ง€๋„๋ก " or " ๊ตฌ๋ฌธ์„ ์‚ฌ์šฉํ•ด์„œ ์ž‘์„ฑํ•ด์ฃผ์‹œ๋ฉด ์‰ฝ๊ฒŒ ํ†ต๊ณผ๋ฉ๋‹ˆ๋‹ค. preg_match ํ•จ์ˆ˜์— ์ง€์ •ํ•ด๋‘” ,/(\) ๋“ฑ ์ด ์ž…๋ ฅ๋  ๊ฒฝ์šฐ " No Hack "์ด๋ผ๋Š” ๋ฌธ๊ตฌ๋ฅผ ๋„์šฐ๋ฉฐ ์‹คํŒจํ•˜๊ณ  ์žˆ์œผ๋‹ˆ ํ•ด๋‹น ๋ฌธ๊ตฌ๋Š” ํ”ผํ•ด์„œ ์ž‘์„ฑํ•˜๋ฉด ๋˜๊ฒ ์Šต๋‹ˆ๋‹ค. if(preg_match('/prob|_|\.|\(\)/i', $_GET[id])) exit("No Hack ~_~"); // do not try to attack another table, database! if(preg_match('/prob|_|\.|\(\)/i', $_GET[pw])) exi..

CHALLENGE