当前位置:网站首页>Alfa: 1 vulnhub walkthrough
Alfa: 1 vulnhub walkthrough
2022-08-02 03:25:00 【xdeclearn】
信息页:http://www.vulnhub.com/entry/alfa-1,655/
关键字:Enumeration | Web Application | Brute Force | Privilege Escalation
0x01 端口扫描
PORT STATE SERVICE
21/tcp open ftp
80/tcp open http
139/tcp open netbios-ssn
445/tcp open microsoft-ds
65111/tcp open unknown
0x02 获取第一个flag
使用anonymous访问ftp,获取到名为milo.jpg的图片。
访问80端口,通过目录遍历,在页面http://192.168.56.157/alfa-support/中得到提示信息:
于是利用之前图片名通过crunch构建密码字典,hydra爆破得到密码milo666。
[email protected]:~$ crunch 7 7 -t milo%%% > 1.txt
Crunch will now generate the following number of lines: 1000
[email protected]:~$ hydra -l thomas -P 1.txt ssh://192.168.56.157:65111
[65111][ssh] host: 192.168.56.157 login: thomas password: milo666
利用ssh登录,得到第一个flag。
0x03 获取第二个flag
获取shell后一顿常规操作,比如suid,sudo,crontab,备份密码文件等,都以失败告终,反过来回到开始的地方,在用户目录中有一个敏感文件.remote_secret。
同时进程中存在vncserver。
估计上述密码文件是用来登录vnc的,但是由于vncserver仅限本地登录,所以这里使用ssh做了socks5代理,在kali下利用vncview加载密码文件实现了root权限获取,得到了第二个flag。
边栏推荐
- (3) Thinkphp6 database
- 线程池(线程池介绍与使用)
- 4. PHP array and array sorting
- v-bind用法:类动态绑定对象 数组 style样式 及函数方法
- PHP8.2中字符串变量解析的新用法
- 稳定好用的短连接生成平台,支持API批量生成
- 解决uni-app 打包H5网站 下载图片问题
- Solve the problem of Zlibrary stuck/can't find the domain name/reached the limit, the latest address of Zlibrary
- SQL分类、DQL(数据查询语言)、以及相应SQL查询语句演示
- Phpstudy installs Thinkphp6 (problem + solution)
猜你喜欢
随机推荐
Function hoisting and variable hoisting
正则笔记(1)- 正则表达式字符匹配攻略
2.PHP变量、输出、EOF、条件语句
[league/climate] A robust command-line function manipulation library
IO streams, byte stream and byte stream buffer
vim编辑模式
PHP有哪些杀手级超厉害框架或库或应用?
[sebastian/diff] A historical change extension library for comparing two texts
16.JS事件, 字符串和运算符
Kali install IDEA
解决5+APP真机测试无法访问后台(同局域网)
IP access control: teach you how to implement an IP firewall with PHP
ES6数组的扩展方法map、filter、reduce、fill和数组遍历for…in for…of arr.forEach
IP门禁:手把手教你用PHP实现一个IP防火墙
Query the indexes of all tables in the database and parse them into sql
1.10今日学习
Turn trendsoft/capital amount of Chinese capital library
4.表单与输入
Kali环境下Frida编写脚本智能提示
SQL classification, DQL (Data Query Language), and corresponding SQL query statement demonstration








