尝试对 ip 列表进行 nmap 扫描。它不会通过带有 $ 的列表

  • 本文关键字:列表 ip 扫描 nmap shell kali-linux
  • 更新时间 :
  • 英文 :


请帮忙,我是新手。任何帮助或参考,我可以得到帮助是非常感激。不应该用iplist中的ip替换$吗?

for ip in $(cat iplist.txt); do sudo nmap -sS -p 80 -T4 $ip & done                                                                               
12 ⚙
[14] 37884
[15] 37885
[16] 37886
[17] 37887
[14]  + suspended (tty output)  sudo nmap -sS -p 80 -T4 $ip
[18] 37888
[19] 37889
                                                                                        
[18]  + suspended (tty output)  sudo nmap -sS -p 80 -T4 $ip
[19]  + suspended (tty output)  sudo nmap -sS -p 80 -T4 $ip
[15]  + suspended (tty output)  sudo nmap -sS -p 80 -T4 $ip
[16]  + suspended (tty output)  sudo nmap -sS -p 80 -T4 $ip
[17]  + suspended (tty output)  sudo nmap -sS -p 80 -T4 $ip

不确定您的&在那里做什么。你可能想用;代替它。所以它是-for ip in $(cat iplist.txt); do sudo nmap -sS -p 80 -T4 $ip; done

最新更新