Permalink
Browse files

Begin PEP8 refactor nsmscan

  • Loading branch information...
codingo committed Aug 24, 2017
1 parent 26ad2ed commit 3f6328e64e3a4e07c219ec38c663932f713f7984
Showing with 3 additions and 2 deletions.
  1. +3 −2 nsmscan.py
View
@@ -7,6 +7,7 @@
import nsmmongo
import nsmcouch
def massScan(platform):
yes_tag = ['y', 'Y']
no_tag = ['n', 'N']
@@ -83,11 +84,11 @@ def massScan(platform):
elif result[0] == 1:
print platform + " running but credentials required on " + target.rstrip() + "."
creds.append(target.rstrip()) #Future use
creds.append(target.rstrip()) # Future use
elif result[0] == 2:
print "Successful " + platform + " connection to " + target.rstrip() + " but error executing command."
commError.append(target.rstrip()) #Future use
commError.append(target.rstrip()) # Future use
elif result[0] == 3:
print "Couldn't connect to " + target.rstrip() + "."

0 comments on commit 3f6328e

Please sign in to comment.