The HTTP Connection monitoring tool, displays the http connections on a Windows system and prints it to the output. The script is developed with Python and netstat.
Python source code
import sys
import os
import time
a=os.popen(‘netstat -b | find “http”‘).read()
print ” \http connections “,a
input(‘Press ENTER to exit’)
Code output
Learn to make custom network tools and scripts with our video course – Click Here