Skip to content

Instantly share code, notes, and snippets.

@angyvolin
Created December 4, 2016 01:11
Show Gist options
  • Save angyvolin/793e6ce2dea3e36b379a9576ecb134b4 to your computer and use it in GitHub Desktop.
Save angyvolin/793e6ce2dea3e36b379a9576ecb134b4 to your computer and use it in GitHub Desktop.
sniffing socket
sudo mv /path/to/sock /path/to/sock.original
sudo socat -t100 -x -v UNIX-LISTEN:/path/to/sock,mode=777,reuseaddr,fork UNIX-CONNECT:/path/to/sock.original
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment