Teamviewer shares the clipboard with anyone remote controlling it. And it will synconSo if you ask someone to remote control your PC or a 3rd PC you are remote controlling as well, the clipboard will then be shared across all those PC’s.
Then use social engineering to get them to copy a password into their clipboard, and you will be able to paste the password into notepad.