Lame HTB Machine Walkthrough | Penetration Testing | Ethical Hacking
Lame HTB Machine Walkthrough | Penetration Testing | Ethical Hacking
So we start it with the port scan with NMAP, and we find 5 ports open.
Here we see port 139,45 is open that is smb port. So we use smb client to check
Here we see it is login by anonymous and the tmp file is also present. Now we try to access smb with smb client in tmp folder
Now on the other side, we open the listener with Nc
Then we can try to access directly root shell directly with the smb
So we use logon to direct login with the root
Finally, we get the root access.