목록2024/04/23 (2)
의미없는 블로그
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/oobpi/btsGPPpTNRS/Ws3LunLdsCnWu2g3GmpLJk/img.png)
HttpUtility.HtmlEncode 로 입력값 필터링 " 이런거 필터링 됨( ) 는 안됨 Index.aspx.csRequest["ReturnUrl"] 로 입력값 받고HttpUtility.UrlEncode(ReturnUrl) 로 필터링 걸음Index.aspx위에서 받은 ReturnUrl 출력하고 있음/Index.aspx?ReturnUrl=스크립트 넣어보면 URL 인코딩 돼서 출력됨 RemoveHtmlTag, RemoveScriptTag 로 입력값 필터링이건 정규표현식으로 구현해서 쓰는건가 보다 MySellerInfo.aspx.cs[WebMethod] SetSellerMinishopInfo 는 /MySellerInfo.aspx/SetSellerMinishopInfo 요렇게 쓴다는 뜻임 파라미터에 Re..
# 나/source Code
2024. 4. 23. 11:20
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/cMSd8o/btsGSidiKWc/JjT9T6ett2xzAnOW5TRGf0/img.png)
Spring 프레임워크 > Java 언어로 구현ASP.NET 프레임워크 > C# 언어로 구현 닷넷 왜케 복잡하냐요런식으로 연결 되어있다.aspx.cs → .aspx.ascx.cs → .ascx .csRequest["root_path"];.aspxroot_pathRequest.Params["cmpl_lng"];cmpl_lngRequest.QueryString["example_url"];example_url Request["textarea"] Request.Params["textarea"] Request.QueryString["textarea"] 출력할 때 로 하면 양호 (Html 인코딩) 로 하면 취약
# 나/source Code
2024. 4. 23. 11:05