基本介绍
在Metasploit Framework(MSF)中我们可以使用"set ExitOnSession false"让监听的端口继续保持监听,从而实现接受多个session的目的,同时可以使用"exploit -j -z"实现在后台监听,关于exploit的参数使用选项可以参考下面的内容:
msf6 exploit(multi/handler) > exploit -h
Usage: run [options] [RHOSTS]
Run the current exploit module
OPTIONS:
-e, --encoder <encoder> The payload encoder to use. If none is specified, ENCODER is used.
-f, --force-run Force the exploit to run regardless of the value of Mi