Skip to content

Commit 33fcdea

Browse files
Improvements
1 parent 20c7d30 commit 33fcdea

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/source/advanced/children.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,14 @@ the file within the host target that contains the child target:
3737
3838
$ target-query /path/to/target -f hostname --child /virtualmachines/host123.vmcx
3939
40+
Alternatively you can use the index number of the child:
4041

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:
4248

4349
.. code-block:: console
4450
@@ -89,7 +95,10 @@ available:
8995
9096
supported_children = child_plugins()
9197
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
9399
``list_children()`` method. Use the ``__type__`` attribute to specify the type of the child plugin (i.e. "wsl").
94100

101+
.. seealso::
102+
103+
The :class:`HyperV <dissect.target.plugins.child.hyperv>` child plugin is a good example to get started!
95104

0 commit comments

Comments
 (0)