├── ADHDTech.UCOSPasswordDecrypter ├── ClassDiagram1.cd ├── ClassDiagram2.cd ├── Double-J-Design-Diagram-Free-Lock-unlock.ico ├── app.config ├── Properties │ ├── Settings.settings │ ├── Settings.Designer.cs │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── UCOS Password Decrypter.csproj.user ├── Program.cs ├── DecodePassphraseForm.cs ├── Class1.cs ├── frmSelectUCOSHost.cs ├── Base │ └── ExtensionMethods │ │ └── Functional │ │ ├── BitRotate.cs │ │ ├── HexConversion.cs │ │ └── Text │ │ └── Encoding.cs ├── AboutBox1.cs ├── DecodePassphraseForm.Designer.cs ├── frmSelectUCOSHost.resx ├── DecodePassphraseForm.resx └── frmSelectUCOSHost.Designer.cs ├── ADHDTech.IFXOntapeViewer ├── Iconfactory-Copland-1-Hi-8-Tape.ico ├── Icons8-Windows-8-Computer-Hardware-Tape-Drive.ico ├── app.config ├── Properties │ ├── Settings.settings │ ├── Settings.Designer.cs │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── IFX Ontape Browser.csproj.user ├── Program.cs └── IFX Ontape Browser.csproj ├── ADHDTech.DRSBackupDecrypter ├── Double-J-Design-Diagram-Free-Lock-unlock.ico ├── app.config ├── Properties │ ├── Settings.settings │ ├── Settings.Designer.cs │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── DRS Backup Decrypter.csproj.user ├── Program.cs ├── Variables.cs ├── Base │ └── ExtensionMethods │ │ └── Functional │ │ ├── BitRotate.cs │ │ ├── HexConversion.cs │ │ └── Text │ │ └── Encoding.cs ├── UpdateSecurityPasswordForm.cs ├── DecryptProgress.cs ├── DecryptProgress.resx ├── UpdateSecurityPasswordForm.resx ├── DRS Backup Decrypter.csproj └── UpdateSecurityPasswordForm.Designer.cs ├── CUCM AXL Query ├── App.config ├── Properties │ ├── Settings.settings │ ├── Settings.Designer.cs │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── Program.cs ├── ServerProfileForm.cs ├── CUCM AXL Query.csproj ├── CUCMAXLClient.cs ├── ServerProfileForm.resx ├── MainForm.resx └── ServerProfileForm.Designer.cs ├── README.md ├── LICENSE ├── ADHDTech.CiscoSCP ├── Properties │ └── AssemblyInfo.cs ├── ADHDTech.CiscoSCP.csproj └── ADHDTech.CiscoSCP.cs ├── ADHDTech.CiscoCrypt ├── Properties │ └── AssemblyInfo.cs └── ADHDTech.CiscoCrypt.csproj ├── ADHDTech.UCOSClients ├── Properties │ └── AssemblyInfo.cs └── ADHDTech.UCOSClients.csproj ├── ADHDTech.OntapeReader ├── Properties │ └── AssemblyInfo.cs └── ADHDTech.OntapeReader.csproj ├── ADHDTech.CiscoCrypt.sln └── .gitignore /ADHDTech.UCOSPasswordDecrypter/ClassDiagram1.cd: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/ClassDiagram2.cd: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ADHDTech.IFXOntapeViewer/Iconfactory-Copland-1-Hi-8-Tape.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adhdtech/uctools/HEAD/ADHDTech.IFXOntapeViewer/Iconfactory-Copland-1-Hi-8-Tape.ico -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/Double-J-Design-Diagram-Free-Lock-unlock.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adhdtech/uctools/HEAD/ADHDTech.DRSBackupDecrypter/Double-J-Design-Diagram-Free-Lock-unlock.ico -------------------------------------------------------------------------------- /ADHDTech.IFXOntapeViewer/Icons8-Windows-8-Computer-Hardware-Tape-Drive.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adhdtech/uctools/HEAD/ADHDTech.IFXOntapeViewer/Icons8-Windows-8-Computer-Hardware-Tape-Drive.ico -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/Double-J-Design-Diagram-Free-Lock-unlock.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adhdtech/uctools/HEAD/ADHDTech.UCOSPasswordDecrypter/Double-J-Design-Diagram-Free-Lock-unlock.ico -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /ADHDTech.IFXOntapeViewer/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /CUCM AXL Query/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /CUCM AXL Query/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ADHDTech.IFXOntapeViewer/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # uctools 2 | 3 | This repo contains all the UC tools I've written in .NET over the years. 4 | 5 | WARNING - The code quality is guaranteed to offend, possibly even induce vomiting in more experienced developers. These were the first C# apps I ever wrote. So if you start wondering "Were these written on amateur night?!" Yes, yes they were. 6 | -------------------------------------------------------------------------------- /ADHDTech.IFXOntapeViewer/IFX Ontape Browser.csproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | en-US 11 | false 12 | 13 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/DRS Backup Decrypter.csproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | en-US 11 | false 12 | 13 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/UCOS Password Decrypter.csproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | en-US 11 | false 12 | 13 | -------------------------------------------------------------------------------- /ADHDTech.IFXOntapeViewer/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Windows.Forms; 5 | 6 | namespace IFX_Ontape_Viewer 7 | { 8 | static class Program 9 | { 10 | /// 11 | /// The main entry point for the application. 12 | /// 13 | [STAThread] 14 | static void Main() 15 | { 16 | Application.EnableVisualStyles(); 17 | Application.SetCompatibleTextRenderingDefault(false); 18 | Application.Run(new Form1()); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Windows.Forms; 5 | 6 | namespace WindowsFormsApplication1 7 | { 8 | static class Program 9 | { 10 | /// 11 | /// The main entry point for the application. 12 | /// 13 | [STAThread] 14 | static void Main() 15 | { 16 | Application.EnableVisualStyles(); 17 | Application.SetCompatibleTextRenderingDefault(false); 18 | Application.Run(new frmMain()); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /CUCM AXL Query/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace CUCM_AXL_Query 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.EnableVisualStyles(); 18 | Application.SetCompatibleTextRenderingDefault(false); 19 | Application.Run(new MainForm()); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/Program.cs: -------------------------------------------------------------------------------- 1 | using ADHDTech.CiscoCrypt; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Windows.Forms; 6 | 7 | namespace DRSBackupDecrypter 8 | { 9 | 10 | static class Program 11 | { 12 | /// 13 | /// The main entry point for the application. 14 | /// 15 | [STAThread] 16 | static void Main() 17 | { 18 | Application.EnableVisualStyles(); 19 | Application.SetCompatibleTextRenderingDefault(false); 20 | Application.Run(new MainForm()); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/DecodePassphraseForm.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.IO; 7 | using System.Linq; 8 | using System.Text; 9 | using System.Windows.Forms; 10 | using ADHDTech.CiscoCrypt; 11 | 12 | namespace ADHDTech.CiscoCrypt 13 | { 14 | public partial class DecodePassphraseForm : Form 15 | { 16 | public DecodePassphraseForm() 17 | { 18 | InitializeComponent(); 19 | this.ActiveControl = tbRemoteSupportPassphrase; 20 | } 21 | 22 | private void tbRemoteSupportPassphrase_TextChanged(object sender, EventArgs e) 23 | { 24 | // Decode 25 | tbDecodedPassword.Text = new ADHDTech.CiscoCrypt.RemoteSupportPassphrase().Decode(tbRemoteSupportPassphrase.Text); 26 | } 27 | 28 | private void DecodePassphraseForm_Load(object sender, EventArgs e) 29 | { 30 | 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 adhdtech 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace DRSBackupDecrypter.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.3.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /ADHDTech.IFXOntapeViewer/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace IFX_Ontape_Browser.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace UCOSPasswordDecrypter.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.3.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /CUCM AXL Query/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace CUCM_AXL_Query.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/Class1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace WindowsFormsApplication1 7 | { 8 | /// 9 | /// Contains global variables for project. 10 | /// 11 | public static class DRSD 12 | { 13 | public static string sFilenameEncrypted = ""; 14 | public static string sBackupSetXMLFilename = ""; 15 | public static string sBackupSetDirectory = ""; 16 | public static string sUCVersion = ""; 17 | public static int iDecryptFileCount = 0; 18 | public static int iDecryptFilesProcessed = 0; 19 | public static long lCurrentFileSize = 0; 20 | public static long lCurrentFileProcessed = 0; 21 | public static string sUCProduct = ""; 22 | public static string sLocalHostName = ""; 23 | public static string sLocalHostIP0 = ""; 24 | public static string sLocalHostAdminName = ""; 25 | public static string sLocalHostAdminPwCrypt = ""; 26 | public static string sSftpPwCrypt = ""; 27 | public static string sIPSecSecurityPwCrypt = ""; 28 | public static string sApplUserUsername = ""; 29 | public static string sApplUserPwCrypt = ""; 30 | public static string sDisplayFilePath = ""; 31 | } 32 | 33 | public class UCOSHostCfg 34 | { 35 | public string sUCOSHost = ""; 36 | public string sUCOSRemoteUser = ""; 37 | public string sUCOSPassphrase = ""; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /CUCM AXL Query/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("CUCM AXL Query")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("CUCM AXL Query")] 13 | [assembly: AssemblyCopyright("Copyright © 2018")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("1fa919d0-6589-4e6f-a10d-d554f24cbccf")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /ADHDTech.CiscoSCP/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("ADHDTech.CiscoSCP")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ADHDTech.CiscoSCP")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("87b03cde-7e9a-414b-b47c-e1b76e52bcf6")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /ADHDTech.CiscoCrypt/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("ADHDTech.CiscoCrypt")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ADHDTech.CiscoCrypt")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("86c632f6-c599-4370-80af-3fb963a2742c")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /ADHDTech.UCOSClients/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("ADHDTech.UCOSClients")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ADHDTech.UCOSClients")] 13 | [assembly: AssemblyCopyright("Copyright © 2018")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("cf00bf49-6ed6-465b-9705-5da9b39d138d")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /ADHDTech.IFXOntapeViewer/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("IFX Ontape Browser")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("IFX Ontape Viewer")] 13 | [assembly: AssemblyCopyright("Copyright © 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("46e2c5ca-b2a9-473b-8ef3-f9f649b8b243")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /ADHDTech.OntapeReader/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("ADHDTech.OntapeReader")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ADHDTech.OntapeReader")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("49338958-4daa-405b-9630-0089422e1643")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("DRS Backup Decrypter")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("DRS Backup Decrypter")] 13 | [assembly: AssemblyCopyright("Copyright Pete Brown © 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("67a295b2-8825-421e-aef4-b88b4b3d9453")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.4.0.0")] 36 | [assembly: AssemblyFileVersion("1.4.0.0")] 37 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("UCOS Password Decrypter")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("UCOS Password Decrypter")] 13 | [assembly: AssemblyCopyright("Copyright Pete Brown © 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("67a295b2-8825-421e-aef4-b88b4b3d9454")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/frmSelectUCOSHost.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace UCOSPasswordDecrypter 12 | { 13 | public partial class frmSelectUCOSHost : Form 14 | { 15 | WindowsFormsApplication1.UCOSHostCfg thisHostCfg; 16 | 17 | public frmSelectUCOSHost(WindowsFormsApplication1.UCOSHostCfg passedHostCfg) 18 | { 19 | InitializeComponent(); 20 | thisHostCfg = passedHostCfg; 21 | //tbUCOSHost.Text = "10.10.20.1"; 22 | //tbRemoteUser.Text = "myroot"; 23 | //tbRemotePassphrase.Text = "34NIJ8UJ3T03"; 24 | } 25 | 26 | private void textBox3_TextChanged(object sender, EventArgs e) 27 | { 28 | 29 | } 30 | 31 | private void lblUCOSHost_Click(object sender, EventArgs e) 32 | { 33 | 34 | } 35 | 36 | private void lblRemotePassphrase_Click(object sender, EventArgs e) 37 | { 38 | 39 | } 40 | 41 | private void frmSelectUCOSHost_Load(object sender, EventArgs e) 42 | { 43 | 44 | } 45 | 46 | private void btnConnect_Click(object sender, EventArgs e) 47 | { 48 | thisHostCfg.sUCOSHost = tbUCOSHost.Text; 49 | thisHostCfg.sUCOSRemoteUser = tbRemoteUser.Text; 50 | thisHostCfg.sUCOSPassphrase = tbRemotePassphrase.Text; 51 | tbUCOSHost.Enabled = false; 52 | tbRemoteUser.Enabled = false; 53 | tbRemotePassphrase.Enabled = false; 54 | btnConnect.Enabled = false; 55 | this.Refresh(); 56 | this.Close(); 57 | } 58 | 59 | private void tbUCOSHost_TextChanged(object sender, EventArgs e) 60 | { 61 | 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /CUCM AXL Query/ServerProfileForm.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace CUCM_AXL_Query 12 | { 13 | public partial class ServerProfileForm : Form 14 | { 15 | AXLSQLApp myAXLSQLApp; 16 | CUCMAXLProfile testProfile; 17 | public ServerProfileForm(AXLSQLApp passedAXLSQLApp) 18 | { 19 | InitializeComponent(); 20 | myAXLSQLApp = passedAXLSQLApp; 21 | } 22 | 23 | private void ServerProfileForm_Load(object sender, EventArgs e) 24 | { 25 | 26 | } 27 | 28 | private void button1_Click(object sender, EventArgs e) 29 | { 30 | testProfile = new CUCMAXLProfile(tb_AXLHost.Text, tb_AXLUser.Text, tb_AXLPass.Text); 31 | if (testProfile.Validated) 32 | { 33 | MessageBox.Show("Connection successful!"); 34 | } 35 | else { 36 | MessageBox.Show("Connection failed with error: " + testProfile.AXLError); 37 | } 38 | } 39 | 40 | private void btn_AXLProfileSubmit_Click(object sender, EventArgs e) 41 | { 42 | if (testProfile != null && testProfile.Validated) { 43 | myAXLSQLApp.AXLProfiles[testProfile.AXLUser + @"@" + testProfile.AXLHost] = testProfile; 44 | 45 | // Save config 46 | myAXLSQLApp.SaveConfig(); 47 | myAXLSQLApp.mainForm.RefreshServerProfiles(); 48 | 49 | Close(); 50 | } else { 51 | MessageBox.Show("Connection has not been validated"); 52 | } 53 | } 54 | 55 | private void tb_AXLHost_TextChanged(object sender, EventArgs e) 56 | { 57 | 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/Variables.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using ADHDTech; 6 | using ADHDTech.CiscoCrypt; 7 | 8 | namespace DRSBackupDecrypter 9 | { 10 | /// 11 | /// Contains global variables for project. 12 | /// 13 | public static class DRSD 14 | { 15 | 16 | public static DRSBackupSet myBackupSet; 17 | /// 18 | /// Global variable that is constant. 19 | /// 20 | public const string GlobalString = "Important Text"; 21 | 22 | /// 23 | /// Static value protected by access routine. 24 | /// 25 | static int _globalValue; 26 | 27 | /// 28 | /// Access routine for global variable. 29 | /// 30 | public static int GlobalValue 31 | { 32 | get 33 | { 34 | return _globalValue; 35 | } 36 | set 37 | { 38 | _globalValue = value; 39 | } 40 | } 41 | 42 | /// 43 | /// Global static field. 44 | /// 45 | public static bool GlobalBoolean; 46 | 47 | public static string sFilenameEncrypted = ""; 48 | public static string sFilenameDecryptTo = ""; 49 | public static string sClusterSecurityPass = ""; 50 | public static string sClusterSecurityPassEncHex = ""; 51 | public static string sRandomBackupPass = ""; 52 | public static string sXMLEncryptKey = ""; 53 | public static string sOutputDirectory = ""; 54 | public static string sBackupSetXMLFilename = ""; 55 | public static string sBackupSetDirectory = ""; 56 | public static string sUCVersion = ""; 57 | public static int iDecryptFileCount = 0; 58 | public static int iDecryptFilesProcessed = 0; 59 | public static long lCurrentFileSize = 0; 60 | public static long lCurrentFileProcessed = 0; 61 | public static bool bTermEarly = false; 62 | public static string[] sFilesToDecrypt; 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /ADHDTech.UCOSClients/ADHDTech.UCOSClients.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {CF00BF49-6ED6-465B-9705-5DA9B39D138D} 8 | Library 9 | Properties 10 | ADHDTech.UCOSClients 11 | ADHDTech.UCOSClients 12 | v4.6.1 13 | 512 14 | 15 | 16 | true 17 | full 18 | false 19 | bin\Debug\ 20 | DEBUG;TRACE 21 | prompt 22 | 4 23 | 24 | 25 | pdbonly 26 | true 27 | bin\Release\ 28 | TRACE 29 | prompt 30 | 4 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/Base/ExtensionMethods/Functional/BitRotate.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace GregoryAdam.Base.ExtensionMethods 7 | { 8 | public static class BitRotate 9 | { 10 | #region Rotate Left 11 | //______________________________________________________________________ 12 | public static UInt32 RotateLeft(this UInt32 x, int nBits) 13 | { 14 | nBits &= 0x1f; 15 | 16 | return (x << nBits) | (x >> (32 - nBits)); 17 | 18 | } 19 | //______________________________________________________________________ 20 | public static Int32 RotateLeft(this Int32 x, int nBits) 21 | { 22 | return (Int32)(((UInt32)x).RotateLeft(nBits)); 23 | 24 | 25 | } 26 | //______________________________________________________________________ 27 | public static UInt64 RotateLeft(this UInt64 x, int nBits) 28 | { 29 | nBits &= 0x3f; 30 | 31 | return (x << nBits) | (x >> (64 - nBits)); 32 | } 33 | //______________________________________________________________________ 34 | public static Int64 RotateLeft(this Int64 x, int nBits) 35 | { 36 | return (Int64)(((UInt64)x).RotateLeft(nBits)); 37 | 38 | } 39 | //______________________________________________________________________ 40 | #endregion Rotate Left 41 | 42 | #region Rotate Right 43 | //______________________________________________________________________ 44 | public static UInt32 RotateRight(this UInt32 x, int nBits) 45 | { 46 | nBits &= 0x1f; 47 | 48 | return (x >> nBits) | (x << (32 - nBits)); 49 | 50 | } 51 | //______________________________________________________________________ 52 | public static Int32 RotateRight(this Int32 x, int nBits) 53 | { 54 | return (Int32)(((UInt32)x).RotateLeft(nBits)); 55 | 56 | 57 | } 58 | //______________________________________________________________________ 59 | public static UInt64 RotateRight(this UInt64 x, int nBits) 60 | { 61 | nBits &= 0x3f; 62 | 63 | return (x >> nBits) | (x << (64 - nBits)); 64 | } 65 | //______________________________________________________________________ 66 | public static Int64 RotateRight(this Int64 x, int nBits) 67 | { 68 | return (Int64)(((UInt64)x).RotateLeft(nBits)); 69 | 70 | } 71 | //______________________________________________________________________ 72 | #endregion 73 | 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/Base/ExtensionMethods/Functional/BitRotate.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace GregoryAdam.Base.ExtensionMethods 7 | { 8 | public static class BitRotate 9 | { 10 | #region Rotate Left 11 | //______________________________________________________________________ 12 | public static UInt32 RotateLeft(this UInt32 x, int nBits) 13 | { 14 | nBits &= 0x1f; 15 | 16 | return (x << nBits) | (x >> (32 - nBits)); 17 | 18 | } 19 | //______________________________________________________________________ 20 | public static Int32 RotateLeft(this Int32 x, int nBits) 21 | { 22 | return (Int32)(((UInt32)x).RotateLeft(nBits)); 23 | 24 | 25 | } 26 | //______________________________________________________________________ 27 | public static UInt64 RotateLeft(this UInt64 x, int nBits) 28 | { 29 | nBits &= 0x3f; 30 | 31 | return (x << nBits) | (x >> (64 - nBits)); 32 | } 33 | //______________________________________________________________________ 34 | public static Int64 RotateLeft(this Int64 x, int nBits) 35 | { 36 | return (Int64)(((UInt64)x).RotateLeft(nBits)); 37 | 38 | } 39 | //______________________________________________________________________ 40 | #endregion Rotate Left 41 | 42 | #region Rotate Right 43 | //______________________________________________________________________ 44 | public static UInt32 RotateRight(this UInt32 x, int nBits) 45 | { 46 | nBits &= 0x1f; 47 | 48 | return (x >> nBits) | (x << (32 - nBits)); 49 | 50 | } 51 | //______________________________________________________________________ 52 | public static Int32 RotateRight(this Int32 x, int nBits) 53 | { 54 | return (Int32)(((UInt32)x).RotateLeft(nBits)); 55 | 56 | 57 | } 58 | //______________________________________________________________________ 59 | public static UInt64 RotateRight(this UInt64 x, int nBits) 60 | { 61 | nBits &= 0x3f; 62 | 63 | return (x >> nBits) | (x << (64 - nBits)); 64 | } 65 | //______________________________________________________________________ 66 | public static Int64 RotateRight(this Int64 x, int nBits) 67 | { 68 | return (Int64)(((UInt64)x).RotateLeft(nBits)); 69 | 70 | } 71 | //______________________________________________________________________ 72 | #endregion 73 | 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/UpdateSecurityPasswordForm.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.IO; 7 | using System.Linq; 8 | using System.Text; 9 | using System.Windows.Forms; 10 | 11 | namespace DRSBackupDecrypter 12 | { 13 | public partial class UpdateSecurityPasswordForm : Form 14 | { 15 | public UpdateSecurityPasswordForm() 16 | { 17 | InitializeComponent(); 18 | string sNewXMLFilePath = DRSD.myBackupSet._sBackupDirectory + @"\" + DRSD.myBackupSet._sBackupXMLFile + @".new"; 19 | tbNewXMLFilePath.Text = sNewXMLFilePath; 20 | if (DRSD.myBackupSet.HaveClusterSecurityPw) { 21 | tbCurrentSecurityPassword.Text = DRSD.myBackupSet._sClusterSecurityPw; 22 | } 23 | this.ActiveControl = tbNewSecurityPassword; 24 | } 25 | 26 | private void label1_Click(object sender, EventArgs e) 27 | { 28 | 29 | } 30 | 31 | private void label2_Click(object sender, EventArgs e) 32 | { 33 | 34 | } 35 | 36 | private void textBox3_TextChanged(object sender, EventArgs e) 37 | { 38 | 39 | } 40 | 41 | private void label3_Click(object sender, EventArgs e) 42 | { 43 | 44 | } 45 | 46 | private void tbNewSecurityPassword_TextChanged(object sender, EventArgs e) 47 | { 48 | CheckReady(); 49 | } 50 | 51 | private void btnCreateXML_Click(object sender, EventArgs e) 52 | { 53 | btnCreateXML.Enabled = false; 54 | bool bGenXMLSucceeded = DRSD.myBackupSet.UpdateXMLSecurityPassword(tbNewSecurityPassword.Text, tbNewXMLFilePath.Text); 55 | if (bGenXMLSucceeded) 56 | { 57 | MessageBox.Show("Successfully created new XML file"); 58 | } 59 | else { 60 | MessageBox.Show("Could not create XML: " + DRSD.myBackupSet._sErrorMsg); 61 | } 62 | btnCreateXML.Enabled = true; 63 | } 64 | 65 | private void CheckReady() { 66 | if (tbNewSecurityPassword.Text.Length >= 10 && 67 | tbNewSecurityPassword.Text.Length <= 20 && 68 | Directory.Exists(Path.GetDirectoryName(tbNewXMLFilePath.Text)) 69 | ) 70 | { 71 | btnCreateXML.Enabled = true; 72 | } 73 | else 74 | { 75 | btnCreateXML.Enabled = false; 76 | } 77 | } 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /ADHDTech.CiscoSCP/ADHDTech.CiscoSCP.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {87B03CDE-7E9A-414B-B47C-E1B76E52BCF6} 8 | Library 9 | Properties 10 | ADHDTech.CiscoSCP 11 | ADHDTech.CiscoSCP 12 | v4.5.2 13 | 512 14 | 15 | 16 | 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | pdbonly 27 | true 28 | bin\Release\ 29 | TRACE 30 | prompt 31 | 4 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | {86c632f6-c599-4370-80af-3fb963a2742c} 51 | ADHDTech.CiscoCrypt 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /ADHDTech.OntapeReader/ADHDTech.OntapeReader.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {49338958-4DAA-405B-9630-0089422E1643} 8 | Library 9 | Properties 10 | ADHDTech.OntapeReader 11 | ADHDTech.OntapeReader 12 | v4.5.2 13 | 512 14 | 15 | 16 | true 17 | full 18 | false 19 | bin\Debug\ 20 | DEBUG;TRACE 21 | prompt 22 | 4 23 | true 24 | 25 | 26 | pdbonly 27 | true 28 | bin\Release\ 29 | TRACE 30 | prompt 31 | 4 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 55 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/Base/ExtensionMethods/Functional/HexConversion.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace GregoryAdam.Base.ExtensionMethods 7 | { 8 | public static class HexConversion 9 | { 10 | //====================================================================== 11 | #region ToHex 12 | 13 | //______________________________________________________________________ 14 | /// 15 | /// Hex value of a byte 16 | /// 17 | /// 18 | /// 19 | public static string ToHex(this byte b) 20 | { 21 | return b.ToString("X2"); 22 | } 23 | //______________________________________________________________________ 24 | /// 25 | /// hex value of a byte array 26 | /// 27 | /// 28 | /// 29 | public static string ToHex(this byte[] b) 30 | { 31 | var sb = new StringBuilder(b.Length << 1); 32 | var upperBound = b.GetUpperBound(0); 33 | 34 | for (int i = b.GetLowerBound(0); i <= upperBound; i++) 35 | sb.Append(b[i].ToHex()); 36 | 37 | return sb.ToString(); 38 | } 39 | //______________________________________________________________________ 40 | /// 41 | /// Hex value of s a string. The string is converted to a utf8 byte array first 42 | /// 43 | /// 44 | /// 45 | public static string ToUTF8Hex(this string s) 46 | { 47 | return s.ToUTF8().ToHex(); 48 | } 49 | #endregion 50 | //====================================================================== 51 | #region FromHex 52 | /// 53 | /// Converts a hex string to a byte array 54 | /// 55 | /// 56 | /// 57 | public static byte[] FromHex(this string s) 58 | { 59 | if (s.Length % 2 != 0) 60 | throw new ArgumentException("Length must be even"); 61 | 62 | var bb = new byte[s.Length >> 1]; 63 | 64 | for (int i = 0, j = 0; i < s.Length; i += 2, j++) 65 | { 66 | bb[j] = Byte.Parse(s.Substring(i, 2), System.Globalization.NumberStyles.HexNumber); 67 | } 68 | 69 | return bb; 70 | } 71 | //______________________________________________________________________ 72 | /// 73 | /// converts a hex string to a string (via utf8 conversion) 74 | /// 75 | /// 76 | /// 77 | public static string FromUTF8Hex(this string s) 78 | { 79 | return s.FromHex().FromUTF8(); 80 | 81 | } 82 | #endregion FromHex 83 | //====================================================================== 84 | 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/Base/ExtensionMethods/Functional/HexConversion.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace GregoryAdam.Base.ExtensionMethods 7 | { 8 | public static class HexConversion 9 | { 10 | //====================================================================== 11 | #region ToHex 12 | 13 | //______________________________________________________________________ 14 | /// 15 | /// Hex value of a byte 16 | /// 17 | /// 18 | /// 19 | public static string ToHex(this byte b) 20 | { 21 | return b.ToString("X2"); 22 | } 23 | //______________________________________________________________________ 24 | /// 25 | /// hex value of a byte array 26 | /// 27 | /// 28 | /// 29 | public static string ToHex(this byte[] b) 30 | { 31 | var sb = new StringBuilder(b.Length << 1); 32 | var upperBound = b.GetUpperBound(0); 33 | 34 | for (int i = b.GetLowerBound(0); i <= upperBound; i++) 35 | sb.Append(b[i].ToHex()); 36 | 37 | return sb.ToString(); 38 | } 39 | //______________________________________________________________________ 40 | /// 41 | /// Hex value of s a string. The string is converted to a utf8 byte array first 42 | /// 43 | /// 44 | /// 45 | public static string ToUTF8Hex(this string s) 46 | { 47 | return s.ToUTF8().ToHex(); 48 | } 49 | #endregion 50 | //====================================================================== 51 | #region FromHex 52 | /// 53 | /// Converts a hex string to a byte array 54 | /// 55 | /// 56 | /// 57 | public static byte[] FromHex(this string s) 58 | { 59 | if (s.Length % 2 != 0) 60 | throw new ArgumentException("Length must be even"); 61 | 62 | var bb = new byte[s.Length >> 1]; 63 | 64 | for (int i = 0, j = 0; i < s.Length; i += 2, j++) 65 | { 66 | bb[j] = Byte.Parse(s.Substring(i, 2), System.Globalization.NumberStyles.HexNumber); 67 | } 68 | 69 | return bb; 70 | } 71 | //______________________________________________________________________ 72 | /// 73 | /// converts a hex string to a string (via utf8 conversion) 74 | /// 75 | /// 76 | /// 77 | public static string FromUTF8Hex(this string s) 78 | { 79 | return s.FromHex().FromUTF8(); 80 | 81 | } 82 | #endregion FromHex 83 | //====================================================================== 84 | 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /ADHDTech.CiscoCrypt/ADHDTech.CiscoCrypt.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {86C632F6-C599-4370-80AF-3FB963A2742C} 8 | Library 9 | Properties 10 | ADHDTech.CiscoCrypt 11 | ADHDTech.CiscoCrypt 12 | v4.5.2 13 | 512 14 | 15 | 16 | true 17 | full 18 | false 19 | bin\Debug\ 20 | DEBUG;TRACE 21 | prompt 22 | 4 23 | 24 | 25 | pdbonly 26 | true 27 | bin\Release\ 28 | TRACE 29 | prompt 30 | 4 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 57 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace DRSBackupDecrypter.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// A strongly-typed resource class, for looking up localized strings, etc. 17 | /// 18 | // This class was auto-generated by the StronglyTypedResourceBuilder 19 | // class via a tool like ResGen or Visual Studio. 20 | // To add or remove a member, edit your .ResX file then rerun ResGen 21 | // with the /str option, or rebuild your VS project. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// Returns the cached ResourceManager instance used by this class. 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DRSBackupDecrypter.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// Overrides the current thread's CurrentUICulture property for all 51 | /// resource lookups using this strongly typed resource class. 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /ADHDTech.IFXOntapeViewer/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace IFX_Ontape_Browser.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// A strongly-typed resource class, for looking up localized strings, etc. 17 | /// 18 | // This class was auto-generated by the StronglyTypedResourceBuilder 19 | // class via a tool like ResGen or Visual Studio. 20 | // To add or remove a member, edit your .ResX file then rerun ResGen 21 | // with the /str option, or rebuild your VS project. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// Returns the cached ResourceManager instance used by this class. 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("IFX_Ontape_Browser.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// Overrides the current thread's CurrentUICulture property for all 51 | /// resource lookups using this strongly typed resource class. 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace UCOSPasswordDecrypter.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// A strongly-typed resource class, for looking up localized strings, etc. 17 | /// 18 | // This class was auto-generated by the StronglyTypedResourceBuilder 19 | // class via a tool like ResGen or Visual Studio. 20 | // To add or remove a member, edit your .ResX file then rerun ResGen 21 | // with the /str option, or rebuild your VS project. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// Returns the cached ResourceManager instance used by this class. 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("UCOSPasswordDecrypter.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// Overrides the current thread's CurrentUICulture property for all 51 | /// resource lookups using this strongly typed resource class. 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /CUCM AXL Query/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace CUCM_AXL_Query.Properties 12 | { 13 | 14 | 15 | /// 16 | /// A strongly-typed resource class, for looking up localized strings, etc. 17 | /// 18 | // This class was auto-generated by the StronglyTypedResourceBuilder 19 | // class via a tool like ResGen or Visual Studio. 20 | // To add or remove a member, edit your .ResX file then rerun ResGen 21 | // with the /str option, or rebuild your VS project. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources 26 | { 27 | 28 | private static global::System.Resources.ResourceManager resourceMan; 29 | 30 | private static global::System.Globalization.CultureInfo resourceCulture; 31 | 32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 33 | internal Resources() 34 | { 35 | } 36 | 37 | /// 38 | /// Returns the cached ResourceManager instance used by this class. 39 | /// 40 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 41 | internal static global::System.Resources.ResourceManager ResourceManager 42 | { 43 | get 44 | { 45 | if ((resourceMan == null)) 46 | { 47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CUCM_AXL_Query.Properties.Resources", typeof(Resources).Assembly); 48 | resourceMan = temp; 49 | } 50 | return resourceMan; 51 | } 52 | } 53 | 54 | /// 55 | /// Overrides the current thread's CurrentUICulture property for all 56 | /// resource lookups using this strongly typed resource class. 57 | /// 58 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 59 | internal static global::System.Globalization.CultureInfo Culture 60 | { 61 | get 62 | { 63 | return resourceCulture; 64 | } 65 | set 66 | { 67 | resourceCulture = value; 68 | } 69 | } 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/Base/ExtensionMethods/Functional/Text/Encoding.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace GregoryAdam.Base.ExtensionMethods 7 | { 8 | public static class Encoding 9 | { 10 | #region UTF8 11 | #region Char 12 | //====================================================================== 13 | /// 14 | /// Converts a char to a utf8 byte array 15 | /// 16 | /// 17 | /// 18 | public static byte[] ToUTF8(this char c) 19 | { 20 | return System.Text.Encoding.UTF8.GetBytes(new char[] { c }); 21 | } 22 | //______________________________________________________________________ 23 | /// 24 | /// Converts a char array to a UTF8 byte array 25 | /// 26 | /// 27 | /// 28 | public static byte[] ToUTF8(this char[] c) 29 | { 30 | return System.Text.Encoding.UTF8.GetBytes(c); 31 | } 32 | //______________________________________________________________________ 33 | /// 34 | /// Converts a char array to a UTF8 byte array 35 | /// 36 | /// Char array 37 | /// starting at 38 | /// number of chars 39 | /// 40 | public static byte[] ToUTF8(this char[] c, int index, int count) 41 | { 42 | return System.Text.Encoding.UTF8.GetBytes(c, index, count); 43 | } 44 | //______________________________________________________________________ 45 | //====================================================================== 46 | #endregion Char 47 | 48 | #region String 49 | /// 50 | /// Converts a string to a utf8 byte array 51 | /// 52 | /// string to convert 53 | /// 54 | public static byte[] ToUTF8(this string s) 55 | { 56 | return System.Text.Encoding.UTF8.GetBytes(s); 57 | } 58 | //______________________________________________________________________ 59 | /// 60 | /// Converts a string to a utf8 byte array 61 | /// 62 | /// string to convert 63 | /// start index 64 | /// number of chars to convert 65 | /// 66 | public static byte[] ToUTF8(this string s, int index, int count) 67 | { 68 | return System.Text.Encoding.UTF8.GetBytes(s.Substring(index, count)); 69 | } 70 | //______________________________________________________________________ 71 | //====================================================================== 72 | #endregion String 73 | 74 | #region Byte 75 | //______________________________________________________________________ 76 | /// 77 | /// Converts a UTF8 byte array to string 78 | /// 79 | /// byte array to convert 80 | /// 81 | public static string FromUTF8(this byte[] b) 82 | { 83 | return System.Text.Encoding.UTF8.GetString(b); 84 | } 85 | //______________________________________________________________________ 86 | /// 87 | /// Converts a UTF8 byte array to string 88 | /// 89 | /// byte array to convert 90 | /// start index 91 | /// number of bytes 92 | /// 93 | public static string FromUTF8(this byte[] b, int index, int count) 94 | { 95 | return System.Text.Encoding.UTF8.GetString(b, index, count); 96 | } 97 | //______________________________________________________________________ 98 | #endregion Byte 99 | #endregion UTF8 100 | 101 | } 102 | } 103 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/Base/ExtensionMethods/Functional/Text/Encoding.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace GregoryAdam.Base.ExtensionMethods 7 | { 8 | public static class Encoding 9 | { 10 | #region UTF8 11 | #region Char 12 | //====================================================================== 13 | /// 14 | /// Converts a char to a utf8 byte array 15 | /// 16 | /// 17 | /// 18 | public static byte[] ToUTF8(this char c) 19 | { 20 | return System.Text.Encoding.UTF8.GetBytes(new char[] { c }); 21 | } 22 | //______________________________________________________________________ 23 | /// 24 | /// Converts a char array to a UTF8 byte array 25 | /// 26 | /// 27 | /// 28 | public static byte[] ToUTF8(this char[] c) 29 | { 30 | return System.Text.Encoding.UTF8.GetBytes(c); 31 | } 32 | //______________________________________________________________________ 33 | /// 34 | /// Converts a char array to a UTF8 byte array 35 | /// 36 | /// Char array 37 | /// starting at 38 | /// number of chars 39 | /// 40 | public static byte[] ToUTF8(this char[] c, int index, int count) 41 | { 42 | return System.Text.Encoding.UTF8.GetBytes(c, index, count); 43 | } 44 | //______________________________________________________________________ 45 | //====================================================================== 46 | #endregion Char 47 | 48 | #region String 49 | /// 50 | /// Converts a string to a utf8 byte array 51 | /// 52 | /// string to convert 53 | /// 54 | public static byte[] ToUTF8(this string s) 55 | { 56 | return System.Text.Encoding.UTF8.GetBytes(s); 57 | } 58 | //______________________________________________________________________ 59 | /// 60 | /// Converts a string to a utf8 byte array 61 | /// 62 | /// string to convert 63 | /// start index 64 | /// number of chars to convert 65 | /// 66 | public static byte[] ToUTF8(this string s, int index, int count) 67 | { 68 | return System.Text.Encoding.UTF8.GetBytes(s.Substring(index, count)); 69 | } 70 | //______________________________________________________________________ 71 | //====================================================================== 72 | #endregion String 73 | 74 | #region Byte 75 | //______________________________________________________________________ 76 | /// 77 | /// Converts a UTF8 byte array to string 78 | /// 79 | /// byte array to convert 80 | /// 81 | public static string FromUTF8(this byte[] b) 82 | { 83 | return System.Text.Encoding.UTF8.GetString(b); 84 | } 85 | //______________________________________________________________________ 86 | /// 87 | /// Converts a UTF8 byte array to string 88 | /// 89 | /// byte array to convert 90 | /// start index 91 | /// number of bytes 92 | /// 93 | public static string FromUTF8(this byte[] b, int index, int count) 94 | { 95 | return System.Text.Encoding.UTF8.GetString(b, index, count); 96 | } 97 | //______________________________________________________________________ 98 | #endregion Byte 99 | #endregion UTF8 100 | 101 | } 102 | } 103 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/AboutBox1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Drawing; 5 | using System.Linq; 6 | using System.Reflection; 7 | using System.Windows.Forms; 8 | 9 | namespace DRSBackupDecrypter 10 | { 11 | partial class AboutBox1 : Form 12 | { 13 | public AboutBox1() 14 | { 15 | InitializeComponent(); 16 | this.Text = String.Format("About {0}", AssemblyTitle); 17 | this.labelProductName.Text = AssemblyProduct; 18 | this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion); 19 | this.labelCopyright.Text = AssemblyCopyright; 20 | this.labelCompanyName.Text = AssemblyCompany; 21 | this.textBoxDescription.Text = AssemblyDescription; 22 | } 23 | 24 | #region Assembly Attribute Accessors 25 | 26 | public string AssemblyTitle 27 | { 28 | get 29 | { 30 | object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute), false); 31 | if (attributes.Length > 0) 32 | { 33 | AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0]; 34 | if (titleAttribute.Title != "") 35 | { 36 | return titleAttribute.Title; 37 | } 38 | } 39 | return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase); 40 | } 41 | } 42 | 43 | public string AssemblyVersion 44 | { 45 | get 46 | { 47 | return Assembly.GetExecutingAssembly().GetName().Version.ToString(); 48 | } 49 | } 50 | 51 | public string AssemblyDescription 52 | { 53 | get 54 | { 55 | object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false); 56 | if (attributes.Length == 0) 57 | { 58 | return ""; 59 | } 60 | return ((AssemblyDescriptionAttribute)attributes[0]).Description; 61 | } 62 | } 63 | 64 | public string AssemblyProduct 65 | { 66 | get 67 | { 68 | object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute), false); 69 | if (attributes.Length == 0) 70 | { 71 | return ""; 72 | } 73 | return ((AssemblyProductAttribute)attributes[0]).Product; 74 | } 75 | } 76 | 77 | public string AssemblyCopyright 78 | { 79 | get 80 | { 81 | object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); 82 | if (attributes.Length == 0) 83 | { 84 | return ""; 85 | } 86 | return ((AssemblyCopyrightAttribute)attributes[0]).Copyright; 87 | } 88 | } 89 | 90 | public string AssemblyCompany 91 | { 92 | get 93 | { 94 | object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false); 95 | if (attributes.Length == 0) 96 | { 97 | return ""; 98 | } 99 | return ((AssemblyCompanyAttribute)attributes[0]).Company; 100 | } 101 | } 102 | #endregion 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/DecodePassphraseForm.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ADHDTech.CiscoCrypt 2 | { 3 | partial class DecodePassphraseForm 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.tbRemoteSupportPassphrase = new System.Windows.Forms.TextBox(); 32 | this.label1 = new System.Windows.Forms.Label(); 33 | this.label2 = new System.Windows.Forms.Label(); 34 | this.tbDecodedPassword = new System.Windows.Forms.TextBox(); 35 | this.SuspendLayout(); 36 | // 37 | // tbRemoteSupportPassphrase 38 | // 39 | this.tbRemoteSupportPassphrase.Location = new System.Drawing.Point(159, 12); 40 | this.tbRemoteSupportPassphrase.Name = "tbRemoteSupportPassphrase"; 41 | this.tbRemoteSupportPassphrase.Size = new System.Drawing.Size(201, 20); 42 | this.tbRemoteSupportPassphrase.TabIndex = 0; 43 | this.tbRemoteSupportPassphrase.TextChanged += new System.EventHandler(this.tbRemoteSupportPassphrase_TextChanged); 44 | // 45 | // label1 46 | // 47 | this.label1.AutoSize = true; 48 | this.label1.Location = new System.Drawing.Point(11, 15); 49 | this.label1.Name = "label1"; 50 | this.label1.Size = new System.Drawing.Size(142, 13); 51 | this.label1.TabIndex = 1; 52 | this.label1.Text = "Remote Support Passphrase"; 53 | // 54 | // label2 55 | // 56 | this.label2.AutoSize = true; 57 | this.label2.Location = new System.Drawing.Point(11, 42); 58 | this.label2.Name = "label2"; 59 | this.label2.Size = new System.Drawing.Size(100, 13); 60 | this.label2.TabIndex = 2; 61 | this.label2.Text = "Decoded Password"; 62 | // 63 | // tbDecodedPassword 64 | // 65 | this.tbDecodedPassword.Location = new System.Drawing.Point(159, 39); 66 | this.tbDecodedPassword.Name = "tbDecodedPassword"; 67 | this.tbDecodedPassword.ReadOnly = true; 68 | this.tbDecodedPassword.Size = new System.Drawing.Size(201, 20); 69 | this.tbDecodedPassword.TabIndex = 3; 70 | // 71 | // DecodePassphraseForm 72 | // 73 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 74 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 75 | this.ClientSize = new System.Drawing.Size(382, 78); 76 | this.Controls.Add(this.tbDecodedPassword); 77 | this.Controls.Add(this.label2); 78 | this.Controls.Add(this.label1); 79 | this.Controls.Add(this.tbRemoteSupportPassphrase); 80 | this.Name = "DecodePassphraseForm"; 81 | this.Text = "Decode Passphrase"; 82 | this.Load += new System.EventHandler(this.DecodePassphraseForm_Load); 83 | this.ResumeLayout(false); 84 | this.PerformLayout(); 85 | 86 | } 87 | 88 | #endregion 89 | 90 | private System.Windows.Forms.TextBox tbRemoteSupportPassphrase; 91 | private System.Windows.Forms.Label label1; 92 | private System.Windows.Forms.Label label2; 93 | private System.Windows.Forms.TextBox tbDecodedPassword; 94 | } 95 | } -------------------------------------------------------------------------------- /CUCM AXL Query/CUCM AXL Query.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {1FA919D0-6589-4E6F-A10D-D554F24CBCCF} 8 | WinExe 9 | CUCM_AXL_Query 10 | CUCM AXL Query 11 | v4.6.1 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | Form 54 | 55 | 56 | MainForm.cs 57 | 58 | 59 | 60 | 61 | Form 62 | 63 | 64 | ServerProfileForm.cs 65 | 66 | 67 | MainForm.cs 68 | 69 | 70 | ResXFileCodeGenerator 71 | Resources.Designer.cs 72 | Designer 73 | 74 | 75 | True 76 | Resources.resx 77 | 78 | 79 | ServerProfileForm.cs 80 | 81 | 82 | SettingsSingleFileGenerator 83 | Settings.Designer.cs 84 | 85 | 86 | True 87 | Settings.settings 88 | True 89 | 90 | 91 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/DecryptProgress.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | using System.Collections.Generic; 4 | using System.ComponentModel; 5 | using System.Data; 6 | using System.Drawing; 7 | using System.Linq; 8 | using System.Text; 9 | using System.Windows.Forms; 10 | using System.Security.Cryptography; 11 | using DRSBackupDecrypter; 12 | using ADHDTech.CiscoCrypt; 13 | 14 | namespace DRSBackupDecrypter 15 | { 16 | public partial class DecryptProgress : Form 17 | { 18 | public DecryptProgress() 19 | { 20 | InitializeComponent(); 21 | } 22 | 23 | private void progressBar2_Click(object sender, EventArgs e) 24 | { 25 | 26 | } 27 | 28 | private void label1_Click(object sender, EventArgs e) 29 | { 30 | 31 | } 32 | 33 | private void label4_Click(object sender, EventArgs e) 34 | { 35 | 36 | } 37 | 38 | private void Form3_Load(object sender, EventArgs e) 39 | { 40 | 41 | } 42 | 43 | private void Worker_DoWork(object sender, EventArgs e) 44 | { 45 | DRSD.bTermEarly = false; 46 | DRSD.iDecryptFilesProcessed = 0; 47 | BackgroundWorker worker = sender as BackgroundWorker; 48 | for (int i = 0; i < DRSD.iDecryptFileCount; i++) 49 | { 50 | DRSD.sFilenameEncrypted = DRSD.sBackupSetDirectory + "\\" + DRSD.sFilesToDecrypt[i]; 51 | DRSD.sFilenameDecryptTo = DRSD.sOutputDirectory + "\\" + DRSD.sFilesToDecrypt[i]; 52 | 53 | TARFileObj thisTarObj = DRSD.myBackupSet._dTARFiles[DRSD.sFilesToDecrypt[i]]; 54 | DRSD.lCurrentFileSize = thisTarObj._lFileSize; 55 | 56 | thisTarObj.Decrypt(DRSD.sFilenameDecryptTo, DRSD.myBackupSet._sRandomBackupPass, DRSD.myBackupSet._iHashTypeTAR, worker); 57 | 58 | if (thisTarObj._bTermEarly) 59 | { 60 | break; 61 | } 62 | else { 63 | DRSD.iDecryptFilesProcessed++; 64 | worker.ReportProgress(100); 65 | } 66 | } 67 | 68 | //label7.Text = (i + 1).ToString() + "/" + DRSD.iDecryptFileCount.ToString(); 69 | // progressBar2.Value = ((100 * (i + 1)) / DRSD.iDecryptFileCount); 70 | } 71 | //label4.Visible = true; 72 | 73 | 74 | private void label6_Click(object sender, EventArgs e) 75 | { 76 | 77 | } 78 | 79 | private void Form3_Shown(object sender, EventArgs e) 80 | { 81 | label4.Visible = false; 82 | DRSD.iDecryptFileCount = DRSD.sFilesToDecrypt.Count(); 83 | label7.Text = "0/" + DRSD.iDecryptFileCount.ToString(); 84 | //this.Refresh(); 85 | 86 | BackgroundWorker worker = new BackgroundWorker 87 | { 88 | WorkerReportsProgress = true 89 | }; 90 | worker.DoWork += new DoWorkEventHandler(Worker_DoWork); 91 | worker.ProgressChanged += new ProgressChangedEventHandler(worker_ProgressChanged); 92 | worker.RunWorkerAsync(); 93 | } 94 | 95 | private void worker_ProgressChanged(object sender, ProgressChangedEventArgs e) 96 | { 97 | progressBar1.Value = e.ProgressPercentage; 98 | progressBar2.Value = (DRSD.iDecryptFilesProcessed * 100) / DRSD.iDecryptFileCount; 99 | label5.Text = Path.GetFileName(DRSD.sFilenameEncrypted); 100 | label6.Text = ((DRSD.lCurrentFileSize * e.ProgressPercentage * .01) / 1024 / 1024).ToString("0") + " MB / " + (DRSD.lCurrentFileSize / 1024 / 1024).ToString() + " MB"; 101 | label7.Text = DRSD.iDecryptFilesProcessed.ToString() + " / " + DRSD.iDecryptFileCount.ToString(); 102 | 103 | if (DRSD.iDecryptFilesProcessed == DRSD.iDecryptFileCount) 104 | { 105 | label4.Visible = true; 106 | MessageBox.Show("Decryption complete!"); 107 | this.Close(); 108 | } 109 | } 110 | 111 | private void label5_Click(object sender, EventArgs e) 112 | { 113 | 114 | } 115 | 116 | private void KillWorkerThread(object sender, FormClosingEventArgs e) 117 | { 118 | DRSD.bTermEarly = true; 119 | } 120 | } 121 | } 122 | -------------------------------------------------------------------------------- /CUCM AXL Query/CUCMAXLClient.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.Serialization; 7 | using ADHDTech.UCOSClients; 8 | using System.IO; 9 | using System.Runtime.Serialization.Json; 10 | 11 | namespace CUCM_AXL_Query 12 | { 13 | [DataContract] 14 | public class AXLSQLApp 15 | { 16 | public MainForm mainForm; 17 | [DataMember] 18 | public Dictionary AXLProfiles; 19 | public CUCMAXLProfile currentAXLProfile; 20 | public string configFile; 21 | DataContractJsonSerializer JSONser; 22 | 23 | public AXLSQLApp(MainForm originForm) 24 | { 25 | JSONser = new DataContractJsonSerializer(typeof(Dictionary)); 26 | AXLProfiles = new Dictionary(); 27 | mainForm = originForm; 28 | configFile = @"AXLSQLConfig.json"; 29 | } 30 | 31 | public void SaveConfig() 32 | { 33 | MemoryStream stream1 = new MemoryStream(); 34 | JSONser.WriteObject(stream1, AXLProfiles); 35 | 36 | stream1.Position = 0; 37 | StreamReader sr = new StreamReader(stream1); 38 | //Console.Write("JSON form of Person object: "); 39 | //Console.WriteLine(sr.ReadToEnd()); 40 | File.WriteAllText(configFile, sr.ReadToEnd()); 41 | } 42 | 43 | public void LoadConfig() 44 | { 45 | if (File.Exists(configFile)) 46 | { 47 | using (FileStream stream = File.Open(configFile, FileMode.Open)) 48 | { 49 | //Bitmap originalBMP = new Bitmap(stream); 50 | AXLProfiles = (Dictionary)JSONser.ReadObject(stream); 51 | } 52 | //string readText = File.ReadAllText(configFile); 53 | } 54 | } 55 | } 56 | 57 | public class CUCMAXLClient 58 | { 59 | public List> ReturnDataSet; 60 | public String ErrorMsg; 61 | public AXLAPIService AXLAPIClient; 62 | 63 | public CUCMAXLClient(string targetHost, string userName, string userPass) 64 | { 65 | AXLAPIClient = new AXLAPIService(targetHost, userName, userPass); 66 | } 67 | 68 | public bool RunQuery(string sqlQuery) 69 | { 70 | ErrorMsg = null; 71 | ReturnDataSet = new List>(); 72 | ExecuteSQLQueryReq sqlReq = new ExecuteSQLQueryReq(); 73 | sqlReq.sql = sqlQuery; 74 | try 75 | { 76 | ExecuteSQLQueryRes sqlRes = AXLAPIClient.executeSQLQuery(sqlReq); 77 | for (int i = 0; i < sqlRes.@return.Length; i++) 78 | { 79 | System.Xml.XmlNode[] columnNodes = (System.Xml.XmlNode[])sqlRes.@return[i]; 80 | Dictionary fieldValues = new Dictionary(); 81 | for (int j = 0; j < columnNodes.Length; j++) 82 | { 83 | if (columnNodes[j].FirstChild != null) 84 | { 85 | fieldValues[columnNodes[j].Name] = columnNodes[j].FirstChild.Value; 86 | } 87 | else 88 | { 89 | fieldValues[columnNodes[j].Name] = null; 90 | } 91 | } 92 | ReturnDataSet.Add(fieldValues); 93 | //string tmpVal = rootNode.Attributes["devicecount"].Value; 94 | } 95 | return false; 96 | } 97 | catch (Exception ex) 98 | { 99 | ErrorMsg = ex.Message; 100 | //Console.WriteLine(ex.Message); 101 | return true; 102 | } 103 | } 104 | } 105 | 106 | [DataContract] 107 | public class CUCMAXLProfile 108 | { 109 | [DataMember] 110 | public string AXLHost; 111 | [DataMember] 112 | public string AXLUser; 113 | [DataMember] 114 | public string AXLPass; 115 | public bool Validated; 116 | public string AXLError; 117 | 118 | public CUCMAXLProfile(string targetHost, string userName, string userPass) 119 | { 120 | AXLHost = targetHost; 121 | AXLUser = userName; 122 | AXLPass = userPass; 123 | AXLError = null; 124 | Validated = Validate(); 125 | } 126 | 127 | public bool Validate() 128 | { 129 | bool isValid = false; 130 | CUCMAXLClient testClient = new CUCMAXLClient(AXLHost, AXLUser, AXLPass); 131 | 132 | if (testClient.RunQuery("select count(*) from applicationuser as appusercount")) 133 | { 134 | // We received an error 135 | AXLError = testClient.ErrorMsg; 136 | } 137 | else 138 | { 139 | isValid = true; 140 | } 141 | return isValid; 142 | } 143 | } 144 | } 145 | -------------------------------------------------------------------------------- /CUCM AXL Query/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /ADHDTech.IFXOntapeViewer/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/frmSelectUCOSHost.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /CUCM AXL Query/ServerProfileForm.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/DecryptProgress.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/DecodePassphraseForm.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/UpdateSecurityPasswordForm.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ADHDTech.UCOSPasswordDecrypter/frmSelectUCOSHost.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace UCOSPasswordDecrypter 2 | { 3 | partial class frmSelectUCOSHost 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.tbUCOSHost = new System.Windows.Forms.TextBox(); 32 | this.tbRemoteUser = new System.Windows.Forms.TextBox(); 33 | this.tbRemotePassphrase = new System.Windows.Forms.TextBox(); 34 | this.lblUCOSHost = new System.Windows.Forms.Label(); 35 | this.lblRemoteUser = new System.Windows.Forms.Label(); 36 | this.lblRemotePassphrase = new System.Windows.Forms.Label(); 37 | this.btnConnect = new System.Windows.Forms.Button(); 38 | this.SuspendLayout(); 39 | // 40 | // tbUCOSHost 41 | // 42 | this.tbUCOSHost.Location = new System.Drawing.Point(111, 12); 43 | this.tbUCOSHost.Name = "tbUCOSHost"; 44 | this.tbUCOSHost.Size = new System.Drawing.Size(193, 20); 45 | this.tbUCOSHost.TabIndex = 0; 46 | this.tbUCOSHost.TextChanged += new System.EventHandler(this.tbUCOSHost_TextChanged); 47 | // 48 | // tbRemoteUser 49 | // 50 | this.tbRemoteUser.Location = new System.Drawing.Point(111, 38); 51 | this.tbRemoteUser.Name = "tbRemoteUser"; 52 | this.tbRemoteUser.Size = new System.Drawing.Size(193, 20); 53 | this.tbRemoteUser.TabIndex = 1; 54 | // 55 | // tbRemotePassphrase 56 | // 57 | this.tbRemotePassphrase.Location = new System.Drawing.Point(111, 64); 58 | this.tbRemotePassphrase.Name = "tbRemotePassphrase"; 59 | this.tbRemotePassphrase.Size = new System.Drawing.Size(193, 20); 60 | this.tbRemotePassphrase.TabIndex = 2; 61 | this.tbRemotePassphrase.TextChanged += new System.EventHandler(this.textBox3_TextChanged); 62 | // 63 | // lblUCOSHost 64 | // 65 | this.lblUCOSHost.AutoSize = true; 66 | this.lblUCOSHost.Location = new System.Drawing.Point(2, 15); 67 | this.lblUCOSHost.Name = "lblUCOSHost"; 68 | this.lblUCOSHost.Size = new System.Drawing.Size(62, 13); 69 | this.lblUCOSHost.TabIndex = 3; 70 | this.lblUCOSHost.Text = "UCOS Host"; 71 | this.lblUCOSHost.Click += new System.EventHandler(this.lblUCOSHost_Click); 72 | // 73 | // lblRemoteUser 74 | // 75 | this.lblRemoteUser.AutoSize = true; 76 | this.lblRemoteUser.Location = new System.Drawing.Point(2, 41); 77 | this.lblRemoteUser.Name = "lblRemoteUser"; 78 | this.lblRemoteUser.Size = new System.Drawing.Size(69, 13); 79 | this.lblRemoteUser.TabIndex = 4; 80 | this.lblRemoteUser.Text = "Remote User"; 81 | // 82 | // lblRemotePassphrase 83 | // 84 | this.lblRemotePassphrase.AutoSize = true; 85 | this.lblRemotePassphrase.Location = new System.Drawing.Point(2, 67); 86 | this.lblRemotePassphrase.Name = "lblRemotePassphrase"; 87 | this.lblRemotePassphrase.Size = new System.Drawing.Size(102, 13); 88 | this.lblRemotePassphrase.TabIndex = 5; 89 | this.lblRemotePassphrase.Text = "Remote Passphrase"; 90 | this.lblRemotePassphrase.Click += new System.EventHandler(this.lblRemotePassphrase_Click); 91 | // 92 | // btnConnect 93 | // 94 | this.btnConnect.Location = new System.Drawing.Point(152, 90); 95 | this.btnConnect.Name = "btnConnect"; 96 | this.btnConnect.Size = new System.Drawing.Size(75, 23); 97 | this.btnConnect.TabIndex = 6; 98 | this.btnConnect.Text = "Connect"; 99 | this.btnConnect.UseVisualStyleBackColor = true; 100 | this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click); 101 | // 102 | // frmSelectUCOSHost 103 | // 104 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 105 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 106 | this.ClientSize = new System.Drawing.Size(318, 123); 107 | this.Controls.Add(this.btnConnect); 108 | this.Controls.Add(this.lblRemotePassphrase); 109 | this.Controls.Add(this.lblRemoteUser); 110 | this.Controls.Add(this.lblUCOSHost); 111 | this.Controls.Add(this.tbRemotePassphrase); 112 | this.Controls.Add(this.tbRemoteUser); 113 | this.Controls.Add(this.tbUCOSHost); 114 | this.Name = "frmSelectUCOSHost"; 115 | this.Text = "Connect to UCOS Host"; 116 | this.Load += new System.EventHandler(this.frmSelectUCOSHost_Load); 117 | this.ResumeLayout(false); 118 | this.PerformLayout(); 119 | 120 | } 121 | 122 | #endregion 123 | 124 | private System.Windows.Forms.TextBox tbUCOSHost; 125 | private System.Windows.Forms.TextBox tbRemoteUser; 126 | private System.Windows.Forms.TextBox tbRemotePassphrase; 127 | private System.Windows.Forms.Label lblUCOSHost; 128 | private System.Windows.Forms.Label lblRemoteUser; 129 | private System.Windows.Forms.Label lblRemotePassphrase; 130 | private System.Windows.Forms.Button btnConnect; 131 | } 132 | } -------------------------------------------------------------------------------- /ADHDTech.IFXOntapeViewer/IFX Ontape Browser.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Debug 5 | x86 6 | 8.0.30703 7 | 2.0 8 | {12331896-9A82-4501-A960-CF0F359C7BCD} 9 | WinExe 10 | Properties 11 | IFX_Ontape_Browser 12 | IFX Ontape Browser 13 | v4.5.2 14 | 15 | 16 | 512 17 | publish\ 18 | true 19 | Disk 20 | false 21 | Foreground 22 | 7 23 | Days 24 | false 25 | false 26 | true 27 | 0 28 | 1.0.0.%2a 29 | false 30 | false 31 | true 32 | 33 | 34 | x86 35 | true 36 | full 37 | false 38 | bin\Debug\ 39 | DEBUG;TRACE 40 | prompt 41 | 4 42 | true 43 | false 44 | 45 | 46 | x86 47 | pdbonly 48 | true 49 | bin\Release\ 50 | TRACE 51 | prompt 52 | 4 53 | false 54 | 55 | 56 | Iconfactory-Copland-1-Hi-8-Tape.ico 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | Form 73 | 74 | 75 | Form1.cs 76 | 77 | 78 | 79 | 80 | Form1.cs 81 | 82 | 83 | ResXFileCodeGenerator 84 | Resources.Designer.cs 85 | Designer 86 | 87 | 88 | True 89 | Resources.resx 90 | True 91 | 92 | 93 | 94 | SettingsSingleFileGenerator 95 | Settings.Designer.cs 96 | 97 | 98 | True 99 | Settings.settings 100 | True 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | False 110 | Microsoft .NET Framework 4 Client Profile %28x86 and x64%29 111 | true 112 | 113 | 114 | False 115 | .NET Framework 3.5 SP1 Client Profile 116 | false 117 | 118 | 119 | False 120 | .NET Framework 3.5 SP1 121 | false 122 | 123 | 124 | False 125 | Windows Installer 3.1 126 | true 127 | 128 | 129 | 130 | 131 | {49338958-4daa-405b-9630-0089422e1643} 132 | ADHDTech.OntapeReader 133 | 134 | 135 | 136 | 143 | -------------------------------------------------------------------------------- /CUCM AXL Query/MainForm.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | 121 | 17, 17 122 | 123 | 124 | 248, 17 125 | 126 | 127 | 364, 17 128 | 129 | -------------------------------------------------------------------------------- /ADHDTech.CiscoCrypt.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.29424.173 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ADHDTech.CiscoCrypt", "ADHDTech.CiscoCrypt\ADHDTech.CiscoCrypt.csproj", "{86C632F6-C599-4370-80AF-3FB963A2742C}" 7 | EndProject 8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ADHDTech.CiscoSCP", "ADHDTech.CiscoSCP\ADHDTech.CiscoSCP.csproj", "{87B03CDE-7E9A-414B-B47C-E1B76E52BCF6}" 9 | EndProject 10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DRS Backup Decrypter", "ADHDTech.DRSBackupDecrypter\DRS Backup Decrypter.csproj", "{B2968C8D-BF74-496C-8455-581EECFB3DC0}" 11 | EndProject 12 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UCOS Password Decrypter", "ADHDTech.UCOSPasswordDecrypter\UCOS Password Decrypter.csproj", "{CD960BFA-F8CB-4EA8-864A-8226A517AE28}" 13 | EndProject 14 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IFX Ontape Browser", "ADHDTech.IFXOntapeViewer\IFX Ontape Browser.csproj", "{12331896-9A82-4501-A960-CF0F359C7BCD}" 15 | EndProject 16 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ADHDTech.OntapeReader", "ADHDTech.OntapeReader\ADHDTech.OntapeReader.csproj", "{49338958-4DAA-405B-9630-0089422E1643}" 17 | EndProject 18 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CUCM AXL Query", "CUCM AXL Query\CUCM AXL Query.csproj", "{1FA919D0-6589-4E6F-A10D-D554F24CBCCF}" 19 | EndProject 20 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ADHDTech.UCOSClients", "ADHDTech.UCOSClients\ADHDTech.UCOSClients.csproj", "{CF00BF49-6ED6-465B-9705-5DA9B39D138D}" 21 | EndProject 22 | Global 23 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 24 | Debug|Any CPU = Debug|Any CPU 25 | Debug|x86 = Debug|x86 26 | Release|Any CPU = Release|Any CPU 27 | Release|x86 = Release|x86 28 | EndGlobalSection 29 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 30 | {86C632F6-C599-4370-80AF-3FB963A2742C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 31 | {86C632F6-C599-4370-80AF-3FB963A2742C}.Debug|Any CPU.Build.0 = Debug|Any CPU 32 | {86C632F6-C599-4370-80AF-3FB963A2742C}.Debug|x86.ActiveCfg = Debug|Any CPU 33 | {86C632F6-C599-4370-80AF-3FB963A2742C}.Debug|x86.Build.0 = Debug|Any CPU 34 | {86C632F6-C599-4370-80AF-3FB963A2742C}.Release|Any CPU.ActiveCfg = Release|Any CPU 35 | {86C632F6-C599-4370-80AF-3FB963A2742C}.Release|Any CPU.Build.0 = Release|Any CPU 36 | {86C632F6-C599-4370-80AF-3FB963A2742C}.Release|x86.ActiveCfg = Release|Any CPU 37 | {86C632F6-C599-4370-80AF-3FB963A2742C}.Release|x86.Build.0 = Release|Any CPU 38 | {87B03CDE-7E9A-414B-B47C-E1B76E52BCF6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 39 | {87B03CDE-7E9A-414B-B47C-E1B76E52BCF6}.Debug|Any CPU.Build.0 = Debug|Any CPU 40 | {87B03CDE-7E9A-414B-B47C-E1B76E52BCF6}.Debug|x86.ActiveCfg = Debug|Any CPU 41 | {87B03CDE-7E9A-414B-B47C-E1B76E52BCF6}.Debug|x86.Build.0 = Debug|Any CPU 42 | {87B03CDE-7E9A-414B-B47C-E1B76E52BCF6}.Release|Any CPU.ActiveCfg = Release|Any CPU 43 | {87B03CDE-7E9A-414B-B47C-E1B76E52BCF6}.Release|Any CPU.Build.0 = Release|Any CPU 44 | {87B03CDE-7E9A-414B-B47C-E1B76E52BCF6}.Release|x86.ActiveCfg = Release|Any CPU 45 | {87B03CDE-7E9A-414B-B47C-E1B76E52BCF6}.Release|x86.Build.0 = Release|Any CPU 46 | {B2968C8D-BF74-496C-8455-581EECFB3DC0}.Debug|Any CPU.ActiveCfg = Debug|x86 47 | {B2968C8D-BF74-496C-8455-581EECFB3DC0}.Debug|x86.ActiveCfg = Debug|x86 48 | {B2968C8D-BF74-496C-8455-581EECFB3DC0}.Debug|x86.Build.0 = Debug|x86 49 | {B2968C8D-BF74-496C-8455-581EECFB3DC0}.Release|Any CPU.ActiveCfg = Release|x86 50 | {B2968C8D-BF74-496C-8455-581EECFB3DC0}.Release|x86.ActiveCfg = Release|x86 51 | {B2968C8D-BF74-496C-8455-581EECFB3DC0}.Release|x86.Build.0 = Release|x86 52 | {CD960BFA-F8CB-4EA8-864A-8226A517AE28}.Debug|Any CPU.ActiveCfg = Debug|x86 53 | {CD960BFA-F8CB-4EA8-864A-8226A517AE28}.Debug|x86.ActiveCfg = Debug|x86 54 | {CD960BFA-F8CB-4EA8-864A-8226A517AE28}.Debug|x86.Build.0 = Debug|x86 55 | {CD960BFA-F8CB-4EA8-864A-8226A517AE28}.Release|Any CPU.ActiveCfg = Release|x86 56 | {CD960BFA-F8CB-4EA8-864A-8226A517AE28}.Release|x86.ActiveCfg = Release|x86 57 | {CD960BFA-F8CB-4EA8-864A-8226A517AE28}.Release|x86.Build.0 = Release|x86 58 | {12331896-9A82-4501-A960-CF0F359C7BCD}.Debug|Any CPU.ActiveCfg = Debug|x86 59 | {12331896-9A82-4501-A960-CF0F359C7BCD}.Debug|x86.ActiveCfg = Debug|x86 60 | {12331896-9A82-4501-A960-CF0F359C7BCD}.Debug|x86.Build.0 = Debug|x86 61 | {12331896-9A82-4501-A960-CF0F359C7BCD}.Release|Any CPU.ActiveCfg = Release|x86 62 | {12331896-9A82-4501-A960-CF0F359C7BCD}.Release|x86.ActiveCfg = Release|x86 63 | {12331896-9A82-4501-A960-CF0F359C7BCD}.Release|x86.Build.0 = Release|x86 64 | {49338958-4DAA-405B-9630-0089422E1643}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 65 | {49338958-4DAA-405B-9630-0089422E1643}.Debug|Any CPU.Build.0 = Debug|Any CPU 66 | {49338958-4DAA-405B-9630-0089422E1643}.Debug|x86.ActiveCfg = Debug|Any CPU 67 | {49338958-4DAA-405B-9630-0089422E1643}.Debug|x86.Build.0 = Debug|Any CPU 68 | {49338958-4DAA-405B-9630-0089422E1643}.Release|Any CPU.ActiveCfg = Release|Any CPU 69 | {49338958-4DAA-405B-9630-0089422E1643}.Release|Any CPU.Build.0 = Release|Any CPU 70 | {49338958-4DAA-405B-9630-0089422E1643}.Release|x86.ActiveCfg = Release|Any CPU 71 | {49338958-4DAA-405B-9630-0089422E1643}.Release|x86.Build.0 = Release|Any CPU 72 | {1FA919D0-6589-4E6F-A10D-D554F24CBCCF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 73 | {1FA919D0-6589-4E6F-A10D-D554F24CBCCF}.Debug|Any CPU.Build.0 = Debug|Any CPU 74 | {1FA919D0-6589-4E6F-A10D-D554F24CBCCF}.Debug|x86.ActiveCfg = Debug|Any CPU 75 | {1FA919D0-6589-4E6F-A10D-D554F24CBCCF}.Debug|x86.Build.0 = Debug|Any CPU 76 | {1FA919D0-6589-4E6F-A10D-D554F24CBCCF}.Release|Any CPU.ActiveCfg = Release|Any CPU 77 | {1FA919D0-6589-4E6F-A10D-D554F24CBCCF}.Release|Any CPU.Build.0 = Release|Any CPU 78 | {1FA919D0-6589-4E6F-A10D-D554F24CBCCF}.Release|x86.ActiveCfg = Release|Any CPU 79 | {1FA919D0-6589-4E6F-A10D-D554F24CBCCF}.Release|x86.Build.0 = Release|Any CPU 80 | {CF00BF49-6ED6-465B-9705-5DA9B39D138D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 81 | {CF00BF49-6ED6-465B-9705-5DA9B39D138D}.Debug|Any CPU.Build.0 = Debug|Any CPU 82 | {CF00BF49-6ED6-465B-9705-5DA9B39D138D}.Debug|x86.ActiveCfg = Debug|Any CPU 83 | {CF00BF49-6ED6-465B-9705-5DA9B39D138D}.Debug|x86.Build.0 = Debug|Any CPU 84 | {CF00BF49-6ED6-465B-9705-5DA9B39D138D}.Release|Any CPU.ActiveCfg = Release|Any CPU 85 | {CF00BF49-6ED6-465B-9705-5DA9B39D138D}.Release|Any CPU.Build.0 = Release|Any CPU 86 | {CF00BF49-6ED6-465B-9705-5DA9B39D138D}.Release|x86.ActiveCfg = Release|Any CPU 87 | {CF00BF49-6ED6-465B-9705-5DA9B39D138D}.Release|x86.Build.0 = Release|Any CPU 88 | EndGlobalSection 89 | GlobalSection(SolutionProperties) = preSolution 90 | HideSolutionNode = FALSE 91 | EndGlobalSection 92 | GlobalSection(ExtensibilityGlobals) = postSolution 93 | SolutionGuid = {AE63E96A-FCD0-4053-848C-B93346B19344} 94 | EndGlobalSection 95 | EndGlobal 96 | -------------------------------------------------------------------------------- /CUCM AXL Query/ServerProfileForm.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace CUCM_AXL_Query 2 | { 3 | partial class ServerProfileForm 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.lbl_svrForm_CUCMHost = new System.Windows.Forms.Label(); 32 | this.lbl_svrForm_AXLUser = new System.Windows.Forms.Label(); 33 | this.lbl_svrForm_AXLPass = new System.Windows.Forms.Label(); 34 | this.tb_AXLHost = new System.Windows.Forms.TextBox(); 35 | this.tb_AXLUser = new System.Windows.Forms.TextBox(); 36 | this.tb_AXLPass = new System.Windows.Forms.TextBox(); 37 | this.btn_AXLProfileValidate = new System.Windows.Forms.Button(); 38 | this.btn_AXLProfileSubmit = new System.Windows.Forms.Button(); 39 | this.SuspendLayout(); 40 | // 41 | // lbl_svrForm_CUCMHost 42 | // 43 | this.lbl_svrForm_CUCMHost.AutoSize = true; 44 | this.lbl_svrForm_CUCMHost.Location = new System.Drawing.Point(12, 22); 45 | this.lbl_svrForm_CUCMHost.Name = "lbl_svrForm_CUCMHost"; 46 | this.lbl_svrForm_CUCMHost.Size = new System.Drawing.Size(63, 13); 47 | this.lbl_svrForm_CUCMHost.TabIndex = 0; 48 | this.lbl_svrForm_CUCMHost.Text = "CUCM Host"; 49 | // 50 | // lbl_svrForm_AXLUser 51 | // 52 | this.lbl_svrForm_AXLUser.AutoSize = true; 53 | this.lbl_svrForm_AXLUser.Location = new System.Drawing.Point(12, 50); 54 | this.lbl_svrForm_AXLUser.Name = "lbl_svrForm_AXLUser"; 55 | this.lbl_svrForm_AXLUser.Size = new System.Drawing.Size(52, 13); 56 | this.lbl_svrForm_AXLUser.TabIndex = 1; 57 | this.lbl_svrForm_AXLUser.Text = "AXL User"; 58 | // 59 | // lbl_svrForm_AXLPass 60 | // 61 | this.lbl_svrForm_AXLPass.AutoSize = true; 62 | this.lbl_svrForm_AXLPass.Location = new System.Drawing.Point(12, 81); 63 | this.lbl_svrForm_AXLPass.Name = "lbl_svrForm_AXLPass"; 64 | this.lbl_svrForm_AXLPass.Size = new System.Drawing.Size(76, 13); 65 | this.lbl_svrForm_AXLPass.TabIndex = 2; 66 | this.lbl_svrForm_AXLPass.Text = "AXL Password"; 67 | // 68 | // tb_AXLHost 69 | // 70 | this.tb_AXLHost.Location = new System.Drawing.Point(106, 19); 71 | this.tb_AXLHost.Name = "tb_AXLHost"; 72 | this.tb_AXLHost.Size = new System.Drawing.Size(202, 20); 73 | this.tb_AXLHost.TabIndex = 3; 74 | this.tb_AXLHost.TextChanged += new System.EventHandler(this.tb_AXLHost_TextChanged); 75 | // 76 | // tb_AXLUser 77 | // 78 | this.tb_AXLUser.Location = new System.Drawing.Point(106, 47); 79 | this.tb_AXLUser.Name = "tb_AXLUser"; 80 | this.tb_AXLUser.Size = new System.Drawing.Size(202, 20); 81 | this.tb_AXLUser.TabIndex = 4; 82 | // 83 | // tb_AXLPass 84 | // 85 | this.tb_AXLPass.Location = new System.Drawing.Point(106, 78); 86 | this.tb_AXLPass.Name = "tb_AXLPass"; 87 | this.tb_AXLPass.PasswordChar = '*'; 88 | this.tb_AXLPass.Size = new System.Drawing.Size(202, 20); 89 | this.tb_AXLPass.TabIndex = 5; 90 | // 91 | // btn_AXLProfileValidate 92 | // 93 | this.btn_AXLProfileValidate.Location = new System.Drawing.Point(67, 110); 94 | this.btn_AXLProfileValidate.Name = "btn_AXLProfileValidate"; 95 | this.btn_AXLProfileValidate.Size = new System.Drawing.Size(75, 23); 96 | this.btn_AXLProfileValidate.TabIndex = 6; 97 | this.btn_AXLProfileValidate.Text = "Validate"; 98 | this.btn_AXLProfileValidate.UseVisualStyleBackColor = true; 99 | this.btn_AXLProfileValidate.Click += new System.EventHandler(this.button1_Click); 100 | // 101 | // btn_AXLProfileSubmit 102 | // 103 | this.btn_AXLProfileSubmit.Location = new System.Drawing.Point(179, 110); 104 | this.btn_AXLProfileSubmit.Name = "btn_AXLProfileSubmit"; 105 | this.btn_AXLProfileSubmit.Size = new System.Drawing.Size(75, 23); 106 | this.btn_AXLProfileSubmit.TabIndex = 7; 107 | this.btn_AXLProfileSubmit.Text = "Submit"; 108 | this.btn_AXLProfileSubmit.UseVisualStyleBackColor = true; 109 | this.btn_AXLProfileSubmit.Click += new System.EventHandler(this.btn_AXLProfileSubmit_Click); 110 | // 111 | // ServerProfileForm 112 | // 113 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 114 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 115 | this.ClientSize = new System.Drawing.Size(339, 145); 116 | this.Controls.Add(this.btn_AXLProfileSubmit); 117 | this.Controls.Add(this.btn_AXLProfileValidate); 118 | this.Controls.Add(this.tb_AXLPass); 119 | this.Controls.Add(this.tb_AXLUser); 120 | this.Controls.Add(this.tb_AXLHost); 121 | this.Controls.Add(this.lbl_svrForm_AXLPass); 122 | this.Controls.Add(this.lbl_svrForm_AXLUser); 123 | this.Controls.Add(this.lbl_svrForm_CUCMHost); 124 | this.Name = "ServerProfileForm"; 125 | this.Text = "Server Profile"; 126 | this.Load += new System.EventHandler(this.ServerProfileForm_Load); 127 | this.ResumeLayout(false); 128 | this.PerformLayout(); 129 | 130 | } 131 | 132 | #endregion 133 | 134 | private System.Windows.Forms.Label lbl_svrForm_CUCMHost; 135 | private System.Windows.Forms.Label lbl_svrForm_AXLUser; 136 | private System.Windows.Forms.Label lbl_svrForm_AXLPass; 137 | private System.Windows.Forms.TextBox tb_AXLHost; 138 | private System.Windows.Forms.TextBox tb_AXLUser; 139 | private System.Windows.Forms.TextBox tb_AXLPass; 140 | private System.Windows.Forms.Button btn_AXLProfileValidate; 141 | private System.Windows.Forms.Button btn_AXLProfileSubmit; 142 | } 143 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.rsuser 8 | *.suo 9 | *.user 10 | *.userosscache 11 | *.sln.docstates 12 | 13 | # User-specific files (MonoDevelop/Xamarin Studio) 14 | *.userprefs 15 | 16 | # Build results 17 | [Dd]ebug/ 18 | [Dd]ebugPublic/ 19 | [Rr]elease/ 20 | [Rr]eleases/ 21 | x64/ 22 | x86/ 23 | [Aa][Rr][Mm]/ 24 | [Aa][Rr][Mm]64/ 25 | bld/ 26 | [Bb]in/ 27 | [Oo]bj/ 28 | [Ll]og/ 29 | 30 | # Visual Studio 2015/2017 cache/options directory 31 | .vs/ 32 | # Uncomment if you have tasks that create the project's static files in wwwroot 33 | #wwwroot/ 34 | 35 | # Visual Studio 2017 auto generated files 36 | Generated\ Files/ 37 | 38 | # MSTest test Results 39 | [Tt]est[Rr]esult*/ 40 | [Bb]uild[Ll]og.* 41 | 42 | # NUNIT 43 | *.VisualState.xml 44 | TestResult.xml 45 | 46 | # Build Results of an ATL Project 47 | [Dd]ebugPS/ 48 | [Rr]eleasePS/ 49 | dlldata.c 50 | 51 | # Benchmark Results 52 | BenchmarkDotNet.Artifacts/ 53 | 54 | # .NET Core 55 | project.lock.json 56 | project.fragment.lock.json 57 | artifacts/ 58 | 59 | # StyleCop 60 | StyleCopReport.xml 61 | 62 | # Files built by Visual Studio 63 | *_i.c 64 | *_p.c 65 | *_h.h 66 | *.ilk 67 | *.meta 68 | *.obj 69 | *.iobj 70 | *.pch 71 | *.pdb 72 | *.ipdb 73 | *.pgc 74 | *.pgd 75 | *.rsp 76 | *.sbr 77 | *.tlb 78 | *.tli 79 | *.tlh 80 | *.tmp 81 | *.tmp_proj 82 | *_wpftmp.csproj 83 | *.log 84 | *.vspscc 85 | *.vssscc 86 | .builds 87 | *.pidb 88 | *.svclog 89 | *.scc 90 | 91 | # Chutzpah Test files 92 | _Chutzpah* 93 | 94 | # Visual C++ cache files 95 | ipch/ 96 | *.aps 97 | *.ncb 98 | *.opendb 99 | *.opensdf 100 | *.sdf 101 | *.cachefile 102 | *.VC.db 103 | *.VC.VC.opendb 104 | 105 | # Visual Studio profiler 106 | *.psess 107 | *.vsp 108 | *.vspx 109 | *.sap 110 | 111 | # Visual Studio Trace Files 112 | *.e2e 113 | 114 | # TFS 2012 Local Workspace 115 | $tf/ 116 | 117 | # Guidance Automation Toolkit 118 | *.gpState 119 | 120 | # ReSharper is a .NET coding add-in 121 | _ReSharper*/ 122 | *.[Rr]e[Ss]harper 123 | *.DotSettings.user 124 | 125 | # JustCode is a .NET coding add-in 126 | .JustCode 127 | 128 | # TeamCity is a build add-in 129 | _TeamCity* 130 | 131 | # DotCover is a Code Coverage Tool 132 | *.dotCover 133 | 134 | # AxoCover is a Code Coverage Tool 135 | .axoCover/* 136 | !.axoCover/settings.json 137 | 138 | # Visual Studio code coverage results 139 | *.coverage 140 | *.coveragexml 141 | 142 | # NCrunch 143 | _NCrunch_* 144 | .*crunch*.local.xml 145 | nCrunchTemp_* 146 | 147 | # MightyMoose 148 | *.mm.* 149 | AutoTest.Net/ 150 | 151 | # Web workbench (sass) 152 | .sass-cache/ 153 | 154 | # Installshield output folder 155 | [Ee]xpress/ 156 | 157 | # DocProject is a documentation generator add-in 158 | DocProject/buildhelp/ 159 | DocProject/Help/*.HxT 160 | DocProject/Help/*.HxC 161 | DocProject/Help/*.hhc 162 | DocProject/Help/*.hhk 163 | DocProject/Help/*.hhp 164 | DocProject/Help/Html2 165 | DocProject/Help/html 166 | 167 | # Click-Once directory 168 | publish/ 169 | 170 | # Publish Web Output 171 | *.[Pp]ublish.xml 172 | *.azurePubxml 173 | # Note: Comment the next line if you want to checkin your web deploy settings, 174 | # but database connection strings (with potential passwords) will be unencrypted 175 | *.pubxml 176 | *.publishproj 177 | 178 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 179 | # checkin your Azure Web App publish settings, but sensitive information contained 180 | # in these scripts will be unencrypted 181 | PublishScripts/ 182 | 183 | # NuGet Packages 184 | *.nupkg 185 | # The packages folder can be ignored because of Package Restore 186 | **/[Pp]ackages/* 187 | # except build/, which is used as an MSBuild target. 188 | !**/[Pp]ackages/build/ 189 | # Uncomment if necessary however generally it will be regenerated when needed 190 | #!**/[Pp]ackages/repositories.config 191 | # NuGet v3's project.json files produces more ignorable files 192 | *.nuget.props 193 | *.nuget.targets 194 | 195 | # Microsoft Azure Build Output 196 | csx/ 197 | *.build.csdef 198 | 199 | # Microsoft Azure Emulator 200 | ecf/ 201 | rcf/ 202 | 203 | # Windows Store app package directories and files 204 | AppPackages/ 205 | BundleArtifacts/ 206 | Package.StoreAssociation.xml 207 | _pkginfo.txt 208 | *.appx 209 | 210 | # Visual Studio cache files 211 | # files ending in .cache can be ignored 212 | *.[Cc]ache 213 | # but keep track of directories ending in .cache 214 | !*.[Cc]ache/ 215 | 216 | # Others 217 | ClientBin/ 218 | ~$* 219 | *~ 220 | *.dbmdl 221 | *.dbproj.schemaview 222 | *.jfm 223 | *.pfx 224 | *.publishsettings 225 | orleans.codegen.cs 226 | 227 | # Including strong name files can present a security risk 228 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 229 | #*.snk 230 | 231 | # Since there are multiple workflows, uncomment next line to ignore bower_components 232 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 233 | #bower_components/ 234 | # ASP.NET Core default setup: bower directory is configured as wwwroot/lib/ and bower restore is true 235 | **/wwwroot/lib/ 236 | 237 | # RIA/Silverlight projects 238 | Generated_Code/ 239 | 240 | # Backup & report files from converting an old project file 241 | # to a newer Visual Studio version. Backup files are not needed, 242 | # because we have git ;-) 243 | _UpgradeReport_Files/ 244 | Backup*/ 245 | UpgradeLog*.XML 246 | UpgradeLog*.htm 247 | ServiceFabricBackup/ 248 | *.rptproj.bak 249 | 250 | # SQL Server files 251 | *.mdf 252 | *.ldf 253 | *.ndf 254 | 255 | # Business Intelligence projects 256 | *.rdl.data 257 | *.bim.layout 258 | *.bim_*.settings 259 | *.rptproj.rsuser 260 | 261 | # Microsoft Fakes 262 | FakesAssemblies/ 263 | 264 | # GhostDoc plugin setting file 265 | *.GhostDoc.xml 266 | 267 | # Node.js Tools for Visual Studio 268 | .ntvs_analysis.dat 269 | node_modules/ 270 | 271 | # Visual Studio 6 build log 272 | *.plg 273 | 274 | # Visual Studio 6 workspace options file 275 | *.opt 276 | 277 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 278 | *.vbw 279 | 280 | # Visual Studio LightSwitch build output 281 | **/*.HTMLClient/GeneratedArtifacts 282 | **/*.DesktopClient/GeneratedArtifacts 283 | **/*.DesktopClient/ModelManifest.xml 284 | **/*.Server/GeneratedArtifacts 285 | **/*.Server/ModelManifest.xml 286 | _Pvt_Extensions 287 | 288 | # Paket dependency manager 289 | .paket/paket.exe 290 | paket-files/ 291 | 292 | # FAKE - F# Make 293 | .fake/ 294 | 295 | # JetBrains Rider 296 | .idea/ 297 | *.sln.iml 298 | 299 | # CodeRush personal settings 300 | .cr/personal 301 | 302 | # Python Tools for Visual Studio (PTVS) 303 | __pycache__/ 304 | *.pyc 305 | 306 | # Cake - Uncomment if you are using it 307 | # tools/** 308 | # !tools/packages.config 309 | 310 | # Tabs Studio 311 | *.tss 312 | 313 | # Telerik's JustMock configuration file 314 | *.jmconfig 315 | 316 | # BizTalk build output 317 | *.btp.cs 318 | *.btm.cs 319 | *.odx.cs 320 | *.xsd.cs 321 | 322 | # OpenCover UI analysis results 323 | OpenCover/ 324 | 325 | # Azure Stream Analytics local run output 326 | ASALocalRun/ 327 | 328 | # MSBuild Binary and Structured Log 329 | *.binlog 330 | 331 | # NVidia Nsight GPU debugger configuration file 332 | *.nvuser 333 | 334 | # MFractors (Xamarin productivity tool) working folder 335 | .mfractor/ 336 | 337 | # Local History for Visual Studio 338 | .localhistory/ 339 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/DRS Backup Decrypter.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Debug 5 | x86 6 | 8.0.30703 7 | 2.0 8 | {B2968C8D-BF74-496C-8455-581EECFB3DC0} 9 | WinExe 10 | Properties 11 | DRSBackupDecrypter 12 | DRS Backup Decrypter 13 | v4.5.2 14 | 15 | 16 | 512 17 | false 18 | publish\ 19 | true 20 | Disk 21 | false 22 | Foreground 23 | 7 24 | Days 25 | false 26 | false 27 | true 28 | 0 29 | 1.5.0.%2a 30 | false 31 | true 32 | 33 | 34 | x86 35 | true 36 | full 37 | false 38 | bin\Debug\ 39 | DEBUG;TRACE 40 | prompt 41 | 4 42 | false 43 | 44 | 45 | x86 46 | pdbonly 47 | true 48 | bin\Release\ 49 | TRACE 50 | prompt 51 | 4 52 | false 53 | 54 | 55 | Double-J-Design-Diagram-Free-Lock-unlock.ico 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | Form 72 | 73 | 74 | UpdateSecurityPasswordForm.cs 75 | 76 | 77 | 78 | Form 79 | 80 | 81 | MainForm.cs 82 | 83 | 84 | Form 85 | 86 | 87 | DecryptProgress.cs 88 | 89 | 90 | 91 | 92 | MainForm.cs 93 | 94 | 95 | DecryptProgress.cs 96 | 97 | 98 | ResXFileCodeGenerator 99 | Resources.Designer.cs 100 | Designer 101 | 102 | 103 | True 104 | Resources.resx 105 | True 106 | 107 | 108 | UpdateSecurityPasswordForm.cs 109 | 110 | 111 | 112 | SettingsSingleFileGenerator 113 | Settings.Designer.cs 114 | 115 | 116 | True 117 | Settings.settings 118 | True 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | False 127 | Microsoft .NET Framework 4 Client Profile %28x86 and x64%29 128 | true 129 | 130 | 131 | False 132 | .NET Framework 3.5 SP1 Client Profile 133 | false 134 | 135 | 136 | False 137 | .NET Framework 3.5 SP1 138 | false 139 | 140 | 141 | False 142 | Windows Installer 3.1 143 | true 144 | 145 | 146 | 147 | 148 | {86c632f6-c599-4370-80af-3fb963a2742c} 149 | ADHDTech.CiscoCrypt 150 | False 151 | 152 | 153 | 154 | 161 | -------------------------------------------------------------------------------- /ADHDTech.CiscoSCP/ADHDTech.CiscoSCP.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using ADHDTech.CiscoCrypt; 8 | 9 | namespace ADHDTech.CiscoSCP 10 | { 11 | public class Client 12 | { 13 | Renci.SshNet.ConnectionInfo scpConnInfo; 14 | Renci.SshNet.ScpClient scpClient; 15 | public Client(string sHostName, string sRemoteSupportUser, string sRemoteSupportPassphrase) 16 | { 17 | RemoteSupportPassphrase oReportSupportPassphrase = new RemoteSupportPassphrase(); 18 | String sUserPassword = oReportSupportPassphrase.Decode(sRemoteSupportPassphrase); 19 | Renci.SshNet.AuthenticationMethod authMethod = new Renci.SshNet.PasswordAuthenticationMethod(sRemoteSupportUser, sUserPassword); 20 | scpConnInfo = new Renci.SshNet.ConnectionInfo(sHostName, sRemoteSupportUser, new[] { authMethod }); 21 | scpClient = new Renci.SshNet.ScpClient(scpConnInfo); 22 | } 23 | 24 | public Dictionary GetSecurityFilePack() 25 | { 26 | String[] SecurityFileNames = new String[] { 27 | "/usr/local/platform/conf/platformConfig.xml", 28 | "/usr/local/platform/.security/CCMEncryption/keys/dkey.txt" 29 | }; 30 | Dictionary oSecurityFilePack = new Dictionary(); 31 | scpClient.Connect(); 32 | if (scpClient.IsConnected) 33 | { 34 | foreach (String sFileName in SecurityFileNames) 35 | { 36 | MemoryStream xmlStream = new MemoryStream(); 37 | 38 | scpClient.Download(sFileName, xmlStream); 39 | 40 | byte[] xmlDataBytes = new byte[xmlStream.Length]; 41 | xmlStream.Seek(0, SeekOrigin.Begin); 42 | xmlStream.Read(xmlDataBytes, 0, (int)xmlStream.Length); 43 | oSecurityFilePack[sFileName] = xmlDataBytes; 44 | //Console.Write("{0}\n", Functions.encoding.GetString(xmlDataBytes)); 45 | } 46 | scpClient.Disconnect(); 47 | } 48 | else 49 | { 50 | // Error - not connected 51 | } 52 | return oSecurityFilePack; 53 | } 54 | 55 | public byte[] GetPlatformConfig() 56 | { 57 | byte[] bPlatformConfigData = new byte[0]; 58 | scpClient.Connect(); 59 | if (scpClient.IsConnected) 60 | { 61 | Console.WriteLine("SCP connected"); 62 | //MemoryStream xmlStream = new MemoryStream(); 63 | FileInfo newFile = new FileInfo(@"C:\Temp\platformConfig.xml.xml"); 64 | //newFile.DirectoryName = @"C:\Temp"; 65 | scpClient.Download(@"/usr/local/platform/conf/platformConfig.xml", newFile); 66 | /* 67 | bPlatformConfigData = new byte[xmlStream.Length]; 68 | xmlStream.Seek(0, SeekOrigin.Begin); 69 | xmlStream.Read(bPlatformConfigData, 0, (int)xmlStream.Length); 70 | */ 71 | scpClient.Disconnect(); 72 | //Console.Write("PlatformConfig...\n----------\n{0}----------\n", Functions.encoding.GetString(bPlatformConfigData)); 73 | 74 | } 75 | else 76 | { 77 | // Error - not connected 78 | Console.WriteLine("SCP Not connected"); 79 | } 80 | return bPlatformConfigData; 81 | } 82 | } 83 | 84 | public class LiveHostClient 85 | { 86 | Renci.SshNet.ConnectionInfo scpConnInfo; 87 | Renci.SshNet.ScpClient scpClient; 88 | public LiveHostClient(string sHostName, string sRemoteSupportUser, string sRemoteSupportPassphrase) 89 | { 90 | RemoteSupportPassphrase oReportSupportPassphrase = new RemoteSupportPassphrase(); 91 | String sUserPassword = oReportSupportPassphrase.Decode(sRemoteSupportPassphrase); 92 | Renci.SshNet.AuthenticationMethod authMethod = new Renci.SshNet.PasswordAuthenticationMethod(sRemoteSupportUser, sUserPassword); 93 | scpConnInfo = new Renci.SshNet.ConnectionInfo(sHostName, sRemoteSupportUser, new[] { authMethod }); 94 | scpClient = new Renci.SshNet.ScpClient(scpConnInfo); 95 | 96 | MemoryStream xmlStream = new MemoryStream(); 97 | 98 | scpClient.Connect(); 99 | System.Threading.Thread.Sleep(3000); 100 | try 101 | { 102 | scpClient.Download(@"/usr/local/platform/conf/platformConfig.xml", xmlStream); 103 | } catch (Exception ex) { 104 | string bob = ex.Message; 105 | } 106 | 107 | scpClient.Disconnect(); 108 | 109 | byte[] xmlDataBytes = new byte[xmlStream.Length]; 110 | xmlStream.Seek(0, SeekOrigin.Begin); 111 | xmlStream.Read(xmlDataBytes, 0, (int)xmlStream.Length); 112 | 113 | Console.Write("{0}\n", Functions.encoding.GetString(xmlDataBytes)); 114 | } 115 | } 116 | 117 | public class UCOSClientSFTP 118 | { 119 | Renci.SshNet.ConnectionInfo scpConnInfo; 120 | Renci.SshNet.SftpClient sftpClient; 121 | public UCOSClientSFTP(string sHostName, string sRemoteSupportUser, string sRemoteSupportPassphrase) 122 | { 123 | RemoteSupportPassphrase oReportSupportPassphrase = new RemoteSupportPassphrase(); 124 | String sUserPassword = oReportSupportPassphrase.Decode(sRemoteSupportPassphrase); 125 | Renci.SshNet.AuthenticationMethod authMethod = new Renci.SshNet.PasswordAuthenticationMethod(sRemoteSupportUser, sUserPassword); 126 | scpConnInfo = new Renci.SshNet.ConnectionInfo(sHostName, sRemoteSupportUser, new[] { authMethod }); 127 | sftpClient = new Renci.SshNet.SftpClient(scpConnInfo); 128 | } 129 | 130 | public Dictionary GetSecurityFilePack() { 131 | String[] SecurityFileNames = new String[] { 132 | @"/usr/local/platform/conf/platformConfig.xml", 133 | @"/usr/local/platform/.security/CCMEncryption/keys/dkey.txt" 134 | }; 135 | Dictionary oSecurityFilePack = new Dictionary(); 136 | 137 | sftpClient.Connect(); 138 | if (sftpClient.IsConnected) 139 | { 140 | foreach (String sFileName in SecurityFileNames) 141 | { 142 | MemoryStream memStream = new MemoryStream(); 143 | 144 | sftpClient.DownloadFile(sFileName, memStream); 145 | 146 | byte[] fileBytes = new byte[memStream.Length]; 147 | memStream.Seek(0, SeekOrigin.Begin); 148 | memStream.Read(fileBytes, 0, (int)memStream.Length); 149 | oSecurityFilePack[sFileName] = fileBytes; 150 | //Console.Write("{0}\n", Functions.encoding.GetString(xmlDataBytes)); 151 | } 152 | sftpClient.Disconnect(); 153 | } 154 | else 155 | { 156 | // Error - not connected 157 | } 158 | 159 | return oSecurityFilePack; 160 | } 161 | } 162 | } 163 | -------------------------------------------------------------------------------- /ADHDTech.DRSBackupDecrypter/UpdateSecurityPasswordForm.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace DRSBackupDecrypter 2 | { 3 | partial class UpdateSecurityPasswordForm 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.tbCurrentSecurityPassword = new System.Windows.Forms.TextBox(); 32 | this.label1 = new System.Windows.Forms.Label(); 33 | this.label2 = new System.Windows.Forms.Label(); 34 | this.tbNewSecurityPassword = new System.Windows.Forms.TextBox(); 35 | this.tbSHA1Warning = new System.Windows.Forms.TextBox(); 36 | this.btnCreateXML = new System.Windows.Forms.Button(); 37 | this.label3 = new System.Windows.Forms.Label(); 38 | this.tbNewXMLFilePath = new System.Windows.Forms.TextBox(); 39 | this.SuspendLayout(); 40 | // 41 | // tbCurrentSecurityPassword 42 | // 43 | this.tbCurrentSecurityPassword.Location = new System.Drawing.Point(148, 12); 44 | this.tbCurrentSecurityPassword.Name = "tbCurrentSecurityPassword"; 45 | this.tbCurrentSecurityPassword.ReadOnly = true; 46 | this.tbCurrentSecurityPassword.Size = new System.Drawing.Size(201, 20); 47 | this.tbCurrentSecurityPassword.TabIndex = 0; 48 | // 49 | // label1 50 | // 51 | this.label1.AutoSize = true; 52 | this.label1.Location = new System.Drawing.Point(11, 15); 53 | this.label1.Name = "label1"; 54 | this.label1.Size = new System.Drawing.Size(131, 13); 55 | this.label1.TabIndex = 1; 56 | this.label1.Text = "Current Security Password"; 57 | this.label1.Click += new System.EventHandler(this.label1_Click); 58 | // 59 | // label2 60 | // 61 | this.label2.AutoSize = true; 62 | this.label2.Location = new System.Drawing.Point(11, 42); 63 | this.label2.Name = "label2"; 64 | this.label2.Size = new System.Drawing.Size(119, 13); 65 | this.label2.TabIndex = 2; 66 | this.label2.Text = "New Security Password"; 67 | this.label2.Click += new System.EventHandler(this.label2_Click); 68 | // 69 | // tbNewSecurityPassword 70 | // 71 | this.tbNewSecurityPassword.Location = new System.Drawing.Point(148, 39); 72 | this.tbNewSecurityPassword.Name = "tbNewSecurityPassword"; 73 | this.tbNewSecurityPassword.Size = new System.Drawing.Size(201, 20); 74 | this.tbNewSecurityPassword.TabIndex = 3; 75 | this.tbNewSecurityPassword.TextChanged += new System.EventHandler(this.tbNewSecurityPassword_TextChanged); 76 | // 77 | // tbSHA1Warning 78 | // 79 | this.tbSHA1Warning.BorderStyle = System.Windows.Forms.BorderStyle.None; 80 | this.tbSHA1Warning.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 81 | this.tbSHA1Warning.Location = new System.Drawing.Point(12, 101); 82 | this.tbSHA1Warning.Multiline = true; 83 | this.tbSHA1Warning.Name = "tbSHA1Warning"; 84 | this.tbSHA1Warning.ReadOnly = true; 85 | this.tbSHA1Warning.Size = new System.Drawing.Size(357, 49); 86 | this.tbSHA1Warning.TabIndex = 5; 87 | this.tbSHA1Warning.Text = "If the current security password is not known, a SHA1 hash will have to be calcul" + 88 | "ated for each TAR file. This can take some time for larger files."; 89 | this.tbSHA1Warning.TextChanged += new System.EventHandler(this.textBox3_TextChanged); 90 | // 91 | // btnCreateXML 92 | // 93 | this.btnCreateXML.Enabled = false; 94 | this.btnCreateXML.Location = new System.Drawing.Point(357, 65); 95 | this.btnCreateXML.Name = "btnCreateXML"; 96 | this.btnCreateXML.Size = new System.Drawing.Size(75, 22); 97 | this.btnCreateXML.TabIndex = 6; 98 | this.btnCreateXML.Text = "Create XML"; 99 | this.btnCreateXML.UseVisualStyleBackColor = true; 100 | this.btnCreateXML.Click += new System.EventHandler(this.btnCreateXML_Click); 101 | // 102 | // label3 103 | // 104 | this.label3.AutoSize = true; 105 | this.label3.Location = new System.Drawing.Point(11, 70); 106 | this.label3.Name = "label3"; 107 | this.label3.Size = new System.Drawing.Size(73, 13); 108 | this.label3.TabIndex = 7; 109 | this.label3.Text = "New XML File"; 110 | this.label3.Click += new System.EventHandler(this.label3_Click); 111 | // 112 | // tbNewXMLFilePath 113 | // 114 | this.tbNewXMLFilePath.Location = new System.Drawing.Point(148, 67); 115 | this.tbNewXMLFilePath.Name = "tbNewXMLFilePath"; 116 | this.tbNewXMLFilePath.Size = new System.Drawing.Size(201, 20); 117 | this.tbNewXMLFilePath.TabIndex = 8; 118 | // 119 | // UpdateSecurityPasswordForm 120 | // 121 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 122 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 123 | this.ClientSize = new System.Drawing.Size(444, 162); 124 | this.Controls.Add(this.tbNewXMLFilePath); 125 | this.Controls.Add(this.label3); 126 | this.Controls.Add(this.btnCreateXML); 127 | this.Controls.Add(this.tbSHA1Warning); 128 | this.Controls.Add(this.tbNewSecurityPassword); 129 | this.Controls.Add(this.label2); 130 | this.Controls.Add(this.label1); 131 | this.Controls.Add(this.tbCurrentSecurityPassword); 132 | this.Name = "UpdateSecurityPasswordForm"; 133 | this.Text = "Update Security Password"; 134 | this.ResumeLayout(false); 135 | this.PerformLayout(); 136 | 137 | } 138 | 139 | #endregion 140 | 141 | private System.Windows.Forms.TextBox tbCurrentSecurityPassword; 142 | private System.Windows.Forms.Label label1; 143 | private System.Windows.Forms.Label label2; 144 | private System.Windows.Forms.TextBox tbNewSecurityPassword; 145 | private System.Windows.Forms.TextBox tbSHA1Warning; 146 | private System.Windows.Forms.Button btnCreateXML; 147 | private System.Windows.Forms.Label label3; 148 | private System.Windows.Forms.TextBox tbNewXMLFilePath; 149 | } 150 | } --------------------------------------------------------------------------------