File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,14 @@ the file within the host target that contains the child target:
37
37
38
38
$ target-query /path/to/target -f hostname --child /virtualmachines/host123.vmcx
39
39
40
+ Alternatively you can use the index number of the child:
40
41
41
- When using ``target-shell `` you can access the child target by using the ``enter `` command:
42
+ .. code-block :: console
43
+
44
+ $ target-query /path/to/target -f hostname --child 1
45
+
46
+ When using :doc: `target-shell </tools/target-shell >` you can access the child target by using the ``enter `` command
47
+ on the file that contains the child target:
42
48
43
49
.. code-block :: console
44
50
@@ -89,7 +95,10 @@ available:
89
95
90
96
supported_children = child_plugins()
91
97
92
- To craft your own child plugin, subclass the `` ChildTargetPlugin ` ` and implement the
98
+ To craft your own child plugin, subclass the :class: ` ChildTargetPlugin <dissect.target.plugin.ChildTargetPlugin> ` and implement the
93
99
``list_children() `` method. Use the ``__type__ `` attribute to specify the type of the child plugin (i.e. "wsl").
94
100
101
+ .. seealso ::
102
+
103
+ The :class: `HyperV <dissect.target.plugins.child.hyperv> ` child plugin is a good example to get started!
95
104
You can’t perform that action at this time.
0 commit comments