'Hello_World!/마소친구_ASP'에 해당되는 글 4건

  1. 2011.10.19 How ASP.NET Security Vulnerability affects Kentico CMS by bitfox
  2. 2011.08.11 관리자 페이지 IP 제한 by bitfox
  3. 2011.08.11 Hello World in ASP by bitfox
  4. 2011.08.11 Hello World in ASPX by bitfox
asp.net의 잘못된 셋팅시 ScriptResource.axd 또는 WebResource.axd를 이용하여 web.config 파일의 중요정보를 획득할 수 있다. 아래 링크를 통해 취약점을 알아보고 대비하자.
(이와 같은 취약점 : http://bitfox.tistory.com/159 참조)

http://devnet.kentico.com/Blogs/Martin-Hejtmanek/September-2010/How-ASP-NET-Security-Vulnerability-affects-Kentico.aspx

tool download
https://github.com/GDSSecurity/PadBuster







[주의] 본 자료는 연구용 및 학습 자료로 사용하길 바라며, 악의적인 사용시 사용자 본인에게 책임이 있음을 명시합니다.

'Hello_World! > 마소친구_ASP' 카테고리의 다른 글

관리자 페이지 IP 제한  (0) 2011.08.11
Hello World in ASP  (0) 2011.08.11
Hello World in ASPX  (0) 2011.08.11
Posted by bitfox
l
<%
If myfunc_userauth(userid, userpw) <> 1 Then 'DB에서 사용자 인증을 처리
Response.write "인증 실패"
Else
If Request.ServerVariables("REMOTE_ADDR") <> "10.10.1.1" Then '관리자 IP 확인
Response.write "관리자 IP가 아닙니다."
Response.write "인증실패“
LogSave(userid, user_ip, 0) '접속에 실패한 ID 및 IP 기록
Else
Session("logged_in") = 1 '인증에 성공했을 경우 logged_in 에 1의 값을 세팅
Session("userid") = userid
Session("user_ip") = Request.ServerVariables("REMOTE_ADDR")
LogSave($userid, $user_ip) '접속에 사용한 ID 및 IP 기록
... 중략 ...
End If
End If
%>

'Hello_World! > 마소친구_ASP' 카테고리의 다른 글

How ASP.NET Security Vulnerability affects Kentico CMS  (0) 2011.10.19
Hello World in ASP  (0) 2011.08.11
Hello World in ASPX  (0) 2011.08.11
Posted by bitfox
l
<html>
<head>
<title>Hello World in ASP </title>
</head>
<body>
<% Response.write "<h1>Hello World! in ASP</h1>" %>
<br>
<%=now%>
</body>
</html>

'Hello_World! > 마소친구_ASP' 카테고리의 다른 글

How ASP.NET Security Vulnerability affects Kentico CMS  (0) 2011.10.19
관리자 페이지 IP 제한  (0) 2011.08.11
Hello World in ASPX  (0) 2011.08.11
Posted by bitfox
l
<%
HelloWorldLabel.Text
= "Hello, world!";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <asp:Label runat="server" id="HelloWorldLabel"></asp:Label> </div> </form> </body> </html>

ASP 확장판이라고 할까나? ASPX ^^:

'Hello_World! > 마소친구_ASP' 카테고리의 다른 글

How ASP.NET Security Vulnerability affects Kentico CMS  (0) 2011.10.19
관리자 페이지 IP 제한  (0) 2011.08.11
Hello World in ASP  (0) 2011.08.11
Posted by bitfox
l