Skip to content

Commit 14d63b3

Browse files
committed
Merge pull request jobroche#6 from iamdbg/enum_shares_patch
Assign local variable 'os' before referencing
2 parents c65bee2 + 07dbb33 commit 14d63b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

credcrack.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def enum_shares(q, username, password, domain):
123123
try:
124124
while True:
125125
with lock:
126+
os = ""
126127
shares, endshares = [], []
127128
rhost = q.get()
128129

0 commit comments

Comments
 (0)