As the title suggests.....
Is there a way to do this in Kali, similar to \\remotecomputersname\C$ on a Windows Machine?
Rab.
As the title suggests.....
Is there a way to do this in Kali, similar to \\remotecomputersname\C$ on a Windows Machine?
Rab.
Yeah, there are a bunch of different ways. Are you specifically trying to access a Windows share?
OSCP
--
If it smells like a duck, walks like a duck and quacks like a duck; then it probably is a duck.
This can be accomplished by the good ole' mount tool e.g.
Or using the smbclient tool (not sure what the syntax of using that is, but I imagine it's much the same).Code:mount //remote/path /mount/point
OSCP
--
If it smells like a duck, walks like a duck and quacks like a duck; then it probably is a duck.
via console you can mount your windows share like:Code:apt-get install cifs-utils
also working with a scriptCode:mount -t cifs //<SERVERNAME or IP>/<FILE SHARE>/ /<MOUNT POINT> -o username=<DOMAIN or WORKGROUP>/<USERNAME> EXAMPLE: mount -t cifs //filer/c$/ /media/filer-c/ -o username=session.int/user1
save it as you want --> EXAMPLE mount-filerCode:#!/bin/bash mount -t cifs //filer/c$/ /media/filer-c/ -o username=session.int/user1
enjoyCode:chmod +x mount-filer
double post
Last edited by tr00n3r; 2014-02-16 at 14:52. Reason: double post
I used this method for a long time now. But it's broken since the update to Kali 1.1.0
Well, following Kali Network Service Policies on docs.kali.org I get winbind in /usr/sbin/update-rc.d enabled by default, but still the error "mount error(13): Permission denied" from mount.cifs.
I can whatsoever access the share with "smb://server/share" via the Places, but I'd like having control on the terminal.
Anybody any clues?
Last edited by db5fx; 2015-02-17 at 08:59. Reason: typos
I finally found a solution for my problem. Somehow the authentication in the kernel module has changed. It is necessary to tell explicitly the security mode:
Just try a bit harder ...Code:mount -t cifs -o user=me,pass=mypass,sec=ntlm //server/share /mnt/point