Skip to content

Commit 675ace8

Browse files
Update smbclient.py (#1933)
Fix error in self.outputfile access
1 parent 7078e93 commit 675ace8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impacket/examples/smbclient.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ def do_cat(self, filename):
614614
finally:
615615
fh.close()
616616
else:
617-
if self.outpufile:
617+
if self.outputfile:
618618
f.write(error_msg + '\n')
619619
f.close()
620620
print(error_msg)

0 commit comments

Comments
 (0)