發表文章

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

Proving Grounds Practice : Hunit Walkthrough

圖片
 Proving Grounds Practice : Hunit Walkthrough Foothole (立足點 ) : 8080 網頁發現 /api 與 /api/user 查到使用者帳號與密碼 SSH 登入拿到 shell PE ( 提權 ) : 拿到另一個使用者 git 的 id_rsa 且是 git-shell 使用 git 相關指令寫 Reverse shell 建立連線提權成功 注意事項 : git-shell 的應用 Rustscan,└─$ rustscan -a 192.168.152.125 --scripts none --ulimit 5000 | tee rustscan snmp filtered,└─$ sudo nmap -sU -p 161 192.168.152.125 | tee snmp nmap,└─$ sudo nmap -sCV -A -p 8080,12445,18030,43022 192.168.152.125 | tee nmap 8080/tcp  open  http-proxy |     <title>My Haikus</title> 12445/tcp open  netbios-ssn Samba smbd 4.6.2 18030/tcp open  http        Apache httpd 2.4.46 ((Unix)) 43022/tcp open  ssh         OpenSSH 8.4 (protocol 2.0) SMB check,└─$ smbclient -L \192.168.152.125 -p 12445          查看 Commander 資料夾內容,發現一堆檔案 └─$ smbclient \\\\192.168.152.125\\Commander -p 12445 可以上傳檔案 8080 / 8080 /robots.txt gobuster nothing 18030 / 是個打地鼠網站 1...