Linux Gather Saved mount.cifs/mount.smbfs Credentials
Post Module to obtain credentials saved for mount.cifs/mount.smbfs in /etc/fstab on a Linux system.
Rank
- Normal
Authors
- Jon Hart < jhart [at] spoofed.org >
Development
Similar Modules
- post/linux/gather/checkvm
- post/linux/gather/enum_configs
- post/linux/gather/enum_network
- post/linux/gather/enum_protections
- post/linux/gather/enum_system
- post/linux/gather/enum_users_history
- post/linux/gather/enum_xchat
- post/linux/gather/hashdump
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use post/linux/gather/mount_cifs_creds
msf post(mount_cifs_creds) > set SESSION [INTEGER]
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use post/linux/gather/mount_cifs_creds
msf post(mount_cifs_creds) > set SESSION [INTEGER]
Module Options
| SESSION | The session to run this module on. |
| VERBOSE | Enable detailed status messages |
| WORKSPACE | Specify the workspace for this module |
