Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/common/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ def randomize_capitalization(data):

def obfuscate_call_home_address(data):
"""
Poowershell script to base64 encode variable contents and execute on command as if clear text in powershell
opportunity here to hid call home via this method. TODO Get past AMSI here
"""
return '$('+randomize_capitalization('[Text.Encoding]::Unicode.GetString([Convert]::FromBase64String(\'') + enc_powershell(data) +'\')))'
return data

def chunks(l, n):
"""
Expand Down