6
Comments
  • 0
    Import socket as s
    Soc = s.socket(s.af_inet, s.sock_stream)

    Soc.connect_ex(('<remote address> , <port>))

    This script checks remote ports really handy if your sysadmin removes telnet on new boxes :)
Add Comment