/usr/share/asp.net-demos/1.1/authtest/index.aspx is in asp.net-examples 3.8-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <%@ Page Language="C#" %>
<%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %>
<%@ Import Namespace="System.Web.Security" %>
<html>
<script language="C#" runat=server>
void Page_Load (object sender, EventArgs e)
{
Welcome.Text = "Hello, " + User.Identity.Name;
}
void Signout_Click (object sender, EventArgs e)
{
FormsAuthentication.SignOut ();
Response.Redirect ("/1.1/authtest/login.aspx");
}
</script>
<head>
<title>Using Cookies Authentication</title>
<link rel="stylesheet" type="text/css" href="/mono-xsp.css">
</head>
<body><mono:MonoSamplesHeader runat="server"/>
<h3>Using Cookies Authentication</h3>
<form runat=server>
<h3><asp:label id="Welcome" runat=server/></h3>
<asp:button text="Signout" OnClick="Signout_Click" runat=server/>
</form>
</body>
</html>
|