Skip to content

Commit

Permalink
fix weird issues with comments sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
KDot227 committed Jul 12, 2024
1 parent b6ee6b3 commit 8664c36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/util/obfuscation/obf_oneline.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def obfuscate_normal(self, line: str) -> Obfuscated_String:
final_string += f"{word} "
continue
if word.startswith("::"):
final_string += f"{word} "
continue
if word.startswith(":"):
final_string += f"{word} "
Expand Down Expand Up @@ -214,6 +215,7 @@ def obfuscate_simple(self, char_line: str) -> Obfuscated_String:
elif word.startswith("^") and not self.ignore_carrots:
final_string += f"{word} "
elif word.startswith("::"):
final_string += f"{word} "
pass
elif re.match(regex_bat, word):
final_string += f"{word} "
Expand Down

0 comments on commit 8664c36

Please sign in to comment.