Skip to content

Commit

Permalink
Disabling IPFuscation for Powershell payloads
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Marques (zc00l) committed Aug 11, 2018
1 parent c0b7f97 commit eaafbfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def get(self):
Apply encoding, in the correct order, of course.
"""
# Obfuscate IP and port if set in args
if self.args.ipfuscate:
if self.args.ipfuscate and self.lang != "powershell": # Windows shells doesn't support ipfuscation
self.host = ipfuscate(self.host, self.args.obfuscate_small)
self.port = obfuscate_port(self.port, self.args.obfuscate_small, self.lang)

Expand Down

0 comments on commit eaafbfd

Please sign in to comment.