Skip to content

Instantly share code, notes, and snippets.

View nospam2000's full-sized avatar

Michael Dreher nospam2000

  • Karlsruhe, Germany
View GitHub Profile
@nospam2000
nospam2000 / download-my-fritz-box-logs.sh
Last active February 5, 2024 10:48 — forked from BigNerd/download-my-fritz-box-logs.sh
This bash script downloads the current Fritz Box event log as JSON file and as TXT file
#!/bin/bash
#
# This bash script downloads the current Fritz Box event log as JSON file and as TXT file.
#
# The script was tested successfully on MacOS Sonoma 14.1.1 with Fritz!Box 7590 AX V7.57
# 'jq' and 'curl' were installed via MacPorts
#
# The login procedure was implemented according to https://avm.de/fileadmin/user_upload/Global/Service/Schnittstellen/AVM_Technical_Note_-_Session_ID.pdf
# or https://avm.de/fileadmin/user_upload/Global/Service/Schnittstellen/Session-ID_deutsch_13Nov18.pdf