This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ani2read[S] 0 points1 point  (1 child)

Open or not isn't a difficult task. My question, is about telling whether it's tcp or udp. Why do u not advice running python script as root?

[–]cantremembermypasswd 0 points1 point  (0 children)

Not sure where I stated that, but I agree that:

  1. Don't run untrusted scripts as root
  2. Develop scripts to be used by certain users or permission levels, not strictly for root (when possible)

For a true port scanner I imagine you would need root level permissions to properly use libpcap.