發表文章

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

Proving Grounds Practice : Shenzi Walkthrough

圖片
 Proving Grounds Practice : Shenzi Walkthrough Foothole (立足點 ) : 傳統枚舉時沒有發現任何可以利用的點,但有發現 WordPress 但沒找到網站 透過 cewl 建立字典檔查到 WordPress 的網站路徑 WordPress 標準手法拿 Reverse Shell PE ( 提權 ) : winPEASx64.exe 執行後發現  AlwaysInstallElevated  設定為 1 建立 *.msi Payload 然後執行拿 Reverse Shell 注意事項 :  cewl 的利用,抓取網站的關鍵字當作字典檔 AlwaysInstallElevated 設定為 1 的利用 第一步 Rustscan, └─$ rustscan -a 192.168.176.55 --scripts none --ulimit 5000 | tee rustscan snmp closed,└─$ sudo nmap -sU -p 161 192.168.176.55 | tee snmp nmap,└─$ sudo nmap -sCV -A -p 21,80,135,139,443,445,3306,5040,7680,49664,49665,49666,49668,49667,49669 192.168.176.55 | tee nmap 21   FileZilla ftpd 0.9.41 beta 80 Apache httpd 2.4.43 ((Win64) OpenSSL/1.1.1g PHP/7.4.6) 443 Apache httpd 2.4.43 ((Win64) OpenSSL/1.1.1g PHP/7.4.6) | ssl-cert: Subject: commonName=localhost 3306 MariaDB(MtSQL) enum4linux,└─$ enum4linux -a  192.168.176.55 SMB check,└─$ smbclient -L \192.168.176.55 發現一個名稱 Shenzi SMB 登入 Shenzi 確認,...