Skip to content

Commit ffb44f6

Browse files
committed
docs: better structure
1 parent 18346e2 commit ffb44f6

File tree

7 files changed

+13
-38
lines changed

7 files changed

+13
-38
lines changed

docs/introduction.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,3 @@ These areas are moon-shot plans to explore in the future in case kernelXDK deeme
7979
* Syzkaller-integration: generate exploits automatically from crashes.
8080

8181
* Windows, macOS support.
82-
83-
# Components
84-
85-
```{toctree}
86-
:maxdepth: 1
87-
88-
libxdk
89-
kxdb_database
90-
kernel_image_tools
91-
gadget_tools
92-
```
File renamed without changes.

docs/src/index.rst

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,32 +23,23 @@ Key Features and Benefits
2323
* **Designed for Broad Support**: ``kernelXDK`` is engineered with the capability to support a wide range of kernel exploitation scenarios and environments.
2424

2525

26-
About
27-
===============
28-
2926
.. toctree::
3027
:maxdepth: 2
3128
:caption: About
3229

33-
about/index
34-
35-
Installation
36-
============
37-
38-
.. toctree::
39-
:maxdepth: 2
40-
:caption: Setup
41-
42-
installation/index
30+
about/introduction
31+
about/kxdb_database
4332

4433
.. toctree::
4534
:maxdepth: 2
4635
:caption: libxdk
4736

37+
libxdk/README
38+
libxdk/how_to_get_started
4839
libxdk/api
4940

5041
.. toctree::
51-
:maxdepth: 2
42+
:maxdepth: 1
5243
:caption: Commandline Tools
5344

5445
commandline_tools/index
@@ -58,10 +49,3 @@ Installation
5849
or have suggestions, please open an issue on our `GitHub repository`_.
5950

6051
.. _GitHub repository: https://github.com/google/kernel-research
61-
62-
Indices and tables
63-
==================
64-
65-
* :ref:`genindex`
66-
* :ref:`modindex`
67-
* :ref:`search`
File renamed without changes.

docs/src/libxdk/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
API Reference
2-
======================
2+
=============
33

44
.. toctree::
55
:maxdepth: 2
File renamed without changes.

libxdk/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
A work-in-progress Linux Kernel exploitation kit, which will contain the necessary building blocks for building exploits for the Linux kernel which can target various kernel versions:
1+
# What is libxdk?
22

3+
A work-in-progress Linux Kernel eXploitation Development Kit library, which will contain the necessary building blocks for building exploits for the Linux kernel which can target various kernel versions:
4+
5+
* `[DONE]` RIP control (including stack pivots, ROP actions)
36
* `[TODO]` vulnerability triggers
47
* `[TODO]` kASLR leaks
58
* `[TODO]` utility functions commonly used in kernel exploitations
69
* `[TODO]` primitive transfers (e.g. UAF -> Arbitrary Write)
710
* `[TODO]` spraying techniques (including cross-cache)
8-
* `[WIP]` RIP control (including stack pivots, ROP actions)
911
* `[TODO]` "Exploit recipes": declarative structure how to put together the above "ingredients" to create an exploit (can be adjusted to different targets)
1012

11-
# Prerequisites
13+
# Usage
1214

13-
* `sudo apt install libkeyutils-dev`
15+
## Prerequisites
1416

15-
# Usage
17+
* `sudo apt install libkeyutils-dev`
1618

1719
Currently the exploit kit can be used by including its' source code into the exploits. Its API is not stable yet and cannot be used as a library.
1820

0 commit comments

Comments
 (0)