reflect scripts for TCP and UDP
This commit is contained in:
parent
a3155b7042
commit
99bd108fad
scripts
11
scripts/udp-reflect
Executable file
11
scripts/udp-reflect
Executable file
@ -0,0 +1,11 @@
|
||||
#! /bin/bash
|
||||
set -e
|
||||
|
||||
# Require a port
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: $0 <port>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Reflecting all UDP traffic on port $1"
|
||||
ncat --broker --listen -p "$1" -u
|
Loading…
x
Reference in New Issue
Block a user