Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
Fixed pyherion issue when adding imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTruncer committed Jun 18, 2019
1 parent 114c9a7 commit ab5a199
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[2019-06-17]
Released.: 3.1.12
Fixed....: Pyherion including tabs in imports could cause syntax errors, tabs are now stripped only for imports

[2018-05-17]
Released.: 3.1.11
Modified.: Golang/meterpreter/* payloads have big fixed when injection via heap. Thanks to Carlos for pointing this out
Expand Down
2 changes: 1 addition & 1 deletion lib/common/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
sys.exit()

# Current version of Veil
veil_version = "3.1.11"
veil_version = "3.1.12"


def title_screen():
Expand Down
2 changes: 1 addition & 1 deletion tools/evasion/evasion_common/encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def pyherion(code):
for line in code.split("\n"):
if not line.startswith("#"): # ignore commented imports...
if "import" in line:
imports.append(line)
imports.append(line.strip('\t'))
else:
codebase.append(line)

Expand Down

0 comments on commit ab5a199

Please sign in to comment.