Results 1 to 8 of 8

Thread: Accessing Computers/Devices on a Network from Kali

  1. #1

    Accessing Computers/Devices on a Network from Kali

    As the title suggests.....

    Is there a way to do this in Kali, similar to \\remotecomputersname\C$ on a Windows Machine?

    Rab.

  2. #2
    Join Date
    2013-Mar
    Location
    http://rastamouse.me
    Posts
    86
    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.

  3. #3
    Quote Originally Posted by rastamouse View Post
    Yeah, there are a bunch of different ways. Are you specifically trying to access a Windows share?
    Aye, it is for a Windows share.

    Rab.
    Last edited by flyinghaggis; 2014-02-16 at 03:56.

  4. #4
    Join Date
    2013-Mar
    Location
    http://rastamouse.me
    Posts
    86
    This can be accomplished by the good ole' mount tool e.g.
    Code:
    mount //remote/path /mount/point
    Or using the smbclient tool (not sure what the syntax of using that is, but I imagine it's much the same).
    OSCP
    --
    If it smells like a duck, walks like a duck and quacks like a duck; then it probably is a duck.

  5. #5
    Code:
    apt-get install cifs-utils
    via console you can mount your windows share like:
    Code:
    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
    also working with a script
    Code:
    #!/bin/bash
    mount -t cifs //filer/c$/ /media/filer-c/ -o username=session.int/user1
    save it as you want --> EXAMPLE mount-filer

    Code:
    chmod +x mount-filer
    enjoy

  6. #6
    double post
    Last edited by tr00n3r; 2014-02-16 at 14:52. Reason: double post

  7. #7
    Join Date
    2013-Sep
    Posts
    3

    Exclamation

    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

  8. #8
    Join Date
    2013-Sep
    Posts
    3

    Lightbulb

    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:
    Code:
    mount -t cifs -o user=me,pass=mypass,sec=ntlm //server/share /mnt/point
    Just try a bit harder ...

Similar Threads

  1. no network devices available
    By justin0501 in forum General Archive
    Replies: 0
    Last Post: 2020-03-08, 16:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •