当前位置:网站首页>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.
边栏推荐
- VIKINGS: 1 vulnhub walkthrough
- (8) requests, os, sys, re, _thread
- TCP通信程序
- (1) print()函数、转义字符、二进制与字符编码 、变量、数据类型、input()函数、运算符
- Add a full image watermark to an image in PHP
- 1.初识PHP
- js 正则中 replace() 使用
- PHP的几个有趣的打开方式:从基本到变态
- [phpunit/php-timer] A timer for code execution time
- easyswoole uses redis to perform geoRadiusByMember Count invalid fix
猜你喜欢

VIKINGS: 1 vulnhub walkthrough

MOMENTUM: 2 vulnhub walkthrough

Eric靶机渗透测试通关全教程

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

Solve the problem of Zlibrary stuck/can't find the domain name/reached the limit, the latest address of Zlibrary

(1) introduction to Thinkphp6, installation view, template rendering, variable assignment

DVWA drone installation tutorial

4.表单与输入

TCP通信程序

Introduction to PHP (self-study notes)
随机推荐
[symfony/finder] The best file manipulation library
(6) 学生信息管理系统设计
14. JS Statements and Comments, Variables and Data Types
js 正则中 replace() 使用
13.JS输出内容和语法
[phpunit/php-timer] A timer for code execution time
Function hoisting and variable hoisting
IO stream, encoding table, character stream, character buffer stream
TypeScript error error TS2469, error TS2731 solution
12. What is JS
hackmyvm: juggling walkthrough
IP access control: teach you how to implement an IP firewall with PHP
ES6迭代器解释举例
AES加密的各种蛋疼方式方式
[mikehaertl/php-shellcommand]一个用于调用外部命令操作的库
[sebastian/diff]一个比较两段文本的历史变化扩展库
About the apache .htaccess file of tp
ES6介绍+定义变量+不同情况下箭头函数的this指向
Phonebook
Eric靶机渗透测试通关全教程