www-data@ip-10-48-177-201:/home$ ls -al total 16 drwxr-xr-x 4 root root 4096 Mar 6 02:20 . drwxr-xr-x 19 root root 4096 Mar 6 02:20 .. drwxr-xr-x 7 comte comte 4096 Apr 4 2024 comte drwxr-xr-x 3 ubuntu ubuntu 4096 Mar 6 02:20 ubuntu www-data@ip-10-48-177-201:/home$ cd comte www-data@ip-10-48-177-201:/home/comte$ ls -al total 52 drwxr-xr-x 7 comte comte 4096 Apr 4 2024 . drwxr-xr-x 4 root root 4096 Mar 6 02:20 .. -rw------- 1 comte comte 55 Apr 4 2024 .Xauthority lrwxrwxrwx 1 comte comte 9 Apr 4 2024 .bash_history -> /dev/null -rw-r--r-- 1 comte comte 220 Feb 25 2020 .bash_logout -rw-r--r-- 1 comte comte 3771 Feb 25 2020 .bashrc drwx------ 2 comte comte 4096 Sep 27 2023 .cache drwx------ 3 comte comte 4096 Mar 25 2024 .gnupg drwxrwxr-x 3 comte comte 4096 Mar 25 2024 .local -rw-r--r-- 1 comte comte 807 Feb 25 2020 .profile drwxr-xr-x 2 comte comte 4096 Mar 25 2024 .ssh -rw-r--r-- 1 comte comte 0 Sep 27 2023 .sudo_as_admin_successful drwx------ 3 comte comte 4096 Mar 25 2024 snap -rw------- 1 comte comte 4276 Sep 15 2023 user.txt
comte@ip-10-49-175-12:~$ sudo -l User comte may run the following commands on ip-10-49-175-12: (ALL) NOPASSWD: /bin/systemctl daemon-reload (ALL) NOPASSWD: /bin/systemctl restart exploit.timer (ALL) NOPASSWD: /bin/systemctl start exploit.timer (ALL) NOPASSWD: /bin/systemctl enable exploit.timer