GTFOBins.github.io/_gtfobins/vigr.md
2021-02-05 13:38:30 +01:00

439 B

description functions
This command allows to edit some designated files (`/etc/passwd`, `/etc/group`, `/etc/shadow` and `/etc/gshadow`) safely by spawning the default editor (falling back to [`vim`](/gtfobins/vim/), other functions may apply). Despite requiring superuser privileges to run, the editor is executed as the unprivileged user when run as SUID or with `sudo`.
suid sudo
code
./vigr
code
sudo vigr