Skip to content

Instantly share code, notes, and snippets.

View JburkeRSAC's full-sized avatar

Jesse V. Burke JburkeRSAC

View GitHub Profile
author__ = 'jburke@wapacklabs.com'
import wmi
c = wmi.WMI ()
for process in c.Win32_Process ():
#print process
print process.ProcessId, process.Name
import pythonwhois
import sys
def is_registered(site):
details = pythonwhois.get_whois(site)
return not details['raw'][0].startswith('No match for')
fileName = sys.argv[1]
lineList = [line.rstrip('\n') for line in open(fileName)]
for name in lineList: