Priv Esc

EzPwz2022_dev1$$23!!
t.miller@marketing:/dev/shm$ sudo -l
[sudo] password for t.miller:
Matching Defaults entries for t.miller on marketing:
    env_reset, mail_badpass,
    secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin

User t.miller may run the following commands on marketing:
    (m.sander) /usr/bin/sync.sh
t.miller@marketing:/dev/shm$ ls -la /usr/bin/sync.sh
-rwxr-xr-x 1 root root 386 Jul 13  2022 /usr/bin/sync.sh
t.miller@marketing:/dev/shm$ sudo -u m.sander /usr/bin/sync.sh -h
diff: missing operand after '/home/m.sander/personal/notes.txt'
diff: Try 'diff --help' for more information.
no update
t.miller@marketing:/dev/shm$ sudo -u m.sander /usr/bin/sync.sh
t.miller@marketing:/dev/shm$ sudo -u m.sander /usr/bin/sync.sh -h
t.miller@marketing:/dev/shm$ sudo -u m.sander /usr/bin/sync.sh linpeas.sh

Couldn't find any important files

Fuck this box lol... gotta link our file to one only m.sander can read then get the script to show the differences

Last updated