Exemple #1
0
 def apply_stealth(executor, code):
     options = dict(windows=lambda c: obfuscate_ps1(c),
                    darwin=lambda c: obfuscate_bash(c),
                    linux=lambda c: obfuscate_bash(c))
     return options[executor](code)
Exemple #2
0
 def apply_stealth(executor, code):
     options = dict(psh=lambda c: obfuscate_ps1(c), bash=lambda c: obfuscate_bash(c))
     return options[executor](code)