Metasploit 是一个网络安全相关工具,提供了主机安全漏洞检测功能。
示例:
wget https://rpm.metasploit.com/metasploit-omnibus/pkg/metasploit-framework-6.4.8%2B20240504102729~1rapid7-1.el6.x86_64.rpm
rpm -ivh rpm包名称
示例:
rpm -ivh metasploit-framework-6.4.8+20240504102729~1rapid7-1.el6.x86_64.rpm
msfconsole --version
示例:
wget https://apt.metasploit.com/pool/main/m/metasploit-framework/metasploit-framework_6.4.8%2B20240504102628~1rapid7-1_amd64.deb
apt install deb包名称
示例:
apt install metasploit-framework_6.4.8+20240504102628~1rapid7-1_amd64.deb
msfconsole --version
yum install -y metasploit
zypper install -y metasploit
msfconsole --help
msfconsole --version
msfconsole
Metasploit tip: After running db_nmap, be sure to check out the result
of hosts and services
.,,. .
.\$$$$$L..,,==aaccaacc%#s$b. d8, d8P
d8P #$$$$$$$$$$$$$$$$$$$$$$$$$$$b. `BP d888888p
d888888P '7$$$$\""""''^^`` .7$$$|D*"'``` ?88'
d8bd8b.d8p d8888b ?88' d888b8b _.os#$|8*"` d8P ?8b 88P
88P`?P'?P d8b_,dP 88P d8P' ?88 .oaS###S*"` d8P d8888b $whi?88b 88b
d88 d8 ?8 88b 88b 88b ,88b .osS$$$$*" ?88,.d88b, d88 d8P' ?88 88P `?8b
d88' d88b 8b`?8888P'`?8b`?88P'.aS$$$$Q*"` `?88' ?88 ?88 88b d88 d88
.a#$$$$$$"` 88b d8P 88b`?8888P'
,s$$$$$$$"` 888888P' 88n _.,,,ass;:
.a$$$$$$$P` d88P' .,.ass%#S$$$$$$$$$$$$$$'
.a$###$$$P` _.,,-aqsc#SS$$$$$$$$$$$$$$$$$$$$$$$$$$'
,a$$###$$P` _.,-ass#S$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$####SSSS'
.a$$$$$$$$$$SSS$$$$$$$$$$$$$$$$$$$$$$$$$$$$SS##==--""''^^/$$$$$$'
_______________________________________________________________ ,&$$$$$$'_____
ll&&$$$$'
.;;lll&&&&'
...;;lllll&'
......;;;llll;;;....
` ......;;;;... . .
=[ metasploit v6.4.8-dev- ]
+ -- --=[ 2418 exploits - 1246 auxiliary - 423 post ]
+ -- --=[ 1465 payloads - 47 encoders - 11 nops ]
+ -- --=[ 9 evasion ]
Metasploit Documentation: https://docs.metasploit.com/
msf6 >
help
version
show options
history
exit
quit
search [关键字]
示例:
search arp
use [模块名称]
示例:
use arp_swee
set rhosts [主机地址]
示例:
set rhosts 192.168.10.100
set threads [线程数]
示例:
set threads 10
run