┌──(root㉿kali)-[~/Desktop/tmp] └─# nmap 192.168.31.170 -p- Starting Nmap 7.95 ( https://nmap.org ) at 2025-04-29 02:02 EDT Nmap scan report for 192.168.31.170 Host is up (0.0026s latency). Not shown: 65533 closed tcp ports (reset) PORT STATE SERVICE 22/tcp open ssh 80/tcp open http MAC Address: 08:00:27:BF:56:1C (PCS Systemtechnik/Oracle VirtualBox virtual NIC)
Nmap done: 1 IP address (1 host up) scanned in 13.22 seconds
welcome@Kakeru:~$ ls sudoers.bak user.txt welcome@Kakeru:~$ cat sudoers.bak # # This file MUST be edited with the 'visudo' command as root. # # Please consider adding local content in /etc/sudoers.d/ instead of # directly modifying this file. # # See the man page for details on how to write a sudoers file. # Defaults env_reset Defaults mail_badpass Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification root ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) ALL welcome Dashazi=(kakeru) NOPASSWD: /usr/bin/less kakeru ALL=(ALL:ALL) NOPASSWD: /opt/test.sh # See sudoers(5) for more information on "@include" directives: