/pyping

Simple Python implementation to ping hosts that support ICMP and TCP protocols

Primary LanguagePython

PyPing a simple Ping Python

How to use?

install dependencies for support this module: pip install -r requirements.txt

and than, run file setup.py python setup.py install

Note!!

You need as admin or root to running this module

  • You can make things as you wish
from pyping import pyping

pyping.ping("www.google.com", count=5, protocol="icmp")

Run script

Screenshot 1

Result capture with Netsniff-ng

Screenshot 2