Accessing
----------------------------------------------------------------------------------------------------------------
>>>python3 /usr/share/doc/python3-impacket/examples/smbclient.py --no-pass <our_user>@<target_IP>
→ ?
→ shares
→ use <share_name>
→ ls
----------------------------------------------------------------------------------------------------------------
>>> smbclient //<target_IP>/<share_name>
>>> smbclient -U username //<target_IP>/<share_name>
>>> smbclient -U <WORKGROUP>/<username> //<target_IP>/<share_name>
>>> smbclient //$IP/<share_name> -U'username'%'password'
----------------------------------------------------------------------------------------------------------------
==================windows :
>>> net use \\$ip\IPC$ "" /u:"" [ windows ke liye ]
Last updated