Skip to content

Commit e8d042d

Browse files
committed
Fix import problem and return on error
1 parent 1f06f55 commit e8d042d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nxc/modules/procdump.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# v0.4
44

55
import re
6-
import pypykatz
6+
from pypykatz.pypykatz import pypykatz
77
from nxc.helpers.bloodhound import add_user_bh
88
from nxc.helpers.misc import CATEGORY
99
from nxc.paths import DATA_PATH, TMP_PATH
@@ -114,8 +114,8 @@ def on_admin_login(self, context, connection):
114114
try:
115115
pypy_parse = pypykatz.parse_minidump_external(dump)
116116
except Exception as e:
117-
pypy_parse = None
118117
context.log.fail(f"Error parsing minidump: {e}")
118+
return
119119

120120
ssps = [
121121
"msv_creds",

0 commit comments

Comments
 (0)