Sample test 2 of 3 · free, no account

OSCP (OSCP+) practice test 2

20 original questions in the style of the OffSec OSCP+ exam, one at a time. Check each answer as you go, or finish the test and review them all. There’s no timer.

Question 1 of 20Identifying vulnerabilities0 answered

A tester compares the responses in the exhibit. Which host name should be added to the application map as a separate site on 10.30.9.30?

Host-header and SNI comparison against 10.30.9.30
Candidate host names for 10.30.9.30:
H1  intranet.lab.example.org
H2  www.lab.example.org
H3  helpdesk.lab.example.org
H4  legacy.lab.example.org

Requests from kali-03 on 2026-11-12. Every certificate on 10.30.9.30:443 is issued by the lab CA (lab-root.pem) and covers *.lab.example.org and the address 10.30.9.30.
kali@kali-03:~$ W='%{http_code} %{size_download} %{redirect_url}\n'
kali@kali-03:~$ curl -s -o /dev/null -w "$W" http://10.30.9.30/
200 10918
kali@kali-03:~$ curl -s http://10.30.9.30/ | grep -o '<title>[^<]*'
<title>Staff sign-in
kali@kali-03:~$ curl -s -H 'Host: zq-none.lab.example.org' http://10.30.9.30/
<html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>Host: zq-none.lab.example.org</p></body></html>
kali@kali-03:~$ for h in zq-none intranet www helpdesk legacy; do printf '%-26s' "$h.lab.example.org"; curl -s -o /dev/null -w "$W" -H "Host: $h.lab.example.org" http://10.30.9.30/; done
zq-none.lab.example.org   404 122
intranet.lab.example.org  404 123
www.lab.example.org       200 10918
helpdesk.lab.example.org  404 123
legacy.lab.example.org    302 215 https://status.example.net/lab/
kali@kali-03:~$ curl -s --cacert lab-root.pem -o /dev/null -w "$W" https://10.30.9.30/
200 10918
kali@kali-03:~$ for h in zq-none intranet www helpdesk; do n=$h.lab.example.org; printf '%-26s' $n; curl -s --cacert lab-root.pem --resolve $n:443:10.30.9.30 -o p.html -w '%{http_code} %{size_download} ' https://$n/; grep -o '<title>[^<]*' p.html | cut -c8-; done
zq-none.lab.example.org   200 10918 Staff sign-in
intranet.lab.example.org  200 10918 Staff sign-in
www.lab.example.org       200 10918 Staff sign-in
helpdesk.lab.example.org  200 14522 Staff sign-in
kali@kali-03:~$ curl -s --cacert lab-root.pem --resolve legacy.lab.example.org:443:10.30.9.30 -o /dev/null -w "$W" https://legacy.lab.example.org/
302 215 https://status.example.net/lab/
Select one answer.

0 of 20 answered. Finish whenever you’re ready; unanswered questions count as incorrect.