Initial RecNetPlugin

This commit is contained in:
Devin Zuczek
2026-07-08 17:11:58 -04:00
parent 6c9f4499e4
commit 326188c7a0
15 changed files with 1440 additions and 517 deletions
+20
View File
@@ -0,0 +1,20 @@
using HarmonyLib;
using Org.BouncyCastle.Crypto.Tls;
namespace RecNetPlugin.Patches;
/**
Disables TLS certificate pinning. Even though we connect over SSL it seems some certificates
might be pinned.
*/
public class DisableTLSPinning
{
[HarmonyPatch(typeof(LegacyTlsAuthentication), "NotifyServerCertificate")]
public class TlsPatch
{
private static bool Prefix()
{
return false;
}
}
}