mirror of
https://github.com/hak5darren/wifipineapple-wiki.git
synced 2025-10-29 16:59:29 +00:00
Update api.md
This commit is contained in:
parent
cc5632146a
commit
cc5cbe84f8
8
api.md
8
api.md
@ -55,11 +55,11 @@ Action|Description|Parameters
|
|||||||
`dropCaches`|Clears system caches|_none_
|
`dropCaches`|Clears system caches|_none_
|
||||||
`getUSB`|Returns a list of USB devices connected ot the pineapple|_none
|
`getUSB`|Returns a list of USB devices connected ot the pineapple|_none
|
||||||
`getFstab`|Returns the contents of `/etc/config/fstab`|_none_
|
`getFstab`|Returns the contents of `/etc/config/fstab`|_none_
|
||||||
`getCSS`||
|
`getCSS`|Returns the contents of main.css|_none_
|
||||||
`saveFstab`|Overwrites `/etc/config/fstab` with a string|<ul><li>`fstab`<li>item2</li><ul><li>A string to be written to `/etc/config/fstab`</li></ul></li></ul>
|
`saveFstab`|Overwrites `/etc/config/fstab` with a string|<ul><li>`fstab`<li>item2</li><ul><li>A string to be written to `/etc/config/fstab`</li></ul></li></ul>
|
||||||
`saveCSS`||
|
`saveCSS`|Overwrites the contents of main.css with a string|<ul><li>`css`<li>item2</li><ul><li>A string to be written to `/pineapple/css/main.css`</li></ul></li></ul>
|
||||||
`checkForUpgrade`||
|
`checkForUpgrade`|Fetches the list of upgrades and the description of each|_none_
|
||||||
`downloadUpgrade`||
|
`downloadUpgrade`|Upgrades the pineapple to a specified firmare version (see output of `checkForUpgrades`)|<ul><li>`version`<li>item2</li><ul><li>The version to which the pineapple should be upgraded</li></ul></li></ul>
|
||||||
`getDownloadStatus`||
|
`getDownloadStatus`||
|
||||||
`performUpgrade`||
|
`performUpgrade`||
|
||||||
`getCurrentVersion`||
|
`getCurrentVersion`||
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user