Hack The Box-Crocodile

本文详细记录了解决虚拟靶机Crocodile的过程,从使用nmap进行端口扫描,发现开放的FTP服务(vsftpd 3.0.3),并成功进行匿名登录,通过FTP下载文件。进一步探索中,发现了高权限用户名admin,识别出运行的Apache HTTP Server版本为2.4.41,并利用Wappalyzer插件分析网站。在文件枚举阶段,借助dirsearch而非gobuster找到了login.php,最终通过该页面及FTP服务获取的账号密码登录,拿到root权限,flag为c7110277ac44d78b6a9fff2232434d16。

申请虚拟靶机,获取目标IP地址。

Task1

What nmap scanning switch employs the use of default scripts during a scan? (nmap默认扫描参数?)

-sC

Task2

What service version is found to be running on port 21? (21端口运行服务的版本?)

vsftpd 3.0.3

Task3

What FTP code is returned to us for the "Anonymous FTP login allowed" message? (FTP允许匿名访问的返回值是多少?)

230

Task4

What command can we use to download the files we find on the FTP server? (什么命令用来下载文件?)

get

Task5

What is one of the higher-privilege sounding usernames in the list we retrieved? (用户列表中哪个权限好像更高? )

admin

Task6

What version of Apache HTTP Server is running on the target host? (目标主机阿帕奇HTTP服务的版本?)

2.4.41

Task7

What is the name of a handy web site analysis plug-in we can install in our browser? (辅助分析网站的浏览器插件?)

Wappalyzer

Task8

What switch can we use with gobuster to specify we are looking for specific filetypes? (gobuster的什么参数用来查找指定类型文件?)

-x

Task9

What file have we found that can provide us a foothold on the target?

没用gobuster,使用的dirsearch。

login.php

Task10

Submit root flag

访问login.php,想到前面ftp服务获得的账号和密码,进行尝试登录,成功!

c7110277ac44d78b6a9fff2232434d16

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值