Investigation
doas executes arbitrary commands as another user. It's similar to sudo command. doas.conf is interesting to privilege escalation.
Last updated
doas executes arbitrary commands as another user. It's similar to sudo command. doas.conf is interesting to privilege escalation.
Last updated
First of all, search location of doas.conf.
Next check the configuration.
Execute doas as below.
Please also refer to to PrivEsc.