CTF-related information
URL https://www.kali.org/tools/crackmapexec/
Pentesting Windows/Active Directory environments. From enumerating logged on users and spidering SMB shares to executing psexec style attacks, auto-injecting Mimikatz/Shellcode/DLL’s into memory using Powershell, dumping the NTDS.dit and more.
List Windows Shares of a given IP using guest access
cme smb 192.168.1.100 -u 'doesnotexist' -p '' --shares
Display images
Allows connecting to Windows SMB shares
Connect to the public share on a given IP (press enter when asked for password if there is no password)
smbclient \192.168.1.100\Public