MCPcopy Index your code
hub / github.com/secdev/scapy / _require_share

Method _require_share

scapy/layers/smbclient.py:1253–1257  ·  view source on GitHub ↗
(self, silent=False)

Source from the content-addressed store, hash-verified

1251 self.smbsock.close()
1252
1253 def _require_share(self, silent=False):
1254 if self.current_tree is None:
1255 if not silent:
1256 print("No share selected ! Try 'shares' then 'use'.")
1257 return True
1258
1259 def collapse_path(self, path):
1260 # the amount of pathlib.wtf you need to do to resolve .. on all platforms

Callers 14

lsMethod · 0.95
ls_completeMethod · 0.95
cdMethod · 0.95
cd_completeMethod · 0.95
getMethod · 0.95
get_completeMethod · 0.95
catMethod · 0.95
cat_completeMethod · 0.95
putMethod · 0.95
rmMethod · 0.95
rm_completeMethod · 0.95
watchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected