If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:shellinabox
BoxMatrix >> Webinterface >> shellinabox | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
UI-Structure | UI-Modules | HTML-Files | XML-Files | REST-API | Lua-Scripts | Javascript | Browser | SSI-Files | SSI-Directives | HTML-Text | Event-Text | Help-Pages | CSS-Files | Graphics | Research |
UI-Module
UI-Module: | shellinabox - type uimod | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Webinterface >> UI-Modules - Origin: AVM | ||||||
Path: | Release: settings Lab+Rel: settings | ||||||
Properties: | Webvars: 4 - Firmware: 6.98 - 8.00 | ||||||
Function: | Browser accessible HTTP remote shell |
Goto: Web-Variables - Dependencies - Model-Matrix - SMW-Browser
Details
shellinabox is an AJAX based browser accessible HTTP / HTTPS remote shell.
AVM uses it for internal development since telnetd has been removed.
While this configuration interface is always present since fw 6.98 the required binaries are typically removed.
However, a few Labors leaked their implementation:
Current solution
- shellinaboxd - the daemon - found in fw 5.07 - 7.27
- shellinabox_cert.pem - the temporary certificate to get access
- support.lua - enable shellinabox
The option to enable it is only visible if:
- shellinaboxd is compled in and:
- CONFIG_BUILDTYPE is one of: 998, 1000, 1001, 1004, 1005, 1006, 1007 or:
- CONFIG_CERTWAVE = 'y'
To enable it from shell (why?) use:
ctlmgr_ctl w shellinabox settings/port 4200 ctlmgr_ctl w shellinabox settings/running 1 ctlmgr_ctl w shellinabox settings/wan_access wan_access
This ui-module is maintained by libcmapi.so which launches shellinaboxd with these arguments:
--cert-fd=%u --cert-pw=%s --background=/var/run/shellinaboxd.pid --group=0 --user=0 --port=%s --service=/:0:0:/:/bin/ar7login_frominternet --service=/:0:0:/:/bin/ar7login
cert-fd is the file handle of the opened shellinabox_cert.pem.
Old solution
- shellinaboxd - the daemon - found in fw 5.07 - 7.27
- shellinabox_launcher - the launcher - found in fw 5.07 - 6.35
- shellinabox.lua - enable shellinabox - found in fw 5.06 - 6.35
See also the shellinabox Github repo.
Web-Variables
Daily updated index of all webvars of this module. Last update: 2024-12-21 08:35 GMT.
This list is gathered scanning all Webinterfaces of the complete Firmware-History and is likely incomplete.
All statistics show what is referred in the Webinterface and not that the respective function is operational on the named models.settings
are read/write, status
is readonly. settings
can also be read as status
.
A command
is a writeonly trigger to fire up an event and trigger an action or function. $N
is a numerical index, starting with 0
.name/0
can also be written name0
, sometimes it must be!
For a complete list of all webvars in this module run ctlmgr_ctl u shellinabox
from shell.
UI-Mod | Web-Variable | Mod | Firmware | Description | Type | Origin |
---|---|---|---|---|---|---|
shellinabox: | settings/port | 325 | 6.98 - 8.00 | TODO | webvar | AVM |
shellinabox: | settings/running | 325 | 6.98 - 8.00 | TODO | webvar | AVM |
shellinabox: | settings/secured | 325 | 6.98 - 8.00 | TODO | webvar | AVM |
shellinabox: | settings/wan_access | 263 | 7.19 - 8.00 | TODO | webvar | AVM |
4 Web-Variables |
Dependencies
Daily updated index of all dependencies of this module. Last update: 2024-12-21 08:34 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Accessed by | rest | support.lua | 62 | 6.98 - 8.00 | ||
1 dependency for this module |
Model-Matrix
Daily updated index of the presence, path and size of this module for each model. Last update: 2024-12-21 08:33 GMT.
Showing all models using this module. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
Model | Firmware | Path | Webvars |
---|---|---|---|
FRITZ!Box 3490 (main) | 7.01 - 7.30 | settings | 4 |
FRITZ!Box 4040 | 6.98 - 8.00 | settings | 4 |
FRITZ!Box 4050 | 7.58 - 7.90 | settings | 4 |
FRITZ!Box 4060 | 7.29 - 7.90 | settings | 4 |
FRITZ!Box 5490 (main) | 7.01 - 7.29 | settings | 4 |
FRITZ!Box 5491 (main) | 7.01 - 7.29 | settings | 4 |
FRITZ!Box 5530 Fiber (main) | 7.21 - 8.00 | settings | 4 |
FRITZ!Box 5590 Fiber (main) | 7.29 - 8.00 | settings | 4 |
FRITZ!Box 5690 Pro (main) | 7.62 | settings | 4 |
FRITZ!Box 6430 Cable (arm) | settings | 4 | |
FRITZ!Box 6430 Cable (atom) | 7.01 - 7.29 | settings | 4 |
FRITZ!Box 6490 Cable (atom) | 7.00 - 7.51 | settings | 4 |
FRITZ!Box 6590 Cable (atom) | 6.110 - 7.51 | settings | 4 |
FRITZ!Box 6591 Cable (atom) | 7.04 - 8.00 | settings | 4 |
FRITZ!Box 6660 Cable (atom) | 7.14 - 8.00 | settings | 4 |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | settings | 4 |
FRITZ!Box 6690 Cable (atom) | 7.28 - 7.90 | settings | 4 |
FRITZ!Box 6820 LTE v1 (main) | 6.98 - 7.59 | settings | 4 |
FRITZ!Box 6820 LTE v2 (main) | 6.98 - 7.59 | settings | 4 |
FRITZ!Box 6820 LTE v3 (main) | 7.19 - 7.57 | settings | 4 |
FRITZ!Box 6820 LTE v4 | 7.59 | settings | 4 |
FRITZ!Box 6850 LTE | 7.21 - 7.90 | settings | 4 |
FRITZ!Box 6850 5G | 7.24 - 7.90 | settings | 4 |
FRITZ!Box 6890 LTE (main) | 6.98 - 7.57 | settings | 4 |
FRITZ!Box 6890 LTE v1 (main) | 6.98 - 7.57 | settings | 4 |
FRITZ!Box 6890 LTE v2 (main) | 6.98 - 7.57 | settings | 4 |
FRITZ!Box 7362 SL (main) | 6.98 - 7.18 | settings | 3 |
FRITZ!Box 7430 (main) | 6.98 - 7.31 | settings | 4 |
FRITZ!Box 7490 (main) | 6.98 - 7.51 | settings | 4 |
FRITZ!Box 7510 | 7.30 - 8.00 | settings | 4 |
FRITZ!Box 7520 | 6.98 - 8.00 | settings | 4 |
FRITZ!Box 7520 v2 (main) | 7.30 - 8.00 | settings | 4 |
FRITZ!Box 7530 | 6.98 - 8.00 | settings | 4 |
FRITZ!Box 7530 AX | 7.20 - 8.00 | settings | 4 |
FRITZ!Box 7560 (main) | 6.98 - 7.30 | settings | 4 |
FRITZ!Box 7580 (main) | 6.98 - 7.30 | settings | 4 |
FRITZ!Box 7581 | 6.98 - 7.18 | settings | 4 |
FRITZ!Box 7582 | 7.01 - 7.18 | settings | 3 |
FRITZ!Box 7583 (main) | 7.01 - 7.59 | settings | 4 |
FRITZ!Box 7583 VDSL (main) | 7.19 - 8.00 | settings | 4 |
FRITZ!Box 7590 (main) | 6.98 - 8.00 | settings | 4 |
FRITZ!Box 7590 AX (main) | 7.19 - 8.00 | settings | 4 |
FRITZ!Box 7690 | 7.61 - 7.90 | settings | 4 |
FRITZ!Smart Gateway | 7.52 - 7.63 | settings | 4 |
FRITZ!WLAN Repeater 310 A | 6.98 - 7.16 | settings | 3 |
FRITZ!WLAN Repeater 310 B | 6.98 - 7.16 | settings | 3 |
FRITZ!WLAN Repeater 450E | 6.98 - 7.01 | settings | 3 |
FRITZ!Repeater 600 | 7.11 - 7.58 | settings | 4 |
FRITZ!Repeater 600 v2 | 7.27 - 7.58 | settings | 4 |
FRITZ!WLAN Repeater 1160 | 6.98 - 7.15 | settings | 3 |
FRITZ!Repeater 1200 | 7.11 - 7.58 | settings | 4 |
FRITZ!Repeater 1200 AX | 7.30 - 7.58 | settings | 4 |
FRITZ!WLAN Repeater 1750E | 6.98 - 7.08 | settings | 3 |
FRITZ!Repeater 2400 | 7.12 - 7.58 | settings | 4 |
FRITZ!Repeater 3000 | 6.98 - 7.58 | settings | 4 |
FRITZ!Repeater 3000 AX | 7.41 - 7.58 | settings | 4 |
FRITZ!Repeater 6000 | 7.19 - 7.58 | settings | 4 |
FRITZ!WLAN Repeater DVB-C | 6.98 - 7.04 | settings | 3 |
FRITZ!Powerline 540E | 6.98 - 7.15 | settings | 3 |
FRITZ!Powerline 546E | 6.98 - 7.01 | settings | 3 |
FRITZ!Powerline 1240 AX | 7.57 - 7.58 | settings | 4 |
FRITZ!Powerline 1260E | 6.98 - 7.58 | settings | 4 |
FRITZ!Powerline 1260 | 7.27 - 7.58 | settings | 4 |
63 models use this module |