parent
0821a8d99d
commit
0142a68cb3
|
@ -39,7 +39,7 @@ class CMEModule:
|
||||||
connection.conn.listPath('C$', '\\Windows\\System32\\inetsrv\\appcmd.exe')
|
connection.conn.listPath('C$', '\\Windows\\System32\\inetsrv\\appcmd.exe')
|
||||||
self.execute_appcmd(context, connection)
|
self.execute_appcmd(context, connection)
|
||||||
except:
|
except:
|
||||||
context.log.error("appcmd.exe not found, this module is not applicable.")
|
context.log.fail("appcmd.exe not found, this module is not applicable.")
|
||||||
return
|
return
|
||||||
|
|
||||||
def execute_appcmd(self, context, connection):
|
def execute_appcmd(self, context, connection):
|
||||||
|
@ -80,4 +80,4 @@ class CMEModule:
|
||||||
apppool_name = ""
|
apppool_name = ""
|
||||||
|
|
||||||
if not credentials_set:
|
if not credentials_set:
|
||||||
context.log.error("No credentials found :( ")
|
context.log.fail("No credentials found :( ")
|
||||||
|
|
Loading…
Reference in New Issue