def run_plugin( plugin ):
start = time.time()
print '[-] Start {}'.format( plugin[1] )
with open( devnull, 'w' ) as FNULL:
subprocess.call( plugin, stdout=FNULL )
#end = '[+] Ends {0:<20}: {:.2f}s'.format( plugin[1], time.time() - start )
end = '{:.2f}s'.format( time.time() - start )
print (Fore.WHITE + '[+]') , 'Ends {:25}--> {}'.format( plugin[1], end )
return
评论列表
文章目录