Live testing

This commit is contained in:
Anton Hvornum 2019-04-11 23:11:53 +02:00
parent a2731924cb
commit 5f51f1afad
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ class sys_command():
lower = output.lower()
if 'triggers' in self.opts:
for trigger in list(self.opts['triggers']):
print(trigger.lower(), 'vs', lower)
if trigger.lower() in lower:
if 'debug' in self.opts and self.opts['debug']:
print('[N] Writing to subsystem: {}'.format(self.opts['triggers'][trigger]))