1
0
Fork 0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-05-24 08:16:02 +02:00

Clone vipw to vigr as it is just a symlink

This commit is contained in:
Andrea Cardaci 2021-02-05 13:38:30 +01:00
parent 4f4207be13
commit a3f2107360

8
_gtfobins/vigr.md Normal file
View File

@ -0,0 +1,8 @@
---
description: 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`.
functions:
suid:
- code: ./vigr
sudo:
- code: sudo vigr
---