pcap path "not hardcoded" anymore

This commit is contained in:
raphaeIl
2025-01-14 08:00:26 -05:00
parent 2ac86f80b6
commit 7bd937dac5
7 changed files with 19119 additions and 18 deletions

View File

@@ -21,7 +21,7 @@ namespace Novaria.Common.Core
}
packetWriter.Write(msgIdBytes.AsSpan<byte>());
packetWriter.Write(packet.msgBody.AsSpan<byte>());
packetWriter.Write(packet.msgBody.AsSpan<byte>());
byte[] packetData = ((MemoryStream)packetWriter.BaseStream).ToArray();
@@ -262,6 +262,8 @@ namespace Novaria.Common.Core
msgBody = decrypted_bytes[2..],
};
Utils.PrintByteArray(decrypted_bytes);
IKEReq ike_request = IKEReq.Parser.ParseFrom(packet.msgBody);
return ike_request;