Skip to content

Instantly share code, notes, and snippets.

@raspberrypisig
Created April 30, 2022 01:01
Show Gist options
  • Save raspberrypisig/1188c1087f0450a60aa523351c114da9 to your computer and use it in GitHub Desktop.
Save raspberrypisig/1188c1087f0450a60aa523351c114da9 to your computer and use it in GitHub Desktop.
hub4com
REM use hub4com-2.1.0.0-386
REM com0com setup:
REM
REM COM5 real device you want to "man in the middle"
REM virtual pair: COM6 CNCB2
REM virtual pair: COM7 CNCB3
REM
REM hook COM 5 to real device, hook COM6 to application, hook COM7 to monitoring app - eg.realterm
hub4com.exe --route=0:1,2 --route=1:0,2 COM5 \\.\CNCB2 \\.\\CNCB3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment