MCPcopy Create free account
hub / github.com/HexHive/NASS / show_descendants

Method show_descendants

tools/gef.py:5060–5071  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5058 return
5059
5060 def show_descendants(self) -> None:
5061 info("Children Process Information")
5062 children = self.get_children_pids(gef.session.pid)
5063 if not children:
5064 gef_print("\tNo child process")
5065 return
5066
5067 for child_pid in children:
5068 state = self.get_state_of(child_pid)
5069 pid = state["Pid"]
5070 gef_print(f"\tPID {RIGHT_ARROW} {pid} (Name: '{self.get_process_path_of(pid)}', CmdLine: '{self.get_cmdline_of(pid)}')")
5071 return
5072
5073 def show_fds(self) -> None:
5074 pid = gef.session.pid

Callers 1

do_invokeMethod · 0.95

Calls 6

get_children_pidsMethod · 0.95
get_state_ofMethod · 0.95
get_process_path_ofMethod · 0.95
get_cmdline_ofMethod · 0.95
infoFunction · 0.85
gef_printFunction · 0.85

Tested by

no test coverage detected