diff --git a/HTTPy.py b/HTTPy.py index 5406b9b..08a87a9 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -15,23 +15,23 @@ running = 1 #URL https://www.whois.com/whois/benjamyn-testing.com #class df-block-raw -def iterate(inArray): - count = 0 - while count != len(inArray) - 1: - print count, inArray[count] - count = count + 1 +# def iterate(inArray): +# count = 0 +# while count != len(inArray) - 1: +# print count, inArray[count] +# count = count + 1 -def iterateDig(inArray, rec): +def iterate(inArray, pre): count = 0 while count != len(inArray) - 1: - print rec, inArray[count] + print pre, inArray[count] count = count + 1 def whois(inDomain): lookup = subprocess.check_output(["whois", inDomain]) print "========================================================" test = lookup.split("\n") - iterate(test) + iterate(test, "") def dig(inDomain, record): dig = subprocess.check_output(["dig", record, "+short", inDomain]) diff --git a/TODO b/TODO index f663253..95ed7cf 100644 --- a/TODO +++ b/TODO @@ -6,7 +6,7 @@ #TODO: Add the ability to use the command line args to input the domain name -#TODO: Add Linux superiority mode :D +#DONE: Add Linux superiority mode :D, Removed win compat entirely #TODO: Add shell after lookup