当前位置:网站首页>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

边栏推荐
- R language ggplot2 visualization: use the ggstripchart function of ggpubr package to visualize the dot strip plot, set the position parameter, and configure the separation degree of different grouped
- 让这个 CRMEB 单商户微信商城系统火起来,太好用了!
- Some important knowledge of MySQL
- 力扣 643. 子数组最大平均数 I
- Some arrangements about oneself
- R语言ggplot2可视化:使用ggpubr包的ggviolin函数可视化小提琴图、设置palette参数自定义不同水平小提琴图的填充色、add参数在小提琴图添加箱图
- 8 CAS
- Tp6 realize Commission ranking
- 力扣 1037.有效的回旋镖
- Chapter 9 Yunji datacanvas was rated as 36 krypton "the hard core technology enterprise most concerned by investors"
猜你喜欢

Classification automatique des cellules de modules photovoltaïques par défaut dans les images de lecture électronique - notes de lecture de thèse
![最多可以参加的会议数目[贪心 + 优先队列]](/img/f3/e8e939e0393efc404cc159d7d33364.png)
最多可以参加的会议数目[贪心 + 优先队列]

开源重器!九章云极DataCanvas公司YLearn因果学习开源项目即将发布!

MRS离线数据分析:通过Flink作业处理OBS数据

Automatic classification of defective photovoltaic module cells in electroluminescence images-論文閱讀筆記

项目经理『面试八问』,看了等于会了

The state cyberspace Office released the measures for data exit security assessment: 100000 information provided overseas needs to be declared

PMP practice once a day | don't get lost in the exam -7.7

Dynamic addition of El upload upload component; El upload dynamically uploads files; El upload distinguishes which component uploads the file.

小试牛刀之NunJucks模板引擎
随机推荐
Ucloud is a basic cloud computing service provider
Cloud component development and upgrading
MRS离线数据分析:通过Flink作业处理OBS数据
R语言dplyr包select函数、group_by函数、filter函数和do函数获取dataframe中指定因子变量中指定水平中特定数值数据列的值第三大的值
ASP.NET体育馆综合会员管理系统源码,免费分享
ASP. Net gymnasium integrated member management system source code, free sharing
pom.xml 配置文件标签作用简述
Tp6 realize Commission ranking
JVM 类加载机制
Equals method
银行理财产品怎么买?需要办银行卡吗?
【剑指offer】剑指 Offer II 012. 左右两边子数组的和相等
A pot of stew, a collection of common commands of NPM and yarn cnpm
IP tools
9 atomic operation class 18 Rohan enhancement
Some arrangements about oneself
模拟实现string类
tp6 实现佣金排行榜
JVM GC garbage collection brief
力扣 2319. 判断矩阵是否是一个 X 矩阵