┌─[root@parrot]─[~] └──╼ #nmap -sC -sV 10.10.10.6 Starting Nmap 7.70 ( https://nmap.org ) at 2019-01-16 13:29 EST Nmap scan report for 10.10.10.6 Host is up (0.24s latency). Not shown: 998 closed ports PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 5.1p1 Debian 6ubuntu2 (Ubuntu Linux; protocol 2.0) | ssh-hostkey: | 1024 3e:c8:1b:15:21:15:50:ec:6e:63:bc:c5:6b:80:7b:38 (DSA) |_ 2048 aa:1f:79:21:b8:42:f4:8a:38:bd:b8:05:ef:1a:07:4d (RSA) 80/tcp open http Apache httpd 2.2.12 ((Ubuntu)) |_http-server-header: Apache/2.2.12 (Ubuntu) |_http-title: Site doesn't have a title (text/html). Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 17.66 seconds
只开了22和80端口
先使用dirb爆破80端口web服务目录
1
dirb http://10.10.10.6/ -r
利用
找到以下目录,其中test下是个phpinfo
torrent 文件夹比较可疑,浏览器访问http://10.10.10.3/torrent/
简单的浏览了下,发现有上传文件功能。先注册个帐号
完成注册后上传一个.torrent文件,上传成功后跳转到一下页面,点击Edit this torrent按钮,弹出一个可以上传图片的窗口