HTB: Crocodile Walkthrough
Writeup — Crocodile By Araiz Naqvi Prepared By Araiz Naqvi . Overview - Difficulty : Easy - Operating System: Linux - Objective : Find a way to break in. - Tools Used : nmap , FTP , curl , gobuster I tend to start enumerating as much basic information as I need before dwelving deeper. Performing Nmap Scans As usual the very first step is to figure out what ports and hence what services are actually open. This will set the stage for how we will try to break in. Let’s start with a stealth scan with disabled arp pings to figure out what ports are open: It is clear that the following ports are open: - 21 ~ FTP - 80 ~ HTTP Now, let’s move further and scan for service versions and run the default scripts on these three ports: From this I interpreted the following information: - FTP runs on 21 exposing a ProFTPD server which allows for anonymous login - This FTP server is also giving unrestricted access to two what seem to be important files holding credentials. - HTTP runs o...