Beispiel #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)
Beispiel #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)