mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-16 08:25:32 +01:00
pcap path "not hardcoded" anymore
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user