$ rustscan --accessible -a 10.129.139.79 --range 1-65535 --ulimit 5000 -- -sT -A -n -oN ports -Pn PORT STATE SERVICE REASON VERSION 22/tcp open ssh syn-ack OpenSSH 8.2p1 Ubuntu 4ubuntu0.2 (Ubuntu Linux; protocol 2.0) 443/tcp open ssl/http syn-ack nginx 1.18.0 (Ubuntu) | http-methods: |_ Supported Methods: OPTIONS GET HEAD POST |_http-server-header: nginx/1.18.0 (Ubuntu) |_http-title: Seal Market | ssl-cert: Subject: commonName=seal.htb/organizationName=Seal Pvt Ltd/stateOrProvinceName=London/countryName=UK/organizationalUnitName=Infra/localityName=Hackney/emailAddress=admin@seal.htb | Issuer: commonName=seal.htb/organizationName=Seal Pvt Ltd/stateOrProvinceName=London/countryName=UK/organizationalUnitName=Infra/localityName=hackney/emailAddress=admin@seal.htb | Public Key type: rsa | Public Key bits: 2048 | Signature Algorithm: sha256WithRSAEncryption 8080/tcp open http-proxy syn-ack | fingerprint-strings: | GetRequest: | HTTP/1.1 401 Unauthorized | Date: Mon, 12 Jul 2021 07:21:47 GMT | Set-Cookie: JSESSIONID=node01v4b0lt1pbivy1nsaj4blloo540.node0; Path=/; HttpOnly | Expires: Thu, 01 Jan 1970 00:00:00 GMT | Content-Type: text/html;charset=utf-8 | Content-Length: 0 | http-auth: | HTTP/1.1 401 Unauthorized\x0D |_ Server returned status 401 but no WWW-Authenticate header. | http-methods: |_ Supported Methods: GET HEAD POST OPTIONS |_http-title: Site doesn't have a title (text/html;charset=utf-8).
443 Port
枚举443端口的目录与文件
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
$ rustbuster dir -u https://seal.htb/ -f -e php,txt,json,xml -w /usr/share/seclists/Discovery/Web-Content/directory-list-2.3-medium.txt -t 64 -S 404 -k GET 302 Found https://seal.htb/images => http://seal.htb/images/ GET 200 OK https://seal.htb/ GET 302 Found https://seal.htb/admin => http://seal.htb/admin/ GET 302 Found https://seal.htb/icon => http://seal.htb/icon/ GET 302 Found https://seal.htb/css => http://seal.htb/css/ GET 302 Found https://seal.htb/js => http://seal.htb/js/ GET 302 Found https://seal.htb/manager => http://seal.htb/manager/ GET 302 Found https://seal.htb/manager/ => http://seal.htb/manager/html
luis@seal:~$ sudo -l Matching Defaults entries for luis on seal: env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin
User luis may run the following commands on seal: (ALL) NOPASSWD: /usr/bin/ansible-playbook *