Skip to content
Permalink
Browse files

Update PowerLessShell.py

  • Loading branch information...
Mr-Un1k0d3r committed May 13, 2019
1 parent 0973650 commit 548b737c58d06b83805e712b50ac41eadd90982a
Showing with 2 additions and 2 deletions.
  1. +2 −2 PowerLessShell.py
@@ -193,8 +193,8 @@ def Encrypt(self, plaintext, key):
outfile = gen.capture_input("Path for the generated MsBuild out file", 2)
cipher = base64.b64encode(rc4.Encrypt(data, key))

pattern1 = Generator.gen_pattern("#!@$%?&")
pattern2 = Generator.gen_pattern(",.<>)(*[]{}")
pattern1 = Generator.gen_pattern("#!@$%?&-~")
pattern2 = Generator.gen_pattern(",.<>)(*[]{}`")
cipher = cipher.replace("m", pattern1).replace("V", pattern2)

output = gen.get_output()

0 comments on commit 548b737

Please sign in to comment.
You can’t perform that action at this time.