当前位置:网站首页>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
边栏推荐
- Force buckle 674 Longest continuous increasing sequence
- 力扣674. 最长连续递增序列
- openEuler 资源利用率提升之道 01:概论
- Flink并行度和Slot详解
- ASP. Net gymnasium integrated member management system source code, free sharing
- 华南X99平台打鸡血教程
- Introduction to bit operation
- mock.js从对象数组中任选数据返回一个数组
- Openeuler prize catching activities, to participate in?
- pom. Brief introduction of XML configuration file label function
猜你喜欢
【STL】vector
Is PMP beneficial to work? How to choose a reliable platform to make it easier to prepare for the exam!!!
LeetCode_ 7_ five
mock.js从对象数组中任选数据返回一个数组
Navicat连接2002 - Can‘t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock‘解决
多个线程之间如何协同
编译器优化那些事儿(4):归纳变量
微信公众号OAuth2.0授权登录并显示用户信息
el-upload上传组件的动态添加;el-upload动态上传文件;el-upload区分文件是哪个组件上传的。
最多可以参加的会议数目[贪心 + 优先队列]
随机推荐
LeetCode力扣(剑指offer 36-39)36. 二叉搜索树与双向链表37. 序列化二叉树38. 字符串的排列39. 数组中出现次数超过一半的数字
How to buy bank financial products? Do you need a bank card?
力扣 88.合并两个有序数组
Is PMP beneficial to work? How to choose a reliable platform to make it easier to prepare for the exam!!!
Semantic SLAM源码解析
ASP. Net learning & ASP's one word
数据孤岛是企业数字化转型遇到的第一道险关
JVM GC垃圾回收简述
Openeuler prize catching activities, to participate in?
力扣674. 最长连续递增序列
Training IX basic configuration of network services
Cloud component development and upgrading
PMP对工作有益吗?怎么选择靠谱平台让备考更省心省力!!!
如何在软件研发阶段落地安全实践
Chapter 20 using work queue manager (3)
毕业季|遗憾而又幸运的毕业季
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
[RT thread env tool installation]
力扣 643. 子数组最大平均数 I
ASP. Net kindergarten chain management system source code