liuyuqi-dellpc 7 months ago
parent
commit
fbeda1880c

+ 2 - 2
C#/DecryptPwd/DecryptPwd.csproj

@@ -34,7 +34,7 @@
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="Interop.Shell32, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
-      <HintPath>packages\HiNetCloud.Interop.Shell32.20.7.2.10\lib\net46\Interop.Shell32.dll</HintPath>
+      <HintPath>..\packages\HiNetCloud.Interop.Shell32.20.7.2.10\lib\net46\Interop.Shell32.dll</HintPath>
       <EmbedInteropTypes>True</EmbedInteropTypes>
     </Reference>
     <Reference Include="System" />
@@ -63,5 +63,5 @@
     <None Include="App.config" />
     <None Include="packages.config" />
   </ItemGroup>
-  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+    <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
 </Project>

+ 1 - 1
C#/DecryptPwd/Utils/FileZilla.cs

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
 
 namespace DecryptPwd.Utils
 {
-    class FileZilla
+    public class FileZilla
     {
         /// <summary>
         /// Decrypt password

+ 1 - 1
C#/DecryptPwd/Utils/FoxmailUtils.cs

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
 
 namespace DecryptPwd.Utils
 {
-    class FoxmailUtils
+    public class FoxmailUtils
     {
         public static String Decrypt(int ver, String strHash)
         {

+ 1 - 1
C#/DecryptPwd/Utils/LoginEvent.cs

@@ -7,7 +7,7 @@ using System.Threading.Tasks;
 
 namespace DecryptPwd.Utils
 {
-    class LoginEvent
+    public class LoginEvent
     {
         /// <summary>
         /// 查询登录事件,需要管理员权限,从注册表中查询。

+ 1 - 1
C#/DecryptPwd/Utils/Navicat.cs

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
 
 namespace DecryptPwd.Utils
 {
-    class Navicat
+    public class Navicat
     {
         /// <summary>
         /// Decrypt Navicat password

+ 1 - 1
C#/DecryptPwd/Utils/Net.cs

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
 
 namespace DecryptPwd.Utils
 {
-    class Net
+    public class Net
     {
 
     }

+ 1 - 1
C#/DecryptPwd/Utils/SystemInfo.cs

@@ -14,7 +14,7 @@ namespace DecryptPwd.Utils
     /// <summary>
     /// 获取系统信息
     /// </summary>
-    class SystemInfo
+    public class SystemInfo
     {
         static void test(string[] args)
         {

+ 1 - 1
C#/DecryptPwd/Utils/TeamViewer.cs

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
 
 namespace DecryptPwd.Utils
 {
-    class TeamViewer
+    public class TeamViewer
     {
         /// <summary>
         /// Decrypt password

+ 1 - 1
C#/DecryptPwd/Utils/WinSCP.cs

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
 
 namespace DecryptPwd.Utils
 {
-    class WinSCP
+    public class WinSCP
     {
         /// <summary>
         /// Decrypt password

+ 1 - 1
C#/DecryptPwd/Utils/Xmangager.cs

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
 
 namespace DecryptPwd.Utils
 {
-    class Xmangager
+    public class Xmangager
     {
         /// <summary>
         /// Decrypt password

+ 7 - 7
C#/DecryptPwdGUI/Pages/frmMain.cs

@@ -17,32 +17,32 @@ namespace DecryptPwdGUI
             string appItem = cmbAppList.SelectedItem.ToString();
             if (appItem == AppList[0])
             {
-                tbResult.Text = Filezilla.Decrypt();
+                tbResult.Text = FileZilla.Decrypt("fff");
             }
             else if (appItem == AppList[1])
             {
-                tbResult.Text = Utils.DecryptPwdUtil.TeamViewerDecry();
+                tbResult.Text = TeamViewer.Decrypt("fff");
             }
             else if (appItem == AppList[2])
             {
-                tbResult.Text = Utils.DecryptPwdUtil.FileZillaDecry();
+                tbResult.Text = WinSCP.Decrypt("fff");
             }
             else if (appItem == AppList[3])
             {
-                tbResult.Text = Utils.DecryptPwdUtil.WinSCPDecry();
+                tbResult.Text = Xmangager.Decrypt("fff");
             }
             else if (appItem == AppList[4])
             {
-                tbResult.Text = Utils.DecryptPwdUtil.XmangagerDecry();
+                tbResult.Text = Xmangager.Decrypt("fff");
             }
             else if (appItem == AppList[5])
             {
-                tbResult.Text = Utils.DecryptPwdUtil.LoginEventDecry();
+                tbResult.Text = Navicat.Decrypt("fff");
 
             }
             else if (appItem == AppList[6])
             {
-                tbResult.Text = Utils.DecryptPwdUtil.FoxmailDecry();
+                tbResult.Text = FoxmailUtils.Decrypt(19, "fff");
             }
         }