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

Commit ab5a199

Browse files
committed
Fixed pyherion issue when adding imports
1 parent 114c9a7 commit ab5a199

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[2019-06-17]
2+
Released.: 3.1.12
3+
Fixed....: Pyherion including tabs in imports could cause syntax errors, tabs are now stripped only for imports
4+
15
[2018-05-17]
26
Released.: 3.1.11
37
Modified.: Golang/meterpreter/* payloads have big fixed when injection via heap. Thanks to Carlos for pointing this out

lib/common/messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
sys.exit()
1616

1717
# Current version of Veil
18-
veil_version = "3.1.11"
18+
veil_version = "3.1.12"
1919

2020

2121
def title_screen():

tools/evasion/evasion_common/encryption.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def pyherion(code):
201201
for line in code.split("\n"):
202202
if not line.startswith("#"): # ignore commented imports...
203203
if "import" in line:
204-
imports.append(line)
204+
imports.append(line.strip('\t'))
205205
else:
206206
codebase.append(line)
207207

0 commit comments

Comments
 (0)