diff --git a/Myrtille.Admin.Services/App.config b/Myrtille.Admin.Services/App.config index 79441d9..c1231ec 100644 --- a/Myrtille.Admin.Services/App.config +++ b/Myrtille.Admin.Services/App.config @@ -32,6 +32,6 @@ - + diff --git a/Myrtille.Admin.Services/Myrtille.Admin.Services.csproj b/Myrtille.Admin.Services/Myrtille.Admin.Services.csproj index 1c4dc50..5096059 100644 --- a/Myrtille.Admin.Services/Myrtille.Admin.Services.csproj +++ b/Myrtille.Admin.Services/Myrtille.Admin.Services.csproj @@ -8,32 +8,21 @@ Exe Myrtille.Admin.Services Myrtille.Admin.Services - v4.5 + v4.6.2 512 - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - myrtille.ico + + x64 + bin\x64\Debug\ + + + x64 + bin\x64\Release\ + ..\packages\Microsoft.Owin.4.0.1\lib\net45\Microsoft.Owin.dll diff --git a/Myrtille.Admin.Web/Myrtille.Admin.Web.csproj b/Myrtille.Admin.Web/Myrtille.Admin.Web.csproj index d5ffd1e..42b5c8d 100644 --- a/Myrtille.Admin.Web/Myrtille.Admin.Web.csproj +++ b/Myrtille.Admin.Web/Myrtille.Admin.Web.csproj @@ -7,12 +7,12 @@ 2.0 {4E20CD3A-C6F8-4AA6-9678-9E210D71F811} - {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library Properties Myrtille.Admin.Web Myrtille.Admin.Web - v4.5 + v4.6.2 false @@ -23,24 +23,6 @@ - - true - full - false - bin\ - DEBUG;TRACE - prompt - 4 - - - true - pdbonly - true - bin\ - TRACE - prompt - 4 - @@ -125,6 +107,14 @@ 10.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + x64 + bin\ + + + x64 + bin\ + @@ -136,7 +126,7 @@ True 50729 / - http://localhost/Myrtille_microarea_admin + https://localhost/Myrtille_microarea_admin False False diff --git a/Myrtille.Admin.Web/Web.config b/Myrtille.Admin.Web/Web.config index cf29b75..92e1132 100644 --- a/Myrtille.Admin.Web/Web.config +++ b/Myrtille.Admin.Web/Web.config @@ -6,7 +6,7 @@ - + @@ -16,7 +16,7 @@ - - + + \ No newline at end of file diff --git a/Myrtille.Common/Myrtille.Common.csproj b/Myrtille.Common/Myrtille.Common.csproj index a6b8176..3dbb4cb 100644 --- a/Myrtille.Common/Myrtille.Common.csproj +++ b/Myrtille.Common/Myrtille.Common.csproj @@ -15,7 +15,7 @@ 3.5 - v4.5 + v4.6.2 http://localhost/Common/ true Web @@ -33,28 +33,13 @@ true - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - AllRules.ruleset - AnyCPU - false + + x64 + bin\x64\Debug\ - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - AllRules.ruleset - AnyCPU - false + + x64 + bin\x64\Release\ diff --git a/Myrtille.Enterprise/Myrtille.Enterprise.csproj b/Myrtille.Enterprise/Myrtille.Enterprise.csproj index ceec2ad..80022ce 100644 --- a/Myrtille.Enterprise/Myrtille.Enterprise.csproj +++ b/Myrtille.Enterprise/Myrtille.Enterprise.csproj @@ -9,25 +9,16 @@ Properties Myrtille.Enterprise Myrtille.Enterprise - v4.5 + v4.6.2 512 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 + + x64 + bin\x64\Debug\ - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + + x64 + bin\x64\Release\ diff --git a/Myrtille.MFAProviders/Myrtille.MFAProviders.csproj b/Myrtille.MFAProviders/Myrtille.MFAProviders.csproj index 276da61..30a4316 100644 --- a/Myrtille.MFAProviders/Myrtille.MFAProviders.csproj +++ b/Myrtille.MFAProviders/Myrtille.MFAProviders.csproj @@ -9,26 +9,17 @@ Properties Myrtille.MFAProviders Myrtille.MFAProviders - v4.5 + v4.6.2 512 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 + + x64 + bin\x64\Debug\ - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + + x64 + bin\x64\Release\ diff --git a/Myrtille.Printer/App.config b/Myrtille.Printer/App.config index efd64f7..a1f378f 100644 --- a/Myrtille.Printer/App.config +++ b/Myrtille.Printer/App.config @@ -8,7 +8,7 @@ - + diff --git a/Myrtille.Printer/Myrtille.Printer.csproj b/Myrtille.Printer/Myrtille.Printer.csproj index e6b2095..324f769 100644 --- a/Myrtille.Printer/Myrtille.Printer.csproj +++ b/Myrtille.Printer/Myrtille.Printer.csproj @@ -8,28 +8,9 @@ WinExe Myrtille.Printer Myrtille.Printer - v4.5 + v4.6.2 512 - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - AdobeIcon.ico @@ -39,6 +20,14 @@ app.manifest + + x64 + bin\x64\Debug\ + + + x64 + bin\x64\Release\ + diff --git a/Myrtille.RDP/App.config b/Myrtille.RDP/App.config index 3d65176..90e2c60 100644 --- a/Myrtille.RDP/App.config +++ b/Myrtille.RDP/App.config @@ -37,7 +37,7 @@ - + \ No newline at end of file diff --git a/Myrtille.RDP/Myrtille.RDP.csproj b/Myrtille.RDP/Myrtille.RDP.csproj index 9cc08d1..e373d22 100644 --- a/Myrtille.RDP/Myrtille.RDP.csproj +++ b/Myrtille.RDP/Myrtille.RDP.csproj @@ -7,8 +7,8 @@ {01E631B8-2A75-4C16-BAE9-E7F0523D89B1} Exe Myrtille.RDP - Myrtille.RDP - v4.5 + SecurdenRDPClient + v4.6.2 512 true @@ -32,7 +32,16 @@ 4 - FreeRDP.ico + + + + + x64 + bin\x64\Debug\ + + + x64 + bin\x64\Release\ diff --git a/Myrtille.SSH/App.config b/Myrtille.SSH/App.config index 2637d97..3622b23 100644 --- a/Myrtille.SSH/App.config +++ b/Myrtille.SSH/App.config @@ -37,7 +37,7 @@ - + \ No newline at end of file diff --git a/Myrtille.SSH/Myrtille.SSH.csproj b/Myrtille.SSH/Myrtille.SSH.csproj index 7d79132..a9f2c29 100644 --- a/Myrtille.SSH/Myrtille.SSH.csproj +++ b/Myrtille.SSH/Myrtille.SSH.csproj @@ -9,7 +9,7 @@ Properties Myrtille.SSH Myrtille.SSH - v4.5 + v4.6.2 512 true false @@ -29,28 +29,17 @@ true - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - icons8-console-50-black.ico + + x64 + bin\x64\Debug\ + + + x64 + bin\x64\Release\ + ..\packages\log4net.2.0.8\lib\net45-full\log4net.dll @@ -89,9 +78,9 @@ - + False - Microsoft .NET Framework 4.5.2 %28x86 and x64%29 + Microsoft .NET Framework 4.6.2 %28x86 and x64%29 true diff --git a/Myrtille.Services.Contracts/Myrtille.Services.Contracts.csproj b/Myrtille.Services.Contracts/Myrtille.Services.Contracts.csproj index 159f8d5..fac9436 100644 --- a/Myrtille.Services.Contracts/Myrtille.Services.Contracts.csproj +++ b/Myrtille.Services.Contracts/Myrtille.Services.Contracts.csproj @@ -10,30 +10,17 @@ Properties Myrtille.Services.Contracts Myrtille.Services.Contracts - v4.5 + v4.6.2 512 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - AnyCPU - false + + x64 + bin\x64\Debug\ - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - AnyCPU - false + + x64 + bin\x64\Release\ diff --git a/Myrtille.Services/Myrtille.Services.csproj b/Myrtille.Services/Myrtille.Services.csproj index 57f356f..541b050 100644 --- a/Myrtille.Services/Myrtille.Services.csproj +++ b/Myrtille.Services/Myrtille.Services.csproj @@ -9,8 +9,8 @@ Exe Properties Myrtille.Services - Myrtille.Services - v4.5 + SecurdenRDP + v4.6.2 512 @@ -30,42 +30,17 @@ false true - - true - bin\Debug\ - DEBUG;TRACE - full - AnyCPU - bin\Debug\Myrtille.Services.exe.CodeAnalysisLog.xml - true - GlobalSuppressions.cs - prompt - MinimumRecommendedRules.ruleset - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets - false - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules - true - false + + + - - bin\Release\ - TRACE - true - pdbonly - AnyCPU - bin\Release\Myrtille.Services.exe.CodeAnalysisLog.xml - true - GlobalSuppressions.cs - prompt - MinimumRecommendedRules.ruleset - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets - true - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules - true - false + + x64 + bin\x64\Debug\ - - myrtille.ico + + x64 + bin\x64\Release\ diff --git a/Myrtille.Services/Program.cs b/Myrtille.Services/Program.cs index e0a0c54..b51a626 100644 --- a/Myrtille.Services/Program.cs +++ b/Myrtille.Services/Program.cs @@ -94,11 +94,12 @@ private static void Main(string[] args) // database (enterprise mode) ConfigureEnterpriseDatabase(); + /* if (!Environment.UserInteractive) { Run(new Program()); } - else + else*/ { var consoleTraceListener = new ConsoleTraceListener(); consoleTraceListener.Filter = new EventTypeFilter(SourceLevels.Information); diff --git a/Myrtille.Services/RemoteSessionProcess.cs b/Myrtille.Services/RemoteSessionProcess.cs index 4da5f28..e49632f 100644 --- a/Myrtille.Services/RemoteSessionProcess.cs +++ b/Myrtille.Services/RemoteSessionProcess.cs @@ -161,7 +161,7 @@ public void StartProcess( // see https://github.com/cedrozor/myrtille/blob/master/DOCUMENTATION.md#build for information and steps to build FreeRDP along with myrtille case HostType.RDP: clientFilePath = @"Myrtille.RDP\bin"; - clientFileName = "Myrtille.RDP.exe"; + clientFileName = "SecurdenRDPClient.exe"; //"Myrtille.RDP.exe"; break; case HostType.SSH: clientFilePath = @"Myrtille.SSH\bin"; diff --git a/Myrtille.Services/ServicesInstaller.cs b/Myrtille.Services/ServicesInstaller.cs index d52c6a0..dc5789b 100644 --- a/Myrtille.Services/ServicesInstaller.cs +++ b/Myrtille.Services/ServicesInstaller.cs @@ -71,7 +71,7 @@ public override void Install( process.StartInfo.FileName = string.Format(@"{0}\WindowsPowerShell\v1.0\powershell.exe", Environment.Is64BitOperatingSystem && !Environment.Is64BitProcess ? Environment.SystemDirectory.ToLower().Replace("system32", "sysnative") : Environment.SystemDirectory); process.StartInfo.Arguments = "-ExecutionPolicy Bypass" + " -Command \"& '" + Path.Combine(Path.GetFullPath(Context.Parameters["targetdir"]), "bin", "Myrtille.Services.Install.ps1") + "'" + - " -BinaryPath '" + Path.Combine(Path.GetFullPath(Context.Parameters["targetdir"]), "bin", "Myrtille.Services.exe") + "'" + + " -BinaryPath '" + Path.Combine(Path.GetFullPath(Context.Parameters["targetdir"]), "bin", "SecurdenRDP.exe") + "'" + " -DebugMode " + (debug ? "1" : "0") + " | Tee-Object -FilePath '" + Path.Combine(Path.GetFullPath(Context.Parameters["targetdir"]), "log", "Myrtille.Services.Install.log") + "'" + "\""; @@ -86,7 +86,7 @@ public override void Install( // load config var config = new XmlDocument(); - var configPath = Path.Combine(Path.GetFullPath(Context.Parameters["targetdir"]), "bin", "Myrtille.Services.exe.config"); + var configPath = Path.Combine(Path.GetFullPath(Context.Parameters["targetdir"]), "bin", "SecurdenRDP.exe.config"); config.Load(configPath); var navigator = config.CreateNavigator(); diff --git a/Myrtille.Services/app.config b/Myrtille.Services/app.config index 4b8843d..6091c97 100644 --- a/Myrtille.Services/app.config +++ b/Myrtille.Services/app.config @@ -28,7 +28,7 @@ - + @@ -193,7 +193,7 @@ - + diff --git a/Myrtille.Setup/Myrtille.Setup.vdproj b/Myrtille.Setup/Myrtille.Setup.vdproj index ea535ab..549e4d5 100644 --- a/Myrtille.Setup/Myrtille.Setup.vdproj +++ b/Myrtille.Setup/Myrtille.Setup.vdproj @@ -1078,10 +1078,10 @@ "ComponentsUrl" = "8:" "Items" { - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:.NETFramework,Version=v4.5.2" + "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:.NETFramework,Version=v4.6.2" { - "Name" = "8:Microsoft .NET Framework 4.5.2 (x86 and x64)" - "ProductCode" = "8:.NETFramework,Version=v4.5.2" + "Name" = "8:Microsoft .NET Framework 4.6.2 (x86 and x64)" + "ProductCode" = "8:.NETFramework,Version=v4.6.2" } } } @@ -1110,10 +1110,10 @@ "ComponentsUrl" = "8:" "Items" { - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:.NETFramework,Version=v4.5.2" + "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:.NETFramework,Version=v4.6.2" { - "Name" = "8:Microsoft .NET Framework 4.5.2 (x86 and x64)" - "ProductCode" = "8:.NETFramework,Version=v4.5.2" + "Name" = "8:Microsoft .NET Framework 4.6.2 (x86 and x64)" + "ProductCode" = "8:.NETFramework,Version=v4.6.2" } } } @@ -1306,7 +1306,7 @@ { "Name" = "8:.NET Framework" "Message" = "8:[VSDNETMSG]" - "FrameworkVersion" = "8:.NETFramework,Version=v4.5" + "FrameworkVersion" = "8:.NETFramework,Version=v4.6.2" "AllowLaterVersions" = "11:FALSE" "InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=131000" } diff --git a/Myrtille.Web/App_Start/BundleConfig.cs b/Myrtille.Web/App_Start/BundleConfig.cs index fe83ee9..1ae7a0a 100644 --- a/Myrtille.Web/App_Start/BundleConfig.cs +++ b/Myrtille.Web/App_Start/BundleConfig.cs @@ -61,6 +61,7 @@ public static void RegisterBundles(BundleCollection bundles) bundles.Add(new Bundle("~/js/xterm/xterm.js").Include("~/js/xterm/xterm.js")); bundles.Add(new Bundle("~/js/xterm/addons/fit/fit.js").Include("~/js/xterm/addons/fit/fit.js")); bundles.Add(new Bundle("~/js/audio/audiowebsocket.js").Include("~/js/audio/audiowebsocket.js")); + bundles.Add(new Bundle("~/js/securden.js").Include("~/js/securden.js")); // nodejs modules shouldn't be modified directly, but compute hashes anyway just in case... bundles.Add(new Bundle("~/node_modules/interactjs/dist/interact.js").Include("~/node_modules/interactjs/dist/interact.js")); @@ -73,6 +74,7 @@ public static void RegisterBundles(BundleCollection bundles) bundles.Add(new Bundle("~/css/Default.css").Include("~/css/Default.css")); bundles.Add(new Bundle("~/css/xterm.css").Include("~/css/xterm.css")); + bundles.Add(new Bundle("~/css/securden.css").Include("~/css/securden.css")); // nodejs modules, same remark as above... bundles.Add(new Bundle("~/node_modules/simple-keyboard/build/css/index.css").Include("~/node_modules/simple-keyboard/build/css/index.css")); diff --git a/Myrtille.Web/Default.aspx b/Myrtille.Web/Default.aspx index 807bac6..3497366 100644 --- a/Myrtille.Web/Default.aspx +++ b/Myrtille.Web/Default.aspx @@ -35,11 +35,12 @@ - Myrtille<%=RemoteSession != null && !RemoteSession.ConnectionService && (RemoteSession.State == RemoteSessionState.Connecting || RemoteSession.State == RemoteSessionState.Connected) && !string.IsNullOrEmpty(RemoteSession.ServerAddress) ? " - " + RemoteSession.ServerAddress.ToString() : ""%> + <%=RemoteSession != null && !RemoteSession.ConnectionService && (RemoteSession.State == RemoteSessionState.Connecting || RemoteSession.State == RemoteSessionState.Connected) && !string.IsNullOrEmpty(RemoteSession.ServerAddress) ? ((RemoteSession.isManageSession? "Shadow Session - " : "") + (RemoteSession.isDisplayTitle? RemoteSession.AccountTitle : (((!string.IsNullOrEmpty(RemoteSession.UserDomain))? RemoteSession.UserDomain.ToString() + "\\" : "") + RemoteSession.UserName.ToString())) + "@" + RemoteSession.ServerAddress.ToString() + " | Securden RDP Session") : "Securden RDP Gateway"%> "/> "/> + "/> @@ -63,11 +64,12 @@ + - , getToggleCookie((parent != null && window.name != '' ? window.name + '_' : '') + 'stat'), getToggleCookie((parent != null && window.name != '' ? window.name + '_' : '') + 'debug'), @@ -76,7 +78,7 @@ <%=(RemoteSession != null ? RemoteSession.ClientWidth.ToString() : "null")%>, <%=(RemoteSession != null ? RemoteSession.ClientHeight.ToString() : "null")%>, '<%=(RemoteSession != null ? RemoteSession.HostType.ToString() : HostType.RDP.ToString())%>', - <%=(RemoteSession != null && !string.IsNullOrEmpty(RemoteSession.VMGuid) && !RemoteSession.VMEnhancedMode).ToString().ToLower()%>);"> + <%=(RemoteSession != null && !string.IsNullOrEmpty(RemoteSession.VMGuid) && !RemoteSession.VMEnhancedMode).ToString().ToLower()%>);resetIdleTimer()"> @@ -251,7 +253,7 @@ show/hide toolbar -