nmap -sP 192.168.239.0/24 Host is up (0.0015s latency). Nmap scan report for bogon (192.168.239.135)
sudo nmap -p 1-65535 192.168.239.135 也可以用-p-全部端口扫描 PORT STATE SERVICE 80/tcp open http 7744/tcp open raqmon-pdu
嗯… 无法访问此页面
检查 dc-2 中是否存在拼写错误。
不过有时也能访问,不过会出现css不加载很丑的页面
sudo vim /etc/hosts 加入 IP 空格 dc-2 域名解析
WIN:C:\Windows\System32\drivers\etc\hosts文件修改
自己琢磨挺久,视频和官方文档有讲
Please note that you will need to set the hosts file on your pentesting device to something like:
主页中有flag页面,点击查看第一个flag
1 2 3 4 5 6
Flag 1: Your usual wordlists probably won’t work, so instead, maybe you just need to be cewl. More passwords is always better, but sometimes you just can’t win them all. Log in as one to see the next flag. If you can’t find it, log in as another.
直接admin 所有密码都不对,尝试wpscan扫描用户名:wpscan --url http://192.168.239.135/ --enumerate u
Scan Aborted: The URL supplied redirects to http://dc-2/. Use the --ignore-main-redirect option to ignore the redirection and scan the target, or change the --url option value to the redirected URL.
PORT STATE SERVICE
7744/tcp open raqmon-pdu
|_banner: SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u7
1 2 3 4 5 6 7 8 9 10 11
┌──(kali㉿kali)-[~] └─$ ssh jerry@192.168.239.135 -p 7744 The authenticity of host '[192.168.239.135]:7744 ([192.168.239.135]:7744)' can't be established. ED25519 key fingerprint is SHA256:JEugxeXYqsY0dfaV/hdSQN31Pp0vLi5iGFvQb8cB1YA. This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])? y Please type 'yes', 'no' or the fingerprint: yes Warning: Permanently added '[192.168.239.135]:7744' (ED25519) to the list of known hosts. jerry@192.168.239.135's password: Permission denied, please try again.