목록2024/12/23 (1)
의미없는 블로그
[XSS] Content-Disposition: attachment
Content-Disposition: attachment 로 설정되어 있으면응답값이 파일로 떨어진다 @WebServlet("/DownloadHandler") public class DownloadHandler extends HttpServlet { private static final long serialVersionUID = 1L; protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { \ String sHTML = request.getParameter("save_string"); String decodeSHTML = URLDecode..
# 나/source Code
2024. 12. 23. 10:52