bash shell scripts to act as a Fritz!Box client
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
AUTHORS
LICENSE
README.md
bash-fritzclient.config.template
bash-fritzclient.sh

README.md

bash shell scripts to act as a Fritz!Box client

This is meant as a bare bones set of scripts to help me communicating with my own Fritz!Box. If they are useful for others: great!

When not: There are much more fancy clients in other languages, like these:

Note: the dates are at the time of writing this.

Base repository is at https://github.com/jpluimers/bash-fritzclient.git

Ensure there is a bash-fritzclient.config in the parent directory. You can copy it from bash-fritzclient.config.template.

Commands supported:

  • reboot: reboots your Fritz!Box by first sending a POST request followed by an AJAX get request.
  • get-config: downloads the Fritz!Box configuration.

Both perform authentication to the Fritz!Box with the infamous MD5 challenge protocol. For that I reused quite some code from https://home.debian-hell.org/dokuwiki/scripts/fritzbox.backup.mit.curl.bash after doing some badly needed cleanup.

Note: the PDF has moved around over time, so if the link is broken, search for AVM_Technical_Note_-_Session_ID.pdf.