我们正在捕获这种格式(十六进制字节)的每个网络数据包。问题是我们想获取url,如果它以http://......的形式存在于数据包中?解释它以捕获 url 的最佳方法是什么?现在我们正在寻找http字符然后处理但是在哪里结束是另一个问题?
0000000 cf fa ed fe 07 00 00 01 03 00 00 80 02 00 00 00 0000010 0c 00 00 00 28 07 00 00 85 80 01 00 00 00 00 00 0000020 19 00 00 00 48 00 00 00 5f 5f 50 41 47 45 5a 45 0000030 52 4f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000040 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 0000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000060 00 00 00 00 00 00 00 00 19 00 00 00 78 02 00 00