架构师_程序员_码农网

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

搜索
查看: 41089|回复: 1

[资料] c# 逆向出一个mysql帮助类,保存一下吧

[复制链接]
发表于 2016-6-26 11:49:53 | 显示全部楼层 |阅读模式
  1. using System;
  2. using System.Collections;
  3. using System.Data;
  4. using System.Diagnostics;
  5. using System.IO;
  6. using System.Linq;
  7. using System.Net;
  8. using System.Net.NetworkInformation;
  9. using System.ServiceProcess;
  10. using System.Text;
  11. using System.Threading;
  12. using MySql.Data.MySqlClient;

  13. namespace ZQDLL
  14. {
  15.         // Token: 0x0200001D RID: 29
  16.         public class SHOPFW_SERVICE
  17.         {
  18.                 // Token: 0x0600018D RID: 397 RVA: 0x0001AD70 File Offset: 0x00018F70
  19.                 public bool chushi_connset(MySqlCommand mysqlCom, string database)
  20.                 {
  21.                         MySqlConnection mySqlConnection = new MySqlConnection();
  22.                         bool flag = true;
  23.                         string connectionString = "";
  24.                         string text = "127.0.0.1";
  25.                         string text2 = "";
  26.                         string text3 = "root";
  27.                         string text4 = "Wu#Ve%Xi@Nfd&B(o!Y";
  28.                         string text5 = text4;
  29.                         string format = "server={0};Port={1};user id={2};password={3};database={4};Charset=utf8;Allow User Variables=True";
  30.                         try
  31.                         {
  32.                                 string path = AppDomain.CurrentDomain.BaseDirectory + "zq_config\\data\\config.ini";
  33.                                 bool flag2 = File.Exists(path);
  34.                                 if (flag2)
  35.                                 {
  36.                                         StringBuilder stringBuilder = new StringBuilder();
  37.                                         FileStream stream = new FileStream(path, FileMode.Open);
  38.                                         StreamReader streamReader = new StreamReader(stream, Encoding.Default);
  39.                                         stringBuilder.Length = 0;
  40.                                         stringBuilder.Append(streamReader.ReadToEnd());
  41.                                         streamReader.Close();
  42.                                         string[] array = stringBuilder.ToString().Split(new string[]
  43.                                         {
  44.                                                 "\r\n"
  45.                                         }, StringSplitOptions.RemoveEmptyEntries);
  46.                                         for (int i = 0; i < array.Count<string>(); i++)
  47.                                         {
  48.                                                 bool flag3 = array[i].IndexOf(":") > 0;
  49.                                                 if (flag3)
  50.                                                 {
  51.                                                         string text6 = array[i].Substring(0, array[i].IndexOf(":"));
  52.                                                         string text7 = array[i].Substring(array[i].IndexOf(":") + 1);
  53.                                                         bool flag4 = text6 == "数据库地址";
  54.                                                         if (flag4)
  55.                                                         {
  56.                                                                 text = text7;
  57.                                                         }
  58.                                                         else
  59.                                                         {
  60.                                                                 bool flag5 = text6 == "数据库端口";
  61.                                                                 if (flag5)
  62.                                                                 {
  63.                                                                         text2 = text7;
  64.                                                                 }
  65.                                                                 else
  66.                                                                 {
  67.                                                                         bool flag6 = text6 == "数据库用户名";
  68.                                                                         if (flag6)
  69.                                                                         {
  70.                                                                                 text3 = text7;
  71.                                                                         }
  72.                                                                         else
  73.                                                                         {
  74.                                                                                 bool flag7 = text6 == "数据库密码";
  75.                                                                                 if (flag7)
  76.                                                                                 {
  77.                                                                                         text5 = text7;
  78.                                                                                 }
  79.                                                                         }
  80.                                                                 }
  81.                                                         }
  82.                                                 }
  83.                                         }
  84.                                         bool flag8 = string.IsNullOrEmpty(text5);
  85.                                         if (flag8)
  86.                                         {
  87.                                                 text5 = "''";
  88.                                         }
  89.                                         connectionString = string.Format(format, new object[]
  90.                                         {
  91.                                                 text,
  92.                                                 text2,
  93.                                                 text3,
  94.                                                 text5,
  95.                                                 database
  96.                                         });
  97.                                         mySqlConnection = new MySqlConnection(connectionString);
  98.                                         mySqlConnection.Open();
  99.                                         flag = true;
  100.                                 }
  101.                                 else
  102.                                 {
  103.                                         flag = false;
  104.                                 }
  105.                         }
  106.                         catch
  107.                         {
  108.                                 flag = false;
  109.                         }
  110.                         bool flag9 = !flag;
  111.                         if (flag9)
  112.                         {
  113.                                 text2 = this.Service_Install_Mysql();
  114.                                 text = "127.0.0.1";
  115.                                 text3 = "root";
  116.                                 text5 = text4;
  117.                                 connectionString = string.Format(format, new object[]
  118.                                 {
  119.                                         text,
  120.                                         text2,
  121.                                         text3,
  122.                                         text5,
  123.                                         database
  124.                                 });
  125.                                 for (int j = 1; j < 50; j++)
  126.                                 {
  127.                                         try
  128.                                         {
  129.                                                 Thread.Sleep(1000);
  130.                                                 mySqlConnection = new MySqlConnection(connectionString);
  131.                                                 mySqlConnection.Open();
  132.                                                 bool flag10 = mySqlConnection.State.ToString() == "Open";
  133.                                                 if (flag10)
  134.                                                 {
  135.                                                         flag = true;
  136.                                                         break;
  137.                                                 }
  138.                                         }
  139.                                         catch
  140.                                         {
  141.                                                 flag = false;
  142.                                         }
  143.                                 }
  144.                         }
  145.                         bool flag11 = flag;
  146.                         if (flag11)
  147.                         {
  148.                                 mySqlConnection = new MySqlConnection(connectionString);
  149.                                 mySqlConnection.Open();
  150.                                 mysqlCom.CommandType = CommandType.Text;
  151.                                 mysqlCom.Connection = mySqlConnection;
  152.                                 mysqlCom.CommandTimeout = 0;
  153.                                 string path2 = AppDomain.CurrentDomain.BaseDirectory + "zq_config\\data\\config.ini";
  154.                                 bool flag12 = File.Exists(path2);
  155.                                 if (flag12)
  156.                                 {
  157.                                         mysqlCom.CommandText = "SET sql_mode = ''";
  158.                                         mysqlCom.ExecuteNonQuery();
  159.                                         mysqlCom.CommandText = "SET GLOBAL group_concat_max_len=4294967295";
  160.                                         mysqlCom.ExecuteNonQuery();
  161.                                         mysqlCom.CommandText = "SET GLOBAL wait_timeout=1814400";
  162.                                         mysqlCom.ExecuteNonQuery();
  163.                                         mysqlCom.CommandText = "SET GLOBAL interactive_timeout=1814400";
  164.                                         mysqlCom.ExecuteNonQuery();
  165.                                 }
  166.                         }
  167.                         return flag;
  168.                 }

  169.                 // Token: 0x06000190 RID: 400 RVA: 0x0001B3E8 File Offset: 0x000195E8
  170.                 public void delete_mysql_tmp()
  171.                 {
  172.                         bool flag = Directory.Exists(this.f + "data/");
  173.                         if (flag)
  174.                         {
  175.                                 ArrayList arrayList = new ArrayList();
  176.                                 arrayList.Add("auto.cnf");
  177.                                 arrayList.Add("ib_logfile");
  178.                                 arrayList.Add("ibdata");
  179.                                 arrayList.Add(".err");
  180.                                 DirectoryInfo directoryInfo = new DirectoryInfo(this.f + "data/");
  181.                                 FileInfo[] files = directoryInfo.GetFiles();
  182.                                 for (int i = 0; i < files.Length; i++)
  183.                                 {
  184.                                         FileInfo fileInfo = files[i];
  185.                                         foreach (object current in arrayList)
  186.                                         {
  187.                                                 bool flag2 = fileInfo.Name.IndexOf(current.ToString()) >= 0;
  188.                                                 if (flag2)
  189.                                                 {
  190.                                                         File.Delete(this.f + "data/" + fileInfo.Name);
  191.                                                 }
  192.                                         }
  193.                                 }
  194.                         }
  195.                 }

  196.                 // Token: 0x0600019B RID: 411 RVA: 0x0001BBF8 File Offset: 0x00019DF8
  197.                 public string Execute(string command, int seconds)
  198.                 {
  199.                         string result = "";
  200.                         bool flag = command != null && !command.Equals("");
  201.                         if (flag)
  202.                         {
  203.                                 Process process = new Process();
  204.                                 process.StartInfo = new ProcessStartInfo
  205.                                 {
  206.                                         FileName = "cmd.exe",
  207.                                         Arguments = "/C " + command,
  208.                                         UseShellExecute = false,
  209.                                         RedirectStandardInput = false,
  210.                                         RedirectStandardOutput = true,
  211.                                         CreateNoWindow = true
  212.                                 };
  213.                                 try
  214.                                 {
  215.                                         bool flag2 = process.Start();
  216.                                         if (flag2)
  217.                                         {
  218.                                                 bool flag3 = seconds == 0;
  219.                                                 if (flag3)
  220.                                                 {
  221.                                                         process.WaitForExit();
  222.                                                 }
  223.                                                 else
  224.                                                 {
  225.                                                         process.WaitForExit(seconds);
  226.                                                 }
  227.                                                 process.Close();
  228.                                         }
  229.                                 }
  230.                                 catch
  231.                                 {
  232.                                 }
  233.                                 finally
  234.                                 {
  235.                                         bool flag4 = process != null;
  236.                                         if (flag4)
  237.                                         {
  238.                                                 process.Close();
  239.                                         }
  240.                                 }
  241.                         }
  242.                         return result;
  243.                 }

  244.                 // Token: 0x06000198 RID: 408 RVA: 0x0001B9A8 File Offset: 0x00019BA8
  245.                 public string Get_Port_Mysql()
  246.                 {
  247.                         string result = "";
  248.                         string path = this.f + "my.ini";
  249.                         bool flag = File.Exists(path);
  250.                         if (flag)
  251.                         {
  252.                                 StringBuilder stringBuilder = new StringBuilder();
  253.                                 FileStream stream = new FileStream(path, FileMode.Open);
  254.                                 StreamReader streamReader = new StreamReader(stream, Encoding.Default);
  255.                                 stringBuilder.Length = 0;
  256.                                 stringBuilder.Append(streamReader.ReadToEnd());
  257.                                 streamReader.Close();
  258.                                 try
  259.                                 {
  260.                                         stringBuilder.Remove(0, stringBuilder.ToString().IndexOf("port=") + 5).ToString();
  261.                                         result = stringBuilder.ToString().Substring(0, stringBuilder.ToString().IndexOf("\r\n"));
  262.                                 }
  263.                                 catch
  264.                                 {
  265.                                         result = "";
  266.                                 }
  267.                         }
  268.                         return result;
  269.                 }

  270.                 // Token: 0x06000199 RID: 409 RVA: 0x0001BA7C File Offset: 0x00019C7C
  271.                 public string Get_Port_Nginx()
  272.                 {
  273.                         string result = "";
  274.                         string path = this.g + "conf/web-listen-nginx.conf";
  275.                         bool flag = File.Exists(path);
  276.                         if (flag)
  277.                         {
  278.                                 StringBuilder stringBuilder = new StringBuilder();
  279.                                 FileStream stream = new FileStream(path, FileMode.Open);
  280.                                 StreamReader streamReader = new StreamReader(stream, Encoding.Default);
  281.                                 stringBuilder.Length = 0;
  282.                                 stringBuilder.Append(streamReader.ReadToEnd());
  283.                                 streamReader.Close();
  284.                                 try
  285.                                 {
  286.                                         stringBuilder.Replace("listen", "");
  287.                                         stringBuilder.Replace(";", "");
  288.                                         stringBuilder.Replace(" ", "");
  289.                                         result = stringBuilder.ToString();
  290.                                 }
  291.                                 catch
  292.                                 {
  293.                                         result = "";
  294.                                 }
  295.                         }
  296.                         return result;
  297.                 }

  298.                 // Token: 0x06000196 RID: 406 RVA: 0x0001B8F4 File Offset: 0x00019AF4
  299.                 public void Kill_Process(string processName)
  300.                 {
  301.                         try
  302.                         {
  303.                                 Process[] processesByName = Process.GetProcessesByName(processName);
  304.                                 bool flag = processesByName.Length != 0;
  305.                                 if (flag)
  306.                                 {
  307.                                         int num;
  308.                                         for (int i = 0; i < processesByName.Length; i = num + 1)
  309.                                         {
  310.                                                 bool flag2 = !processesByName[i].CloseMainWindow();
  311.                                                 if (flag2)
  312.                                                 {
  313.                                                         processesByName[i].Kill();
  314.                                                 }
  315.                                                 num = i;
  316.                                         }
  317.                                 }
  318.                         }
  319.                         catch
  320.                         {
  321.                         }
  322.                 }

  323.                 // Token: 0x0600019A RID: 410 RVA: 0x0001BB4C File Offset: 0x00019D4C
  324.                 public string Port_In_Use(int port)
  325.                 {
  326.                         try
  327.                         {
  328.                                 IPGlobalProperties iPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties();
  329.                                 IPEndPoint[] activeTcpListeners = iPGlobalProperties.GetActiveTcpListeners();
  330.                                 for (int i = port; i <= 65534; i++)
  331.                                 {
  332.                                         int num = 1;
  333.                                         port = 0;
  334.                                         IPEndPoint[] array = activeTcpListeners;
  335.                                         for (int j = 0; j < array.Length; j++)
  336.                                         {
  337.                                                 IPEndPoint iPEndPoint = array[j];
  338.                                                 bool flag = iPEndPoint.Port == i;
  339.                                                 if (flag)
  340.                                                 {
  341.                                                         num = 0;
  342.                                                         break;
  343.                                                 }
  344.                                         }
  345.                                         bool flag2 = num == 1;
  346.                                         if (flag2)
  347.                                         {
  348.                                                 port = i;
  349.                                                 break;
  350.                                         }
  351.                                 }
  352.                         }
  353.                         catch
  354.                         {
  355.                                 port = 0;
  356.                         }
  357.                         return port.ToString();
  358.                 }

  359.                 // Token: 0x06000197 RID: 407 RVA: 0x0001B968 File Offset: 0x00019B68
  360.                 public bool Process_Is_being(string processName)
  361.                 {
  362.                         bool result;
  363.                         try
  364.                         {
  365.                                 Process[] processesByName = Process.GetProcessesByName(processName);
  366.                                 bool flag = processesByName.Length != 0;
  367.                                 if (flag)
  368.                                 {
  369.                                         result = true;
  370.                                 }
  371.                                 else
  372.                                 {
  373.                                         result = false;
  374.                                 }
  375.                         }
  376.                         catch
  377.                         {
  378.                                 result = false;
  379.                         }
  380.                         return result;
  381.                 }

  382.                 // Token: 0x0600018E RID: 398 RVA: 0x0001B114 File Offset: 0x00019314
  383.                 public string Service_Install_Mysql()
  384.                 {
  385.                         int num = 1;
  386.                         string text = "";
  387.                         string result;
  388.                         try
  389.                         {
  390.                                 bool flag = this.Service_Is_Installed(this.b);
  391.                                 if (flag)
  392.                                 {
  393.                                         text = this.Service_Start_Mysql();
  394.                                         bool flag2 = string.IsNullOrEmpty(text);
  395.                                         if (flag2)
  396.                                         {
  397.                                                 text = "";
  398.                                         }
  399.                                         result = text;
  400.                                         return result;
  401.                                 }
  402.                                 try
  403.                                 {
  404.                                         string text2 = "[mysqld]\r\n";
  405.                                         text2 += "port=replace_port\r\n";
  406.                                         text2 += "basedir=replace_basedir\r\n";
  407.                                         text2 += "datadir=replace_basedirdata\r\n";
  408.                                         text2 += "default-storage-engine=MyISAM\r\n";
  409.                                         text2 += "wait_timeout=1814400\r\n";
  410.                                         text2 += "interactive_timeout=1814400\r\n";
  411.                                         text2 += "group_concat_max_len=4294967295\r\n";
  412.                                         text2 += "explicit_defaults_for_timestamp=true\r\n";
  413.                                         text = this.Port_In_Use(9307);
  414.                                         text2 = text2.Replace("replace_basedir", this.f);
  415.                                         text2 = text2.Replace("replace_port", text);
  416.                                         File.WriteAllText(this.f + "my.ini", text2, new UTF8Encoding(false));
  417.                                         this.delete_mysql_tmp();
  418.                                         Process process = Process.Start(new ProcessStartInfo
  419.                                         {
  420.                                                 FileName = this.f + "bin/" + this.d,
  421.                                                 Arguments = string.Concat(new string[]
  422.                                                 {
  423.                                                         " --install ",
  424.                                                         this.b,
  425.                                                         " --defaults-file="",
  426.                                                         this.f,
  427.                                                         "my.ini""
  428.                                                 }),
  429.                                                 WindowStyle = ProcessWindowStyle.Minimized,
  430.                                                 UseShellExecute = false,
  431.                                                 RedirectStandardInput = false,
  432.                                                 RedirectStandardOutput = true,
  433.                                                 CreateNoWindow = true
  434.                                         });
  435.                                         for (int i = 1; i <= 10; i++)
  436.                                         {
  437.                                                 bool flag3 = this.Service_Is_Installed(this.b);
  438.                                                 if (flag3)
  439.                                                 {
  440.                                                         break;
  441.                                                 }
  442.                                                 Thread.Sleep(500);
  443.                                         }
  444.                                 }
  445.                                 catch
  446.                                 {
  447.                                         num = 0;
  448.                                 }
  449.                                 bool flag4 = num == 1;
  450.                                 if (flag4)
  451.                                 {
  452.                                         text = this.Service_Start_Mysql();
  453.                                         bool flag5 = string.IsNullOrEmpty(text);
  454.                                         if (flag5)
  455.                                         {
  456.                                                 text = "";
  457.                                         }
  458.                                 }
  459.                                 else
  460.                                 {
  461.                                         text = "";
  462.                                 }
  463.                         }
  464.                         catch
  465.                         {
  466.                                 text = "";
  467.                         }
  468.                         result = text;
  469.                         return result;
  470.                 }

  471.                 // Token: 0x06000191 RID: 401 RVA: 0x0001B510 File Offset: 0x00019710
  472.                 public bool Service_Is_Installed(string Service_Name)
  473.                 {
  474.                         bool result;
  475.                         try
  476.                         {
  477.                                 ServiceController[] services = ServiceController.GetServices();
  478.                                 ServiceController[] array = services;
  479.                                 for (int i = 0; i < array.Length; i++)
  480.                                 {
  481.                                         ServiceController serviceController = array[i];
  482.                                         bool flag = serviceController.ServiceName == Service_Name;
  483.                                         if (flag)
  484.                                         {
  485.                                                 result = true;
  486.                                                 return result;
  487.                                         }
  488.                                 }
  489.                                 result = false;
  490.                         }
  491.                         catch
  492.                         {
  493.                                 result = false;
  494.                         }
  495.                         return result;
  496.                 }

  497.                 // Token: 0x06000192 RID: 402 RVA: 0x0001B574 File Offset: 0x00019774
  498.                 public string Service_Start_Mysql()
  499.                 {
  500.                         string result = "";
  501.                         try
  502.                         {
  503.                                 bool flag = this.Service_Is_Installed(this.b);
  504.                                 if (flag)
  505.                                 {
  506.                                         ServiceController serviceController = new ServiceController(this.b);
  507.                                         bool flag2 = serviceController.Status.ToString() == "Stopped" || serviceController.Status.ToString() == "StopPending";
  508.                                         if (flag2)
  509.                                         {
  510.                                                 serviceController.Start();
  511.                                                 serviceController.WaitForStatus(ServiceControllerStatus.Running, new TimeSpan(0, 0, 180));
  512.                                                 serviceController.Refresh();
  513.                                         }
  514.                                         bool flag3 = serviceController.Status.ToString() == "Running";
  515.                                         if (flag3)
  516.                                         {
  517.                                                 result = this.Get_Port_Mysql();
  518.                                         }
  519.                                         else
  520.                                         {
  521.                                                 result = "";
  522.                                         }
  523.                                 }
  524.                                 else
  525.                                 {
  526.                                         result = "";
  527.                                 }
  528.                         }
  529.                         catch
  530.                         {
  531.                                 result = "";
  532.                         }
  533.                         return result;
  534.                 }

  535.                 // Token: 0x06000194 RID: 404 RVA: 0x0001B740 File Offset: 0x00019940
  536.                 public string Service_Start_Nginx()
  537.                 {
  538.                         string result = "";
  539.                         try
  540.                         {
  541.                                 bool flag = this.Process_Is_being(this.c);
  542.                                 if (flag)
  543.                                 {
  544.                                         result = this.Get_Port_Nginx();
  545.                                 }
  546.                                 else
  547.                                 {
  548.                                         this.a.createdir(this.g.Replace("/", "\") + "temp\");
  549.                                         Process process = Process.Start(new ProcessStartInfo
  550.                                         {
  551.                                                 FileName = this.g + this.e,
  552.                                                 Arguments = "",
  553.                                                 WorkingDirectory = this.g,
  554.                                                 WindowStyle = ProcessWindowStyle.Minimized,
  555.                                                 UseShellExecute = false,
  556.                                                 RedirectStandardInput = false,
  557.                                                 RedirectStandardOutput = true,
  558.                                                 CreateNoWindow = true
  559.                                         });
  560.                                         for (int i = 1; i <= 10; i++)
  561.                                         {
  562.                                                 bool flag2 = this.Process_Is_being(this.c);
  563.                                                 if (flag2)
  564.                                                 {
  565.                                                         break;
  566.                                                 }
  567.                                                 Thread.Sleep(500);
  568.                                         }
  569.                                         bool flag3 = this.Process_Is_being(this.c);
  570.                                         if (flag3)
  571.                                         {
  572.                                                 result = this.Get_Port_Nginx();
  573.                                         }
  574.                                         else
  575.                                         {
  576.                                                 result = "";
  577.                                         }
  578.                                 }
  579.                         }
  580.                         catch
  581.                         {
  582.                         }
  583.                         return result;
  584.                 }

  585.                 // Token: 0x06000193 RID: 403 RVA: 0x0001B67C File Offset: 0x0001987C
  586.                 public bool Service_Stop_Mysql()
  587.                 {
  588.                         bool result;
  589.                         try
  590.                         {
  591.                                 bool flag = this.Service_Is_Installed(this.b);
  592.                                 if (flag)
  593.                                 {
  594.                                         ServiceController serviceController = new ServiceController(this.b);
  595.                                         bool flag2 = serviceController.Status.ToString() == "Running";
  596.                                         if (flag2)
  597.                                         {
  598.                                                 serviceController.Stop();
  599.                                                 serviceController.WaitForStatus(ServiceControllerStatus.Stopped, new TimeSpan(0, 0, 180));
  600.                                                 serviceController.Refresh();
  601.                                         }
  602.                                         bool flag3 = serviceController.Status.ToString() == "Stopped";
  603.                                         if (flag3)
  604.                                         {
  605.                                                 result = true;
  606.                                         }
  607.                                         else
  608.                                         {
  609.                                                 result = false;
  610.                                         }
  611.                                 }
  612.                                 else
  613.                                 {
  614.                                         result = false;
  615.                                 }
  616.                         }
  617.                         catch
  618.                         {
  619.                                 result = false;
  620.                         }
  621.                         return result;
  622.                 }

  623.                 // Token: 0x06000195 RID: 405 RVA: 0x0001B894 File Offset: 0x00019A94
  624.                 public bool Service_Stop_Nginx()
  625.                 {
  626.                         bool result = false;
  627.                         this.Kill_Process(this.c);
  628.                         for (int i = 1; i <= 10; i++)
  629.                         {
  630.                                 bool flag = !this.Process_Is_being(this.c);
  631.                                 if (flag)
  632.                                 {
  633.                                         result = true;
  634.                                         break;
  635.                                 }
  636.                                 Thread.Sleep(500);
  637.                         }
  638.                         return result;
  639.                 }

  640.                 // Token: 0x0600018F RID: 399 RVA: 0x0001B384 File Offset: 0x00019584
  641.                 public void Service_Unstall_Mysql()
  642.                 {
  643.                         try
  644.                         {
  645.                                 bool flag = this.Service_Is_Installed(this.b);
  646.                                 if (flag)
  647.                                 {
  648.                                         this.Service_Stop_Mysql();
  649.                                         string command = "sc delete " + this.b;
  650.                                         this.Execute(command, 1);
  651.                                 }
  652.                                 this.delete_mysql_tmp();
  653.                         }
  654.                         catch
  655.                         {
  656.                         }
  657.                 }

  658.                 // Token: 0x0400009D RID: 157
  659.                 private ZQGJ a = new ZQGJ();

  660.                 // Token: 0x0400009E RID: 158
  661.                 private string b = "shopfw-mysql";

  662.                 // Token: 0x0400009F RID: 159
  663.                 private string c = "shopfw-nginx";

  664.                 // Token: 0x040000A0 RID: 160
  665.                 private string d = "shopfw-mysql.exe";

  666.                 // Token: 0x040000A1 RID: 161
  667.                 private string e = "shopfw-nginx.exe";

  668.                 // Token: 0x040000A2 RID: 162
  669.                 private string f = "C:/ProgramData/shopfw/service/zqdata/";

  670.                 // Token: 0x040000A3 RID: 163
  671.                 private string g = "C:/ProgramData/shopfw/service/web/";
  672.         }
  673. }
复制代码





上一篇:C#中结构体Struct与类Class的区别
下一篇:c# 开放ip段指定端口段扫描器
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2021-11-23 15:44:18 | 显示全部楼层
看看学医一下
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

免责声明:
码农网所发布的一切软件、编程资料或者文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:help@itsvse.com

QQ|小黑屋|架构师 ( 鲁ICP备14021824号-2 )|网站地图

GMT+8, 2026-7-18 11:35

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表