Skip to content

Commit 592793c

Browse files
committed
Add missing requires_admin
1 parent cce5c32 commit 592793c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

nxc/protocols/smb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,7 @@ def shares(self):
834834
self.logger.highlight(f"{name:<15} {','.join(perms):<15} {remark}")
835835
return permissions
836836

837+
@requires_admin
837838
def interfaces(self):
838839
"""
839840
Retrieve the list of network interfaces info (Name, IP Address, Subnet Mask, Default Gateway) from remote Windows registry'

0 commit comments

Comments
 (0)