docs: Adding thread module documentation

This commit is contained in:
joaoviictorti
2024-09-23 10:32:08 -03:00
parent d21d5a0f1c
commit 3bfec0ec0f
3 changed files with 46 additions and 1 deletions

View File

@@ -19,4 +19,26 @@ Example of use:
shadow.exe thread hide --tid 1234
```
This command will hide the thread with TID 1234.
This command will hide the thread with TID 1234.
## Thread Protection (Anti-Kill)
Description:
This command allows you to add or remove thread protection.
```cmd
shadow.exe thread protection --tid <tid> [--add | --remove]
```
* `protection`: Protect the specified thread.
* `-a / --add`: Add the thread.
* `-r / --remove`: Remove the thread.
* `tid`: The TID of the thread you want to protect.
Example of use:
```cmd
shadow.exe thread protection --tid 1234 --add
```
This command will protect the thread with TID 1234.