ååã¯ãã¯ãã¹ãµã¤ãã¹ã¯ãªããã£ã³ã°ï¼XSSï¼ã«ã¤ãã¦èª¬æããããä»åã¯XSSã¨ä¸¦ã³ã話é¡ã¨ãªã£ã¦ããSQLã¤ã³ã¸ã§ã¯ã·ã§ã³ã«ã¤ãã¦èª¬æããã2å¹´åã«ç«ã¦ç¶ãã«SQLã¤ã³ã¸ã§ã¯ã·ã§ã³ã®èå¼±æ§ãæ»æãããäºä»¶ãçºçããããããã®è¨èãèãããã¨ããã人ã¯å¤ããã¨ã ããããã以åã¯ãSQLã¤ã³ã¸ã§ã¯ã·ã§ã³ã®èå¼±æ§ãæ»æããã«ã¯ãSQLãããã°ã©ãã³ã°ã®ç¥èãå¿ è¦ã¨ããã¦ããã ããããã¡ããã©3å¹´ã»ã©åã«ãSQLã¤ã³ã¸ã§ã¯ã·ã§ã³ã®èå¼±æ§ãæ»æããããã®ãã¼ã«ãä½æãããããããã®ãã¼ã«ãã使ããã°ã誰ã§ãç°¡åã«ã¢ããªã±ã¼ã·ã§ã³ãæ»æãããã¨ãã§ããããã«ãªã£ãããã®çµæã2å¹´åããSQLã¤ã³ã¸ã§ã¯ã·ã§ã³ãå©ç¨ããæ å ±æ¼ããããã³ãã³çºçãããã¨ã¨ãªã£ãã SQLã¤ã³ã¸ã§ã¯ã·ã§ã³ã¨ã¯ããã¼ã¿ãã¼ã¹ã使ç¨ããå ´åã«ãä»»æã®SQLæãå®è¡ããã¦ãã¾ãæ»æã ããã®ãããæ å ±æ¼ããããã¼ã¿ã®åé¤ã¨ã
ååã®ç¶ãã®åã«å°ãã ããRIPããã®è³ªåã ã¨ããã§ãä»åã®å 容ãèªãã§æ°ã«ãªã£ã¦ããã¨ãããæ©ãã§ãäºã ä»åã®æç« ä¸ã®ãUnicodeãã¯ãå³å¯ã«ã¯ãUTF-16ãã¨ç解ãã¦ããã®ã ããï¼ Windows ä¸ã§ã® Unicode ã®æ¨æºçãªã¨ã³ã³ã¼ãã£ã³ã°ã§ãã®ã§ãUTF-16LE ã¨èãã¦ãã ããããã ãããã¡ãã¡ Unicode 㨠UTF-16ãUTF-16LE ã¨ãã表è¨ã使ãåããã®ãé¢åãªã®ã¨ãMicrosoft ã®ææ¸é¡ã®ã»ã¨ãã©ã Unicode ã¨ãã表è¨ã«ãªã£ã¦ãããããã¨ã®æ´åãåãããããã«ããUTF-16 ã¾ã㯠UTF-16LE ã¨æè¨ããªããã°ãªããªãç¶æ³ã§ãªãéãã¯ä»å¾ã Unicode ã¨æ¸ããã¨ã«ãã¾ãã ãã¦ãåå㯠WideCharToMultiByte ã使ç¨ã㦠Unicode ã Shift_JIS ã«å¤æããå ´åã«ãWC_NO_BEST
Windows ä¸ã§ Unicode ãæ±ãå ´åã«çºçããã»ãã¥ãªãã£ä¸ã®åé¡ç¹ãªã©ã«ã¤ãã¦ä¸å®æã«æ¸ãã¦ãããã¨ã«ãã¾ãã以åã®å 容ã¨éãªãé¨åãå¤ãã§ãããæéçã«ãã©ãã¾ã§æ¸ããããããã¾ããããã©â¦ã ãã¦ç¬¬1åç®ã¯ã Windows ä¸ã§ Unicode ãæ±ãéã®ãã£ã¨ãåºæ¬ã¨ãè¨ãã WideCharToMultiByte ã使ç¨ãã Unicode ãã Shift_JIS (ã³ã¼ããã¼ã¸932)ã¸ã®å¤æã«ã¤ãã¦ã§ãã WideCharToMultiByte ã使ç¨ããéã«çºçããããåé¡ç¹ã¯ä»¥ä¸ã®2ç¹ã§ãã ãããã¡ãµã¤ãºã®æå®ãã¹ã«ãããããã¡ãªã¼ãã¼ããã¼ Unicode ãã Shift_JIS ã¸ã®å¤æã«ãããå¤å¯¾ä¸ã®ãããã³ã° ãããã¡ãµã¤ãºã®æå®ãã¹ã«ãããããã¡ãªã¼ãã¼ããã¼ å¤æåã® Unicode ã®æååã¯ãæåæ°ãã§æå®ããã®ã«å¯¾ã(cchWideC
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}