Skip to content

Commit

Permalink
Merge pull request ysrc#211 from 1oca1h0st/master
Browse files Browse the repository at this point in the history
修复使用masscan扫描时存活探测开关失效的BUG
  • Loading branch information
ywolf authored Jun 13, 2019
2 parents edb0d4c + 2ea88d3 commit 96533c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nascan/lib/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ def run(self):
if self.mode == 1:
masscan_path = self.config_ini['Masscan'].split('|')[2]
masscan_rate = self.config_ini['Masscan'].split('|')[1]
ip_list = self.get_ac_ip(ip_list)
# 如果用户在前台关闭了ICMP存活探测则进行全IP段扫描
if self.icmp:
ip_list = self.get_ac_ip(ip_list)
self.masscan_ac[0] = 1
# 如果安装了Masscan即使用Masscan进行全端口扫描
AC_PORT_LIST = self.masscan(
Expand Down

0 comments on commit 96533c3

Please sign in to comment.