msf auxiliary(udp_sweep) > spool log.txt # 启用spool,将输出信息写入到log.txt [*] Spooling to file log.txt... msf auxiliary(udp_sweep) > exploit [*] Sending 13 probes to 172.16.80.0->172.16.80.255 (256 hosts) [*] Discovered Portmap on 172.16.80.2:111 (100000 v2 TCP(111), 100000 v2 UDP(111), 100005 v3 UDP(1058), 100005 v2 UDP(1058), 100005 v1 UDP(1058), 100005 v3 TCP(1058), 100005 v2 TCP(1058), 100005 v1 TCP(1058), 100003 v3 UDP(2049), 100003 v3 TCP(2049)) ... ... msf auxiliary(udp_sweep) > spool off # 停止spool [*] Spooling is now disabled
这样,便会生成一个log.txt,保存运行run/exploit输出的信息,然后就可以喝咖啡去了 ^_^
转载于:https://www.cnblogs.com/Hi-blog/p/10419337.html