当前位置:网站首页>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.
边栏推荐
- 1.初识PHP
- PHP8.2的版本发布管理员和发布计划
- PHP image compression to specified size
- 3. PHP data types, constants, strings and operators
- PHP 给图片添加全图水印
- Add a full image watermark to an image in PHP
- 轮播图详解(完整代码在最后)
- [phpunit/php-timer] A timer for code execution time
- TCP通信程序
- Multithreading (implementing multithreading, thread synchronization, producer and consumer)
猜你喜欢
随机推荐
[campo/random-user-agent] Randomly fake your User-Agent
(1) print()函数、转义字符、二进制与字符编码 、变量、数据类型、input()函数、运算符
hackmyvm: may walkthrough
hackmyvm-bunny walkthrough
js预编译 GO 和AO
1.初识PHP
SQL分类、DQL(数据查询语言)、以及相应SQL查询语句演示
SQL classification, DQL (Data Query Language), and corresponding SQL query statement demonstration
What are the killer super powerful frameworks or libraries or applications for PHP?
使用PHPMailer发送邮件
解决5+APP真机测试无法访问后台(同局域网)
vim edit mode
攻防世界—MISC 新手区1-12
13. JS output content and syntax
逍遥多开模拟器ADB驱动连接
第一次手撕代码,如何解出全排列问题
Using PHPMailer send mail
14.JS语句和注释,变量和数据类型
ES6迭代器解释举例
Function hoisting and variable hoisting








