Skip to content

Commit

Permalink
Fix named param in ifconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
moloch-- committed Apr 23, 2021
1 parent 3b12391 commit 4d63cc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/.vscode
/src/test.py
/src/test*.py

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
2 changes: 1 addition & 1 deletion src/sliver/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,7 @@ def ifconfig(self) -> sliver_pb2.Ifconfig:
:return: Protobuf ifconfig object
:rtype: sliver_pb2.Ifconfig
'''
return self._stub.Ifconfig(self._request(sliver_pb2.IfconfigReq(), timeout=self.timeout))
return self._stub.Ifconfig(self._request(sliver_pb2.IfconfigReq()), timeout=self.timeout)

def netstat(self, tcp: bool, udp: bool, ipv4: bool, ipv6: bool, listening=True) -> List[sliver_pb2.SockTabEntry]:
'''Get information about network connections on the remote system.
Expand Down

0 comments on commit 4d63cc4

Please sign in to comment.