This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
author__ = 'jburke@wapacklabs.com' | |
import wmi | |
c = wmi.WMI () | |
for process in c.Win32_Process (): | |
#print process | |
print process.ProcessId, process.Name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
OlderNewer