hackthebox openadmin writeup / walkthrough

Starting with nmap Two ports are open. One is for web ie 80 and another is for SSH ie 22 Lets see what we have in port 80 Apache default page is what we get here. Nothing interesting. We can however run dir buster here. I found few other directory. You can run dirb as […]

Starting with nmap We have only port 8080 open with Tomcat Click on Manager App Use default credentials tomcat/s3cret We will create a war file and try to get a shell Upload it from manager and access it We will get the shell We can now read the flag

Starting with nmap port 80 shows just a picture named merlin.jpg. Possibly a user in the box. Doing gobuster and scanning with .aspx extension we get two things of interest. First transfer.aspx where we can upload files and second UploadedFiles where we get to access the files we uploaded. Doing enumeration, we find that we […]

Starting with nmap Port 80 is HFS, If we try to login then we will get an unauthorized error. Following is the screenshot. Using searchploit to find if there is any vulnerabilities related to HFS Cloning one with Remote Command Execution There are two things we should do before running above python script. First is […]

Starting with nmap Checking the smb We can check further in Share and Users. Searching if any vulnerability is present using searchploit EternalBlue seems to be interesting. There is a Github repo to exploit this automatically. Let’s clone the repo Then follow the README and generate shellcode This will make sc_all.bin shellcode. Now run the […]

Starting with nmap smb port 445 is open and the machine is XP….legacy Searching on the internet, xp is affected by ms08-067, CVE-2008-4250 Further python exploit is available for this. We can download it from here. First of all we need to change the shellcode in the script. For this we are going to generate […]

Starting with masscan Two web ports are open with SSL and without SSL. Lets explore without SSL (port 80) first. To start with we will try gobuster We found one directory /department. Browse it Hmm a login page, we can try few login details like admin/admin, guest/guest, admin/password, etc. But in this case none worked. […]