当前位置:网站首页>Alfa: 1 vulnhub walkthrough
Alfa: 1 vulnhub walkthrough
2022-08-02 03:59:00 【xdeclearn】
Information Page: http://www.vulnhub.com/entry/alfa-1,655/
Keywords: Enumeration | Web Application | Brute Force |Privilege Escalation
0x01 port scan
PORT STATE SERVICE21/tcp open ftp80/tcp open http139/tcp open netbios-ssn445/tcp open microsoft-ds65111/tcp open unknown0x02 get the first flag
Use anonymous to access ftp and get a picture named milo.jpg.
Access port 80, traverse through the directory, on the page http://192.168.56.157/alfa-support/ get the prompt information:
So use the previous picture name to build a password dictionary through crunch, and hydra blasts to get the password milo666.
[email protected]:~$ crunch 7 7 -t milo%%% > 1.txtCrunch will now generate the following number of lines: [email protected]:~$ hydra -l thomas -P 1.txt ssh://192.168.56.157:65111[65111][ssh] host: 192.168.56.157 login: thomas password: milo666Use ssh to log in and get the first flag.
0x03 get the second flag
After obtaining the shell, a routine operation, such as suid, sudo, crontab, backup password file, etc., all ended in failure, and in turn returned to the beginning, there is a sensitive file in the user directory .remote_secret.
At the same time, vncserver exists in the process.
It is estimated that the above password file is used to log in to vnc, but since vncserver is limited to local login, so here we use ssh as a socks5 proxy, and use vncview to load the password file under kali to achieve root access, and get the second flag.
边栏推荐
- [campo/random-user-agent] Randomly fake your User-Agent
- Several interesting ways to open PHP: from basic to perverted
- PHP有哪些框架?
- 批量替换文件字体,简体->繁体
- js的“类数组”及“类数组转数组”
- 你的本地创建的项目库还在手动创建远端代码仓库再推送吗,该用它了
- 解决uni-app 打包H5网站 下载图片问题
- PHP8.2 version release administrator and release plan
- ES6三点运算符、数组方法、字符串扩展方法
- Pycharm打包项目为exe文件
猜你喜欢
随机推荐
JS objects, functions and scopes
(5) 模块与包、编码格式、文件操作、目录操作
解决 Zlibrary 卡死/找不到域名/达到限额问题,Zlibrary最新地址
PHP有哪些杀手级超厉害框架或库或应用?
Warzone: 3 (Exogen) vulnhub walkthrough
When PHP initiates Alipay payment, the order information is garbled and solved
New usage of string variable parsing in PHP8.2
4.表单与输入
阿里云MySQL5.7安装以及部分主要问题(总和)
MySql高级 -- 约束
二维码生成API接口,可以直接作为A标签连接
The Error in the render: "TypeError: always read the properties of null '0' (reading)" Error solution
TypeScript 错误 error TS2469、error TS2731 解决办法
(1)Thinkphp6入门、安装视图、模板渲染、变量赋值
SQL分类、DQL(数据查询语言)、以及相应SQL查询语句演示
第一次手撕代码,如何解出全排列问题
IP access control: teach you how to implement an IP firewall with PHP
[symfony/mailer]一个优雅易用的发送邮件类库
(2) 顺序结构、对象的布尔值、选择结构、循环结构、列表、字典、元组、集合
[vite] Failed to parse source for import analysis because the content contains invalid JS syntax.









