当前位置:网站首页>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.
边栏推荐
- TypeScript 错误 error TS2469、error TS2731 解决办法
- [mikehaertl/php-shellcommand]一个用于调用外部命令操作的库
- QR code generation API interface, which can be directly connected as an A tag
- PHP有哪些杀手级超厉害框架或库或应用?
- 稳定好用的短连接生成平台,支持API批量生成
- 13.JS输出内容和语法
- 2.PHP变量、输出、EOF、条件语句
- 17.JS条件语句和循环,以及数据类型转换
- uniapp | 使用npm update更新后编译报错问题
- [vite] Failed to parse source for import analysis because the content contains invalid JS syntax.
猜你喜欢

Alfa: 1 vulnhub walkthrough

hackmyvm-bunny walkthrough

ES6三点运算符、数组方法、字符串扩展方法

SQL: DDL, DML, DQL, DCL corresponding introduction and demonstration

(7) 浅学 “爬虫” 过程 (概念+练习)

正则笔记(2)- 正则表达式位置匹配攻略

Phpstudy installs Thinkphp6 (problem + solution)

TypeScript error error TS2469, error TS2731 solution

hackmyvm: controller walkthrough

PHP有哪些框架?
随机推荐
MySql高级 -- 约束
Phonebook
What will be new in PHP8.2?
MySql Advanced -- Constraints
hackmyvm-bunny walkthrough
Solve the problem of Zlibrary stuck/can't find the domain name/reached the limit, the latest address of Zlibrary
第一次手撕代码,如何解出全排列问题
4.PHP数组与数组排序
js __proto__、prototype、constructor的关系
[league/flysystem] An elegant and highly supported file operation interface
AES加密的各种蛋疼方式方式
hackmyvm: may walkthrough
TypeScript error error TS2469, error TS2731 solution
Various ways of AES encryption
Warzone: 3 (Exogen) vulnhub walkthrough
关于tp的apache 的.htaccess文件
js 原型和原型链
轮播图详解(完整代码在最后)
3.PHP数据类型、常量、字符串和运算符
ES6介绍+定义变量+不同情况下箭头函数的this指向