mirror of
https://github.com/hak5darren/wifipineapple-wiki.git
synced 2025-10-29 16:59:29 +00:00
Start ModuleManager info
This commit is contained in:
13
api.md
13
api.md
@@ -84,6 +84,19 @@ Action|Description|Parameters
|
||||
#### Description
|
||||
### ModuleManager
|
||||
#### Description
|
||||
The Module Manager is responsible for installing, removing, and upgrading modules. It's API can be used to manage modules, as well as fetching the list of installed modules and getting available modules. To use them in your module, your request body would look like this:
|
||||
```
|
||||
{
|
||||
"module": "ModuleManager",
|
||||
"action": "removeModule",
|
||||
"moduleName": "Module"
|
||||
}
|
||||
```
|
||||
|
||||
Action|Description|Parameters
|
||||
------|-----------|----------
|
||||
`getAvailableModules`|Return an array of modules available for download|_none_
|
||||
`getInstalledModules`|Return an array of modules currently installed|_none_
|
||||
### Networking
|
||||
#### Description
|
||||
The Networking module API allows you to interface with the networking side of the WiFi Pineapple without having to write your own functions to manage interfaces, the DNS, and the routing table. As described above, you can use these actions in your own module like so:
|
||||
|
||||
Reference in New Issue
Block a user