1. Mô tả
This is an easy box, pretty basic stuff.
It's vmware based, i dont know if it works on VB you can test it if you want.
There are 2 flags under /home/$user/user.txt & /root/root.txt.
No stupid ctfy/guessy stuff.
For any help/hint feel free to DM me through discord.
Happy pwning! :D
2. Tải xuống
nyxvm.zip (Size: 837 MB)
Download: https://mega.nz/file/guBFQYpT#ouUXdG795C2ZJ1aCgbQm76MiYYjTJIGigjjBq0YXaJY
Download (Mirror): https://download.vulnhub.com/nyx/nyxvm.zip
Download (Torrent): https://download.vulnhub.com/nyx/nyxvm.zip.torrent
3. Khai thác
Bước 1: Khai thác thu thập thông tin
Mình sử dụng công cụ arp-scan kiểm tra ip của máy victim
arp-scan 192.168.44.0/24
Tiếp theo sử dụng công cụ nmap để kiểm tra các cổng dịch vụ
nmap -sV -sC 192.168.44.232
Bước 2: Khai thác dịch vụ web
Mình truy cập website kiểm tra xem có gì không
gobuster dir -u http://192.168.44.232/ -w /usr/share/wordlist/dirb/common.txt -x html,php,txt -b 404,403 -t 50
nmap -sV --script=http-enum 192.168.44.232
Bước 3: Kiểm soát truy cập và leo thang
Tiến hành đăng nhập ssh với key thu được ở bước 2 ( nhớ thiết lập quyền cho key)
vim key
chmod 600 key
ssh mpampis@192.168.44.232 -i key
Thực hiện đọc cờ đầu
ls -l
cat user.txt
id
sudo -l
0 Comments