我尝试搜索由Wireshark工具捕获的Pcap文件中的字符串。从/到sql服务器的所有字符串被格式化为Unicode字符串(UTF-16)。 当框架包含像“select”这样的Unicode字符串时,它显示为“s e l e c t”,字符之间的空格为空字符\ x00。 在使用下面的显示过滤器的情况下: frame contains "s e l e c t"
帧不进行过滤。 所以,我必须将
我玩弄RCON协议,但我有问题将字符串成功转换为字节数组。 原始代码(VB.NET)+引擎收录:http://pastebin.com/4BkbTRfD Private Function RCON_Command(ByVal Command As String,
ByVal ServerData As Integer) As Byte()
Dim Packet A