什么是用于逆向工程的好的免费串行端口监视器?
我正在对串行协议进行逆向工程,并且对糟糕的工具感到沮丧.有谁知道一个很好的免费工具,用于在 Windows 上的串行端口记录数据?
I'm reverse-engineering a serial protocol and getting frustrated by bad tools. Does anyone know of a good, free tool for logging data to/from serial ports on Windows?
要求:
- 必须是免费的
- 不得控制端口(即必须挂钩文件 API 或内核,而不是尝试打开设备)
- 必须有某种过滤功能
- 写入人类可读或二进制日志,最好采用易于解析的格式
有什么想法吗?Portmon 可以工作,但它的日志很难处理,而且它的过滤器实际上毫无用处;我还尝试了一些商业工具,但似乎没有什么适合我的.
Any ideas? Portmon works, but its logs are difficult to work with and its filters are effectively useless; I've also tried a few commercial tools and nothing seems to fit the bill.
Portmon 来自 sysinternals(现在是 MSFT)可能是最好的监视器.
Portmon from sysinternals (now MSFT) is probably the best monitor.
我还没有找到一个很好的免费工具来模拟端口和记录/重放通信.如果你想响应我最终使用 expect 的命令,商业的很昂贵,要么很有限要么很复杂 和第二台机器上的 python.
I haven't found a good free tool that will emulate a port and record/replay comms. The commercial ones were expensive and either so limited or so complex if you want to respond to commands that I ended up using expect and python on a second machine.