refactor: reference ascii_lowercase directly

main
Marshall Hallenbeck 2023-10-15 06:30:29 -04:00
parent 3e056659d8
commit cd3f3e9347
1 changed files with 1 additions and 2 deletions

View File

@ -322,8 +322,7 @@ def invoke_obfuscation(script_string):
-------
str: The obfuscated payload for execution.
"""
alphabet = string.ascii_lowercase
random_alphabet = "".join(random.choice([i.upper(), i]) for i in alphabet)
random_alphabet = "".join(random.choice([i.upper(), i]) for i in ascii_lowercase)
random_delimiters = [
"_",
"-",