Notice
Recent Posts
Recent Comments
Link
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Archives
Today
Total
관리 메뉴

의미없는 블로그

[ASP.NET/C#] Reflected XSS 취약점 본문

# 나/source Code

[ASP.NET/C#] Reflected XSS 취약점

SaltLee 2024. 4. 23. 11:05
요런 느낌

Spring 프레임워크 > Java 언어로 구현
ASP.NET 프레임워크 > C# 언어로 구현

 

닷넷 왜케 복잡하냐

요런식으로 연결 되어있다

.aspx.cs.aspx

.ascx.cs.ascx 

 

.cs

Request["root_path"]; .aspx

<%=root_path
Request.Params["cmpl_lng"]; <%=cmpl_lng
Request.QueryString["example_url"]; <%=example_url
  Request["textarea"]

 

출력할 때 <%: 로 하면 양호 (Html 인코딩)

 

" 넣었을 때 에러나는 이유는 전처리 때문에 (https://saltlee.tistory.com/417)

 

Comments