Crafty
信息
Difficulty: Easy
Operating System: Windows
nmap 信息搜集
sudo nmap -A --min-rate=5000 -T5 -p- 10.10.11.249
PORT STATE SERVICE VERSION
80/tcp open http Microsoft IIS httpd 10.0
|_http-title: Did not follow redirect to http://crafty.htb
|_http-server-header: Microsoft-IIS/10.0
25565/tcp open minecraft Minecraft 1.16.5 (Protocol: 127, Message: Crafty Server, Users: 0/100)
基于 Minecraft 进行 Log4j 攻击
连接服务器
使用 ammaraskar/pyCraft - Github 与服务器进行连接
┌──(env)(randark ㉿ kali)-[~/tools/pyCraft]
└─$ python3 start.py
Enter your username: user123
Enter your password (leave blank for offline mode):
Enter server host or host:port (enclose IPv6 addresses in square brackets): 10.10.11.249
Connecting in offline mode...
Connected.