┌──(mikannse㉿kali)-[~/HTB/cronos] └─$ sudo nmap --min-rate=10000 -p- 10.10.10.13 Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-09-09 19:08 CST Warning: 10.10.10.13 giving up on port because retransmission cap hit (10). Nmap scan report for 10.10.10.13 Host is up (0.087s latency). Not shown: 62200 closed tcp ports (reset), 3332 filtered tcp ports (no-response) PORT STATE SERVICE 22/tcp open ssh 53/tcp open domain 80/tcp open http
Nmap done: 1 IP address (1 host up) scanned in 38.31 seconds
┌──(mikannse㉿kali)-[~/HTB/cronos] └─$ sudo nmap -sT -sV -sC -O -p22,53,80 10.10.10.13 Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-09-09 19:09 CST Nmap scan report for 10.10.10.13 Host is up (0.068s latency).
PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 7.2p2 Ubuntu 4ubuntu2.1 (Ubuntu Linux; protocol 2.0) | ssh-hostkey: | 2048 18:b9:73:82:6f:26:c7:78:8f:1b:39:88:d8:02:ce:e8 (RSA) | 256 1a:e6:06:a6:05:0b:bb:41:92:b0:28:bf:7f:e5:96:3b (ECDSA) |_ 256 1a:0e:e7:ba:00:cc:02:01:04:cd:a3:a9:3f:5e:22:20 (ED25519) 53/tcp open domain ISC BIND 9.10.3-P4 (Ubuntu Linux) | dns-nsid: |_ bind.version: 9.10.3-P4-Ubuntu 80/tcp open http Apache httpd 2.4.18 ((Ubuntu)) Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port Aggressive OS guesses: Linux 3.12 (96%), Linux 3.13 (96%), Linux 3.16 (96%), Linux 3.2 - 4.9 (96%), Linux 3.8 - 3.11 (96%), Linux 4.4 (95%), Linux 3.18 (95%), Linux 4.2 (95%), Linux 4.8 (95%), ASUS RT-N56U WAP (Linux 3.4) (95%) No exact OS matches for host (test conditions non-ideal). Network Distance: 2 hops Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
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 73.80 seconds
嗯?开了一个53端口感觉莫名其妙
Web
登陆不上去,或许需要使用域名登录,反向查询一下域名信息,得到cronos.htb,添加hosts
┌──(mikannse㉿kali)-[~/HTB/cronos] └─$ nslookup 10.10.10.13 10.10.10.13 13.10.10.10.in-addr.arpa name = ns1.cronos.htb.
class TestCronjob extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'TestCronjob:testCronjobFunction';