sym o:-symfonos系列-symfonos4(超详细) - html
免责声明:本文记录的是 symfonos4 渗透测试靶机 的解题过程,所有操作均在 本地授权环境 中进行。内容仅供 网络安全学习与防护研究 使用,请勿用于任何非法用途。读者应遵守《网络安全法》及相关法律法规,自觉维护网络空间安全。
环境:
https://download.vulnhub.com/symfonos/symfonos4.7z
本实验需要使用三台主机
symfonos4
kali
centos7
一、信息搜集
1、主机发现
nmap扫描需要处于同一个网段
arp-scan -l
┌──(root㉿kali)-[~]
└─# arp-scan -l
Interface: eth0, type: EN10MB, MAC: 08:00:27:63:b0:05, IPv4: 192.168.5.11
Starting arp-scan 1.10.0 with 256 hosts (https://github.com/royhills/arp-scan)
192.168.5.1 0a:00:27:00:00:04 (Unknown: locally administered)
192.168.5.2 08:00:27:5e:18:6d PCS Systemtechnik GmbH
192.168.5.10 08:00:27:36:27:94 PCS Systemtechnik GmbH
4 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.10.0: 256 hosts scanned in 2.015 seconds (127.05 hosts/sec). 3 responded
IP:192.168.5.10
2、扫描端口
nmap -sV -p- -A 192.168.5.10
┌──(root㉿kali)-[~]
└─# nmap -sV -p- -A 192.168.5.10
Starting Nmap 7.98 ( https://nmap.org ) at 2026-02-12 06:45 -0500
Nmap scan report for 192.168.5.10
Host is up (0.00023s latency).
Not shown: 65533 closed tcp ports (reset)
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 7.9p1 Debian 10 (protocol 2.0)
| ssh-hostkey:
| 2048 f9:c1:73:95:a4:17:df:f6:ed:5c:8e:8a:c8:05:f9:8f (RSA)
| 256 be:c1:fd:f1:33:64:39:9a:68:35:64:f9:bd:27:ec:01 (ECDSA)
|_ 256 66:f7:6a:e8:ed:d5:1d:2d:36:32:64:39:38:4f:9c:8a (ED25519)
80/tcp open http Apache httpd 2.4.38 ((Debian))
|_http-title: Site doesn't have a title (text/html).
|_http-server-header: Apache/2.4.38 (Debian)
MAC Address: 08:00:27:36:27:94 (Oracle VirtualBox virtual NIC)
Device type: general purpose
Running: Linux 3.X|4.X
OS CPE: cpe:/o:linux:linux_kernel:3 cpe:/o:linux:linux_kernel:4
OS details: Linux 3.2 - 4.14
Network Distance: 1 hop
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
TRACEROUTE
HOP RTT ADDRESS
1 0.23 ms 192.168.5.10
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 9.84 seconds
开放端口:22、80
3、扫描目录
dirsearch -u http://192.168.5.10
┌──(root㉿kali)-[~]
└─# dirsearch -u http://192.168.5.10
/usr/lib/python3/dist-packages/dirsearch/dirsearch.py:23: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import DistributionNotFound, VersionConflict
_|. _ _ _ _ _ _|_ v0.4.3
(_||| _) (/_(_|| (_| )
Extensions: php, aspx, jsp, html, js | HTTP method: GET | Threads: 25 | Wordlist size: 11460
Output File: /root/reports/http_192.168.5.10/_26-02-12_06-54-55.txt
Target: http://192.168.5.10/
[06:54:55] Starting:
[06:54:56] 301 - 309B - /js ->http://192.168.5.10/js/
[06:54:56] 403 - 298B - /.ht_wsr.txt
[06:54:56] 403 - 301B - /.htaccess.bak1
[06:54:56] 403 - 301B - /.htaccess.orig
[06:54:56] 403 - 303B - /.htaccess.sample
[06:54:56] 403 - 301B - /.htaccess.save
[06:54:56] 403 - 301B - /.htaccess_orig
[06:54:56] 403 - 302B - /.htaccess_extra
[06:54:56] 403 - 299B - /.htaccess_sc
[06:54:56] 403 - 299B - /.htaccessBAK
[06:54:56] 403 - 299B - /.htaccessOLD
[06:54:56] 403 - 300B - /.htaccessOLD2
[06:54:56] 403 - 292B - /.html
[06:54:56] 403 - 291B - /.htm
[06:54:56] 403 - 301B - /.htpasswd_test
[06:54:56] 403 - 297B - /.htpasswds
[06:54:56] 403 - 298B - /.httr-oauth
[06:54:57] 403 - 291B - /.php
[06:55:08] 301 - 310B - /css ->http://192.168.5.10/css/
[06:55:14] 301 - 317B - /javascript ->http://192.168.5.10/javascript/
[06:55:14] 200 - 460B - /js/
[06:55:16] 301 - 313B - /manual ->http://192.168.5.10/manual/
[06:55:16] 200 - 201B - /manual/index.html
[06:55:23] 403 - 297B - /robots.txt
[06:55:24] 403 - 300B - /server-status
[06:55:24] 403 - 301B - /server-status/
Task Completed
dirb http://192.168.5.10
┌──(root㉿kali)-[~]
└─# dirb http://192.168.5.10
-----------------
DIRB v2.22
By The Dark Raver
-----------------
START_TIME: Thu Feb 12 06:56:15 2026
URL_BASE: http://192.168.5.10/
WORDLIST_FILES: /usr/share/dirb/wordlists/common.txt
-----------------
GENERATED WORDS: 4612
---- Scanning URL: http://192.168.5.10/ ----
==> DIRECTORY: http://192.168.5.10/css/
+ http://192.168.5.10/index.html (CODE:200|SIZE:201)
==> DIRECTORY: http://192.168.5.10/javascript/
==> DIRECTORY: http://192.168.5.10/js/
==> DIRECTORY: http://192.168.5.10/manual/
+ http://192.168.5.10/robots.txt (CODE:403|SIZE:297)
+ http://192.168.5.10/server-status (CODE:403|SIZE:300)
---- Entering directory: http://192.168.5.10/css/ ----
(!) WARNING: Directory IS LISTABLE. No need to scan it.
(Use mode '-w' if you want to scan it anyway)
---- Entering directory: http://192.168.5.10/javascript/ ----
==> DIRECTORY: http://192.168.5.10/javascript/jquery/
---- Entering directory: http://192.168.5.10/js/ ----
(!) WARNING: Directory IS LISTABLE. No need to scan it. 拼多多帮助力入口
(Use mode '-w' if you want to scan it anyway)
---- Entering directory: http://192.168.5.10/manual/ ----
==> DIRECTORY: http://192.168.5.10/manual/da/
==> DIRECTORY: http://192.168.5.10/manual/de/
==> DIRECTORY: http://192.168.5.10/manual/en/
==> DIRECTORY: http://192.168.5.10/manual/es/
==> DIRECTORY: http://192.168.5.10/manual/fr/
==> DIRECTORY: http://192.168.5.10/manual/images/
+ http://192.168.5.10/manual/index.html (CODE:200|SIZE:626)
==> DIRECTORY: http://192.168.5.10/manual/ja/
==> DIRECTORY: http://192.168.5.10/manual/ko/
==> DIRECTORY: http://192.168.5.10/manual/style/
==> DIRECTORY: http://192.168.5.10/manual/tr/
==> DIRECTORY: http://192.168.5.10/manual/zh-cn/
---- Entering directory: http://192.168.5.10/javascript/jquery/ ----
+ http://192.168.5.10/javascript/jquery/jquery (CODE:200|SIZE:271809)
---- Entering directory: http://192.168.5.10/manual/da/ ----
==> DIRECTORY: http://192.168.5.10/manual/da/developer/
==> DIRECTORY: http://192.168.5.10/manual/da/faq/
==> DIRECTORY: http://192.168.5.10/manual/da/howto/
+ http://192.168.5.10/manual/da/index.html (CODE:200|SIZE:9117)
==> DIRECTORY: http://192.168.5.10/manual/da/misc/
==> DIRECTORY: http://192.168.5.10/manual/da/mod/
==> DIRECTORY: http://192.168.5.10/manual/da/programs/
==> DIRECTORY: http://192.168.5.10/manual/da/ssl/
---- Entering directory: http://192.168.5.10/manual/de/ ----
==> DIRECTORY: http://192.168.5.10/manual/de/developer/
==> DIRECTORY: http://192.168.5.10/manual/de/faq/
==> DIRECTORY: http://192.168.5.10/manual/de/howto/
+ http://192.168.5.10/manual/de/index.html (CODE:200|SIZE:9544)
==> DIRECTORY: http://192.168.5.10/manual/de/misc/
==> DIRECTORY: http://192.168.5.10/manual/de/mod/
==> DIRECTORY: http://192.168.5.10/manual/de/programs/
==> DIRECTORY: http://192.168.5.10/manual/de/ssl/
---- Entering directory: http://192.168.5.10/manual/en/ ----
==> DIRECTORY: http://192.168.5.10/manual/en/developer/
==> DIRECTORY: http://192.168.5.10/manual/en/faq/
==> DIRECTORY: http://192.168.5.10/manual/en/howto/
+ http://192.168.5.10/manual/en/index.html (CODE:200|SIZE:9482)
==> DIRECTORY: http://192.168.5.10/manual/en/misc/
==> DIRECTORY: http://192.168.5.10/manual/en/mod/
==> DIRECTORY: http://192.168.5.10/manual/en/programs/
==> DIRECTORY: http://192.168.5.10/manual/en/ssl/
---- Entering directory: http://192.168.5.10/manual/es/ ----
==> DIRECTORY: http://192.168.5.10/manual/es/developer/
==> DIRECTORY: http://192.168.5.10/manual/es/faq/
==> DIRECTORY: http://192.168.5.10/manual/es/howto/
+ http://192.168.5.10/manual/es/index.html (CODE:200|SIZE:9891)
==> DIRECTORY: http://192.168.5.10/manual/es/misc/
==> DIRECTORY: http://192.168.5.10/manual/es/mod/