当前位置:网站首页>Vulnhub tre1
Vulnhub tre1
2022-07-07 20:07:00 【Plum_ Flowers_ seven】
Catalog
3、 ... and 、 Service version discovery
5、 ... and 、 Break through the border
1. Try to make use of mantis Of RCE Loophole
2. Advanced directory explosion , A lot of information collection
3.Pre-Auth Remote Password Reset
6、 ... and 、shell Script authorization
3. Write bounce shell sentence
Be careful : Use as much as possible vmvare To deploy the target aircraft , And network mode selection NAT Pattern .
One 、 The host found
Two 、 Port scanning

3、 ... and 、 Service version discovery
22 ssh
80 8082 All of them are open http The service is different web Server software .

Four 、 information gathering
1.80 and 8082
It's all open http service , And deployed the same site , Same page . There is no information available in the source code .,

2. Catalog explosion

(1)adminer.php

(2)info.php
I know some configuration file path addresses , Website environment, etc .

(3)system
Return code 401, Login is required to access the site , We tried weak password admin/admin Successful entry

(4) Return packet
This one in the response packet is used to verify identity .
Authorization:Basic YWRtaW46YWRtaW4=

5、 ... and 、 Break through the border
1. Try to make use of mantis Of RCE Loophole
cp Come to the local , change exp Of rhost ,lhost,mantisloc , Add validation header , And then execute

nc -nvlp 4444

2. Advanced directory explosion , A lot of information collection
That is to add the verification head and then blast
dirsearch -u url --header="Authorization:Basic YWRtaW46YWRtaW4="
There are many new paths .

(1)config
We got the account and password of the data , name . Before integration adminer.php Interface , Try signing in

(2) Collect information after login

Here we can find the original account and the account we registered , In the previous registration , We didn't enter the password , So it is inferred that the blank column is the password . To try ssh Sign in
(3)ssh Sign in

3.Pre-Auth Remote Password Reset
It is a vulnerability of pre authorized remote password modification
Here is also an introduction to usage , This is the remote password change to hash Verified , But we changed it to empty , Go straight around


Log in to the administrator user state , We can also see the account password , And then through ssh Sign in .

6、 ... and 、shell Script authorization
1.shell grammar
find / -user root -type f -perm -o=rw -ls 2>/dev/null | grep -v "/proc"
check-system It's not the system's own command , Sure , To view the .

2 .check-system
The program started at startup is systemd , Systems and services Manager control . systemd Is the first process to run at startup . It always has process ID (PID)1. All other processes running on the computer are controlled by systemd Starting up , Or by systemd The process that has been started starts . Combine the above sudo jurisdiction , Guess it may be related to the startup of the boot

3. Write bounce shell sentence

4. Restart triggers

边栏推荐
- UCloud是基础云计算服务提供商
- R language ggplot2 visualization: use the ggqqplot function of ggpubr package to visualize the QQ graph (Quantitative quantitative plot)
- 【剑指offer】剑指 Offer II 012. 左右两边子数组的和相等
- Cuda版本不一致,编译apex报错
- Redis——基本使用(key、String、List、Set 、Zset 、Hash、Geo、Bitmap、Hyperloglog、事务 )
- The state cyberspace Office released the measures for data exit security assessment: 100000 information provided overseas needs to be declared
- R language uses ggplot2 function to visualize the histogram distribution of counting target variables that need to build Poisson regression model, and analyzes the feasibility of building Poisson regr
- Force buckle 674 Longest continuous increasing sequence
- MIT科技评论文章:围绕Gato等模型的AGI炒作可能使人们忽视真正重要的问题
- The boundary of Bi: what is bi not suitable for? Master data, Martech? How to expand?
猜你喜欢

Classification automatique des cellules de modules photovoltaïques par défaut dans les images de lecture électronique - notes de lecture de thèse

LeetCode_7_5

Openeuler prize catching activities, to participate in?

微信公众号OAuth2.0授权登录并显示用户信息
![最多可以参加的会议数目[贪心 + 优先队列]](/img/f3/e8e939e0393efc404cc159d7d33364.png)
最多可以参加的会议数目[贪心 + 优先队列]

mysql 的一些重要知识

PMP對工作有益嗎?怎麼選擇靠譜平臺讓備考更省心省力!!!

使用高斯Redis实现二级索引

el-upload上传组件的动态添加;el-upload动态上传文件;el-upload区分文件是哪个组件上传的。

数据孤岛是企业数字化转型遇到的第一道险关
随机推荐
力扣 912.排序数组
ASP. Net gymnasium integrated member management system source code, free sharing
R language dplyr package mutate_ At function and min_ The rank function calculates the sorting sequence number value and ranking value of the specified data column in the dataframe, and assigns the ra
时间工具类
项目经理『面试八问』,看了等于会了
R language uses ggplot2 function to visualize the histogram distribution of counting target variables that need to build Poisson regression model, and analyzes the feasibility of building Poisson regr
注解。。。
开源OA开发平台:合同管理使用手册
Chapter 20 using work queue manager (3)
关于cv2.dnn.readNetFromONNX(path)就报ERROR during processing node with 3 inputs and 1 outputs的解决过程【独家发布】
R语言使用ggplot2函数可视化需要构建泊松回归模型的计数目标变量的直方图分布并分析构建泊松回归模型的可行性
Force buckle 599 Minimum index sum of two lists
How to buy bank financial products? Do you need a bank card?
9 atomic operation class 18 Rohan enhancement
力扣 1790. 仅执行一次字符串交换能否使两个字符串相等
The DBSCAN function of FPC package of R language performs density clustering analysis on data, checks the clustering labels of all samples, and the table function calculates the two-dimensional contin
华南X99平台打鸡血教程
pom. XML configuration file label: differences between dependencies and dependencymanagement
Browse the purpose of point setting
R语言dplyr包select函数、group_by函数、filter函数和do函数获取dataframe中指定因子变量中指定水平中特定数值数据列的值第三大的值