I made some updates to the script you provided before: https://gist.github.com/stevennic22/2cd69cbb86bbdff38413c3633a7141c2
I was having issues with regards to retrieving information from a Windows host (it would only reply with partial information), so I moved things to the telnetlib module...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.