Describe the bug
password files stored in / seemed to work a few times but not anymore (this was installed from snap)
passwords located within or in other drives (/media//drive/file.txt" always dump a permissions issue
checked with chmod/chown nothing seems to work.
What did work for a short time was creating a symlink back to the path to the drive.
To Reproduce
Steps to reproduce the behavior i.e.:
Command: crackmapexec smb -u username -p /path/to/passwordfile
Resulted in:
in __init__ line 113 self.proto_flow()
snap connection.py 113/161
line 405 in connection.py in login
line 312 parse_credentials
with open(password,'r'...
PermissionError: Errno 13 Permission denied: '/path/to/passwordfile'
...
Expected behavior
Read the file!
Screenshots
N/A at this time.
Crackmapexec info
OS: Ubuntu 22.04
Version of CME 6.0.1
Installed from: snap
*** SUGGESTION: Is there an option for only successful logins?
Describe the bug password files stored in / seemed to work a few times but not anymore (this was installed from snap) passwords located within or in other drives (/media//drive/file.txt" always dump a permissions issue
checked with chmod/chown nothing seems to work.
What did work for a short time was creating a symlink back to the path to the drive.
To Reproduce Steps to reproduce the behavior i.e.: Command:
crackmapexec smb -u username -p /path/to/passwordfile
Resulted in:Expected behavior Read the file!
Screenshots N/A at this time.
Crackmapexec info