当前位置:网站首页>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.
边栏推荐
猜你喜欢
随机推荐
PHP图片压缩到指定的大小
IO stream, encoding table, character stream, character buffer stream
17.JS条件语句和循环,以及数据类型转换
百度定位js API
[campo/random-user-agent]随机伪造你的User-Agent
Kali install IDEA
[mikehaertl/php-shellcommand] A library for invoking external command operations
(1) introduction to Thinkphp6, installation view, template rendering, variable assignment
Shuriken: 1 vulnhub walkthrough
ES6迭代器解释举例
微信小程序开发视频加载:[渲染层网络层错误] Failed to load media
(7) 浅学 “爬虫” 过程 (概念+练习)
Dom实现input的焦点触发
阿里云MySQL5.7安装以及部分主要问题(总和)
[trendsoft/capital]金额转中文大写库
MySql Advanced -- Constraints
3. PHP data types, constants, strings and operators
逍遥多开模拟器ADB驱动连接
[league/climate]一个功能健全的命令行功能操作库
DVWA靶机安装教程








