case file hard Linux Privilege Escalation

❓ Question

$ sudo -l
User www-data may run the following commands on target:
    (ALL) NOPASSWD: /usr/bin/vim
How do you escalate to root?
Output
$ sudo -l
User www-data may run the following commands on target:
    (ALL) NOPASSWD: /usr/bin/vim
How do you escalate to root?
Back to Exercises
Previous question Next question β†’