Skip to content

Th3R3p0/python-netstat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python module for returning netstat like results

import netstat

netstat.netstat()
netstat.only_listening()

There is also a graphing tool that can graph inbound and outbound connections

# python graph-netstat.py

After running the above command, look for the nmap.png file.

Other Notes

Currently the formatting for IPv6 addresses is not displaying correctly

The original source code is from http://voorloopnul.com/blog/a-python-netstat-in-less-than-100-lines-of-code/

Modifications have been made to add support for TCP6 and filtering. More to be added in the future

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages