Windows NT HGWS2 10.0 build 14393 (Windows Server 2016) AMD64
Microsoft-IIS/10.0
: | : 18.188.192.62
Cant Read [ /etc/named.conf ]
8.3.19
IWPD_185(eibegypt)
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
D: /
InetPub /
vhosts /
eib-egypt.com /
httpdocs /
Admin /
[ HOME SHELL ]
Name
Size
Permission
Action
CLEditor1_4_3
[ DIR ]
drwxrwxrwx
JS
[ DIR ]
drwxrwxrwx
Pics
[ DIR ]
drwxrwxrwx
ckeditor
[ DIR ]
drwxrwxrwx
colorpickersliders
[ DIR ]
drwxrwxrwx
AdminTopBanner.ascx
121
B
-rw-rw-rw-
AdminTopBanner.ascx.cs
425
B
-rw-rw-rw-
Admin_MasterPage.master
8.1
KB
-rw-rw-rw-
Admin_MasterPage.master.cs
3.5
KB
-rw-rw-rw-
Admin_MasterPage_Action.master
844
B
-rw-rw-rw-
Admin_MasterPage_Action.master...
1.44
KB
-rw-rw-rw-
Admin_MasterPage_POP.master
976
B
-rw-rw-rw-
Admin_MasterPage_POP.master.cs
1.44
KB
-rw-rw-rw-
Admin_StyleSheet.css
2.94
KB
-rw-rw-rw-
Background-Style.aspx
5.78
KB
-rw-rw-rw-
Background-Style.aspx.cs
16.13
KB
-rw-rw-rw-
Border-Style.aspx
44.13
KB
-rw-rw-rw-
Border-Style.aspx.cs
21.86
KB
-rw-rw-rw-
BorderOnly-Style.aspx
39.69
KB
-rw-rw-rw-
BorderOnly-Style.aspx.cs
20.83
KB
-rw-rw-rw-
Default.aspx
551
B
-rw-rw-rw-
Default.aspx.cs
2.25
KB
-rw-rw-rw-
EditorPage.aspx
357.07
KB
-rw-rw-rw-
EditorPage.aspx.cs
158.4
KB
-rw-rw-rw-
EditorPage_Delete.aspx
1.85
KB
-rw-rw-rw-
EditorPage_Delete.aspx.cs
2.88
KB
-rw-rw-rw-
EditorPage_Update_Order.aspx
397
B
-rw-rw-rw-
EditorPage_Update_Order.aspx.c...
5.18
KB
-rw-rw-rw-
EditorPages.aspx
6.79
KB
-rw-rw-rw-
EditorPages.aspx.cs
10.64
KB
-rw-rw-rw-
Fonts.aspx
8.65
KB
-rw-rw-rw-
Fonts.aspx.cs
10.69
KB
-rw-rw-rw-
Groups_Hidden.aspx
2.36
KB
-rw-rw-rw-
Groups_Hidden.aspx.cs
3.15
KB
-rw-rw-rw-
Groups_New.aspx
3.45
KB
-rw-rw-rw-
Groups_New.aspx.cs
11.17
KB
-rw-rw-rw-
Groups_Update.aspx
4.47
KB
-rw-rw-rw-
Groups_Update.aspx.cs
13.53
KB
-rw-rw-rw-
Groups_Update_Hide.aspx
387
B
-rw-rw-rw-
Groups_Update_Hide.aspx.cs
1.8
KB
-rw-rw-rw-
Groups_Update_Order.aspx
389
B
-rw-rw-rw-
Groups_Update_Order.aspx.cs
4.77
KB
-rw-rw-rw-
HeaderFooterNew.aspx
1.12
KB
-rw-rw-rw-
HeaderFooterNew.aspx.cs
283
B
-rw-rw-rw-
Help.aspx
10.91
KB
-rw-rw-rw-
Help.aspx.cs
262
B
-rw-rw-rw-
InitiateModule.aspx
379
B
-rw-rw-rw-
InitiateModule.aspx.cs
15.9
KB
-rw-rw-rw-
Link-Style.aspx
115.94
KB
-rw-rw-rw-
Link-Style.aspx.cs
72.5
KB
-rw-rw-rw-
Login.aspx
2.35
KB
-rw-rw-rw-
Login.aspx.cs
4.55
KB
-rw-rw-rw-
Logos.aspx
5.34
KB
-rw-rw-rw-
Logos.aspx.cs
14.08
KB
-rw-rw-rw-
Module-Settings-Common.aspx
2.94
KB
-rw-rw-rw-
Module-Settings-Common.aspx.cs
5.57
KB
-rw-rw-rw-
Module-Settings.aspx
6.53
KB
-rw-rw-rw-
Module-Settings.aspx.cs
5.49
KB
-rw-rw-rw-
Photos-POP.aspx
6
KB
-rw-rw-rw-
Photos-POP.aspx.cs
12.97
KB
-rw-rw-rw-
Photos.aspx
5.9
KB
-rw-rw-rw-
Photos.aspx.cs
12.81
KB
-rw-rw-rw-
StartGroup.aspx
1.63
KB
-rw-rw-rw-
StartGroup.aspx.cs
4.67
KB
-rw-rw-rw-
Strip-Style.aspx
89.8
KB
-rw-rw-rw-
Strip-Style.aspx.cs
49.81
KB
-rw-rw-rw-
Text-Border-Style.aspx
54.86
KB
-rw-rw-rw-
Text-Border-Style.aspx.cs
31.23
KB
-rw-rw-rw-
Text-Style.aspx
8.67
KB
-rw-rw-rw-
Text-Style.aspx.cs
13.67
KB
-rw-rw-rw-
Text.aspx
3.06
KB
-rw-rw-rw-
Text.aspx.cs
3.71
KB
-rw-rw-rw-
UpperBanners.aspx
15.72
KB
-rw-rw-rw-
UpperBanners.aspx.cs
29.14
KB
-rw-rw-rw-
UpperBanners_InsertBlank.aspx
399
B
-rw-rw-rw-
UpperBanners_InsertBlank.aspx....
1.65
KB
-rw-rw-rw-
UpperBanners_Set_Effect.aspx
397
B
-rw-rw-rw-
UpperBanners_Set_Effect.aspx.c...
1.02
KB
-rw-rw-rw-
WUC_RightMenu.ascx
5.1
KB
-rw-rw-rw-
WUC_RightMenu.ascx.cs
8.99
KB
-rw-rw-rw-
try.aspx
15.38
KB
-rw-rw-rw-
try.aspx.cs
545
B
-rw-rw-rw-
try.htm
8.81
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Photos-POP.aspx.cs
using System; using System.Data; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.IO; public partial class Admin_Photos_POP : System.Web.UI.Page { DBAccess.DBAccess DBAcc = new DBAccess.DBAccess(System.Configuration.ConfigurationSettings.AppSettings["SE_ConnectionString"]); private void Page_Load(object sender, System.EventArgs e) { if (!Page.IsPostBack) { load(); } } private Size NewthumbSize(int currentwidth, int currentheight, int MaxWH) { //Calculate the Size of the New image Double tempMultiplier; Size NewSize = new Size(); if (currentheight > currentwidth) // portrait { if (currentheight > MaxWH) { NewSize = new Size(Convert.ToInt32(currentwidth * MaxWH / currentheight), Convert.ToInt32(currentheight * MaxWH / currentheight)); } else { NewSize = new Size(Convert.ToInt32(currentwidth), Convert.ToInt32(currentheight)); } } else { if (currentwidth > MaxWH) { NewSize = new Size(Convert.ToInt32(currentwidth * MaxWH / currentwidth), Convert.ToInt32(currentheight * MaxWH / currentwidth)); } else { NewSize = new Size(Convert.ToInt32(currentwidth), Convert.ToInt32(currentheight)); } } return NewSize; } private string ImgRes_Save(string filepath, string id, int MaxWH) { System.Drawing.Image g = System.Drawing.Image.FromFile(filepath); ImageFormat thisFormat = g.RawFormat; Size thumbSize = new Size(); thumbSize = NewthumbSize(g.Width, g.Height, MaxWH); //create a new Bitmap the size of the new image Bitmap imgOutput = new Bitmap(thumbSize.Width, thumbSize.Height); //create a new graphic from the Bitmap Graphics graphic = Graphics.FromImage((System.Drawing.Image)imgOutput); graphic.SmoothingMode = SmoothingMode.HighQuality; graphic.InterpolationMode = InterpolationMode.HighQualityBicubic; graphic.PixelOffsetMode = PixelOffsetMode.HighQuality; //draw the newly resized image graphic.DrawImage(g, 0, 0, thumbSize.Width, thumbSize.Height); //if (MaxWH > 300) //{ // using (System.Drawing.Image j = System.Drawing.Image.FromFile(Request.MapPath("") + "/Pics/Logo.png", true)) // { // graphic.DrawImage(j, new Rectangle(10, thumbSize.Height - (((g.Width / 4) * 90 / 200) + 10), (g.Width / 4), ((g.Width / 4) * 90 / 200))); // } //} System.IO.FileStream fs = new FileStream(Request.MapPath("") + "\\..\\Photos_Swfs\\" + id.ToString(), FileMode.OpenOrCreate); //imgOutput.Save(Response.OutputStream, thisFormat); //output to the user imgOutput.Save(fs, thisFormat); //output to the user //tidy up //dispose and free up the resources graphic.Dispose(); g.Dispose(); imgOutput.Dispose(); fs.Dispose(); g = null; return id.ToString(); } public void load() { DataSet DS_HomePage_Photos = DBAcc.DataSetSel(@"SELECT [Photo_ID] ,[Photo_URL_Large] FROM [dbo].[__StandardEngine_T_Photos] where [Module_ID]=" + System.Configuration.ConfigurationSettings.AppSettings["SE_ModuleID"] + @" Order by [Photo_ID] asc" ); DataGrid1.DataSource = DS_HomePage_Photos; DataGrid1.DataBind(); #region Adding the con firm delete if (this.DataGrid1.Controls.Count > 0 && this.DataGrid1.Controls[0].Controls.Count > 2) { for (int i = 1; i < this.DataGrid1.Controls[0].Controls.Count - 1; i++) { LinkButton lnkB = (LinkButton)this.DataGrid1.Controls[0].Controls[i].FindControl("Linkbutton3"); lnkB.Attributes["onclick"] = "javascript:return confirm('Confirm data deletion');"; } } #endregion if (DS_HomePage_Photos.Tables.Count > 0 && DS_HomePage_Photos.Tables[0].Rows.Count > 0) { lbl_msg_NoCats.Visible = false; DataGrid1.Visible = true; } else { lbl_msg_NoCats.Visible = true; DataGrid1.Visible = false; } } public void edit(string _str_HomePage_Photo_ID) { DataSet dataSet1 = new DataSet(); dataSet1 = DBAcc.DataSetSel(@" SELECT [Photo_ID] ,[Photo_URL_Large] FROM [dbo].[__StandardEngine_T_Photos] where [Photo_ID]=" + _str_HomePage_Photo_ID ); //////////////////////////////////////////////////////////////////////////////////////////// hdn_Photo_ID.Value = _str_HomePage_Photo_ID; if (dataSet1.Tables[0].Rows[0]["Photo_URL_Large"] != Convert.DBNull && dataSet1.Tables[0].Rows[0]["Photo_URL_Large"].ToString() != "") { hdn_passed_Photo_URL_Large.Value = dataSet1.Tables[0].Rows[0]["Photo_URL_Large"].ToString().Trim(); img_Photo_Filename.ImageUrl = "../Photos_Swfs/" + dataSet1.Tables[0].Rows[0]["Photo_URL_Large"].ToString().Trim(); img_Photo_Filename.Visible = true; } else { img_Photo_Filename.Visible = false; } RequiredFieldValidator2.Enabled = false; } public void newrow() { hdn_Photo_ID.Value = "0"; hdn_passed_Photo_URL_Large.Value = ""; RequiredFieldValidator2.Enabled = true; } protected void Button1_Click1(object sender, EventArgs e) { #region validation bool valid = true; if (!valid) { return; } #endregion string Photo_ID_v_s = ""; string Photo_URL_Large_v_s = ""; string Module_ID_v_s = System.Configuration.ConfigurationSettings.AppSettings["SE_ModuleID"]; if (hdn_Photo_ID.Value == "0" || hdn_Photo_ID.Value == "") { Photo_ID_v_s = DBAcc.DataSetSel("select dbo.[__StandardEngine_F_MaxID_Photos]()+1 ").Tables[0].Rows[0][0].ToString(); #region Upload file if (fil_Photo_URL_Large.Value != "") { System.Web.UI.HtmlControls.HtmlInputFile File = fil_Photo_URL_Large; string str_fil_PicFileName = "_" + System.Configuration.ConfigurationSettings.AppSettings["SE_ModuleID"] + "_" + Photo_ID_v_s + fil_Photo_URL_Large.PostedFile.FileName.Substring(fil_Photo_URL_Large.PostedFile.FileName.LastIndexOf(".")); File.PostedFile.SaveAs(Request.MapPath("") + "\\..\\Photos_Swfs\\" + str_fil_PicFileName); Photo_URL_Large_v_s = "N'" + ImgRes_Save(Request.MapPath("") + "\\..\\Photos_Swfs\\" + str_fil_PicFileName, Photo_ID_v_s + fil_Photo_URL_Large.PostedFile.FileName.Substring(fil_Photo_URL_Large.PostedFile.FileName.LastIndexOf(".")), 1000) + "'"; System.IO.File.Delete(Request.MapPath("") + "\\..\\Photos_Swfs\\" + str_fil_PicFileName); } else { Photo_URL_Large_v_s = "NULL"; } #endregion DBAcc.CommandExc(@" INSERT INTO [dbo].[__StandardEngine_T_Photos] ([Photo_ID] ,[Photo_URL_Large] ,[Module_ID]) VALUES (" + Photo_ID_v_s + @", " + Photo_URL_Large_v_s + @", " + Module_ID_v_s + @")" ); } else { Photo_ID_v_s = hdn_Photo_ID.Value; #region Dealing with the picfile if (fil_Photo_URL_Large.Value != "") { if (hdn_passed_Photo_URL_Large.Value != "") { try { System.IO.File.Delete(Request.MapPath("") + "\\..\\Photos_Swfs\\" + hdn_passed_Photo_URL_Large.Value); } catch { } } #region Save file if (fil_Photo_URL_Large.Value != "") { System.Web.UI.HtmlControls.HtmlInputFile File = fil_Photo_URL_Large; string str_fil_PicFileName = "_" + System.Configuration.ConfigurationSettings.AppSettings["SE_ModuleID"] + "_" + Photo_ID_v_s + fil_Photo_URL_Large.PostedFile.FileName.Substring(fil_Photo_URL_Large.PostedFile.FileName.LastIndexOf(".")); File.PostedFile.SaveAs(Request.MapPath("") + "\\..\\Photos_Swfs\\" + str_fil_PicFileName); Photo_URL_Large_v_s = "N'" + ImgRes_Save(Request.MapPath("") + "\\..\\Photos_Swfs\\" + str_fil_PicFileName, Photo_ID_v_s + fil_Photo_URL_Large.PostedFile.FileName.Substring(fil_Photo_URL_Large.PostedFile.FileName.LastIndexOf(".")), 1000) + "'"; System.IO.File.Delete(Request.MapPath("") + "\\..\\Photos_Swfs\\" + str_fil_PicFileName); } #endregion } else if (hdn_passed_Photo_URL_Large.Value != "") { Photo_URL_Large_v_s = hdn_passed_Photo_URL_Large.Value != "" ? "N'" + hdn_passed_Photo_URL_Large.Value + "'" : "NULL"; } else { Photo_URL_Large_v_s = "NULL"; } #endregion DBAcc.CommandExc(@" update [dbo].[__StandardEngine_T_Photos] set [Photo_URL_Large]=" + Photo_URL_Large_v_s + @" where [Photo_ID]=" + hdn_Photo_ID.Value ); } newrow(); load(); btn_Cancel.Visible = false; btn_NewCat.Visible = true; td_Fields.Visible = false; td_Grid.Visible = true; } protected void Button2_Click1(object sender, EventArgs e) { btn_NewCat.Visible = false; btn_Cancel.Visible = true; td_Fields.Visible = true; td_Grid.Visible = false; img_Photo_Filename.Visible = false; newrow(); } protected void DataGrid1_ItemCommand1(object source, DataGridCommandEventArgs e) { int int_Order; DataSet DS_Bnrs = new DataSet(); switch (e.CommandName) { case "Edit": hdn_rowindex.Value = e.Item.ItemIndex.ToString().Trim(); hdn_Photo_ID.Value = e.CommandArgument.ToString(); btn_NewCat.Visible = false; btn_Cancel.Visible = true; td_Fields.Visible = true; td_Grid.Visible = false; edit(e.CommandArgument.ToString()); break; case "Delete": try { System.IO.File.Delete(Request.MapPath("") + "\\..\\Photos_Swfs\\" + DBAcc.DataSetSel(@"SELECT [Photo_URL_Large] FROM [dbo].[__StandardEngine_T_Photos] where [Photo_ID]=" + e.CommandArgument.ToString()).Tables[0].Rows[0][0].ToString()); } catch { } DBAcc.CommandExc(@" Delete FROM [dbo].[__StandardEngine_T_Photos] where [Photo_ID]=" + e.CommandArgument.ToString()); load(); break; } } protected void Button3_Click1(object sender, EventArgs e) { } protected void Button4_Click(object sender, EventArgs e) { btn_NewCat.Visible = true; btn_Cancel.Visible = false; td_Fields.Visible = false; td_Grid.Visible = true; } protected void category_id_SelectedIndexChanged(object sender, EventArgs e) { load(); } }
Close