Hello,
I am working on Windows Fundamentals and am stuck on the NTFS vs. Share Permissions module.
After disabling the public firewall in my Windows 10 target box, the next instruction is to create a mount point on the Desktop on our Pwnbox with the command:
sudo mount -t cifs -o username=htb-student,password=Academy_WinFun! //ipaddoftarget/"Company Data" /home/user/Desktop/
I replace ipaddoftarget with the Windows instance’s ip, Company Data is the name of the shared folder. I installed the CIFS utilities in case that was the issue.
The errors I encounter are :
Couldn't chdir to /home/user/Desktop: No such file or directory
I tried changing that part of the command to /Users/htb-student/Desktop (the path to the shared “Company Data folder” ) and get the same error.
I tried leaving the path off and using:
sudo mount -t cifs -o username=htb-student,password=Academy_WinFun! //ipaddoftarget/"Company Data"
and get the error
mountL //ip/Company DataL can't find in /etc/fstab
Any thoughts, suggestions, or hints are much appreciated! (:
Thank you