You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Pdb) p self.ports.values()
[[]]
(Pdb) self.reload()
(Pdb) p self.ports.values()
[[51350]]
Maybe something like this?
# If a user has exposed a port then wait for LISTEN socket to show up in netstatports=self._container.attrs["NetworkSettings"]["Ports"]
forport, listenersinports.items():
ifnotlisteners:
continue++ifportnotinself.ports:
++returnFalseport, proto=port.split("/")
assertprotoin ("tcp", "udp")
ifproto=="tcp"andportnotinself.get_open_tcp_ports():
returnFalseifproto=="udp"andportnotinself.get_open_udp_ports():
returnFalse
The text was updated successfully, but these errors were encountered:
PDB session
Maybe something like this?
The text was updated successfully, but these errors were encountered: