Python Forum
Trying to Scan multiple IPs with python-nmap
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to Scan multiple IPs with python-nmap
#2
It is in the error message.

scan() requires a string for the hosts not a list.
Try:
ns.scan("192.168.1.1 4.2.2.4", port_input, '-sV')
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
RE: Trying to Scan multiple IPs with python-nmap - by wavic - Apr-07-2017, 12:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  scapy wifi scan to get payload \ data korenron 0 2,227 Nov-16-2021, 01:47 PM
Last Post: korenron
  can I set scan interval for scapy? korenron 0 2,402 Dec-31-2020, 01:43 PM
Last Post: korenron
  nmap sagpal 2 2,527 Jun-04-2020, 05:20 PM
Last Post: sagpal
  FIN scan with scapy peterkl 0 5,434 Feb-13-2017, 09:10 PM
Last Post: peterkl

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020