OSCP PREPROTİONS – HTB  FriendZone

FriendZone machine is a vulnerable machine with Linux operating system among Retired machines. We are expected to obtain user and root flags using these vulnerabilities.We perform a network scan on the target machine. Classic Scan Full port scan 21/tcp ftp, 22/tcp ssh, 53/tcp domain, 80/tcp http, 139/tcp netbios-ssn, 443/tcp https, 445/tcp microsoft-ds, 53/udp domain, 137/udp …

OSCP PREPROTİONS – HTB Writeup

The Writeup machine is a retired Linux operating system machine. By hacking this machine, we are asked for user and root flags.
General Machine Information:
It contains a CMS and a sql injection vulnerability that is used to obtain a user credential. Then user is found to be in the non-default group that provides a write access. By providing hijacking, privilege escalation is passed to root.
Machine solving
First we scan for open port information and versions to recognize the target machine