1.1.3 • Published 3 years ago
udprint v1.1.3
udprint: UDP Logger

💡 Log incoming messages on a user datagram protocol (UDP) socket
$ npx udprint 8125interactive
$ udprint -i
Full params
$ udprint 8125 127.0.0.1
↑ ↑
port addressWith explicit params you can switch the order
$ udprint --port 8125 --address 127.0.0.1
$ udprint --address 127.0.0.1 --port 8125 --encoding utf8Params support shorthand
$ udprint -p 8125 -h 127.0.0.1 -e utf8Get help (full feature list)
$ udprint -hEncoding can be one of the following:
utf8(default)asciibinarylatin1ucs2(alias of utf16le)utf16lehexbase64
Forward traffic to another location
$ udprint -f 127.0.0.1:2003Clean some of the data from the message, or complete lines:
$ udprint -c '^.*password.*$\n'Silent mode, in case we're just forwarding messages and don't want to see the output
$ udprint -sTest
echo "This is some data" > /dev/udp/127.0.0.1/8125