Skip to content

Instantly share code, notes, and snippets.

View ancientGlider's full-sized avatar

ancientGlider

View GitHub Profile
@ancientGlider
ancientGlider / keenetic_auth.py
Last active April 8, 2024 02:40
Authentication for Keenetic routers for work with CLI via REST API (Python)
# -*- coding: utf-8 -*-
"""
Данные с адресом, логином, паролем хранятся в конфигурационном файле следующего вида:
[Router]
ip_addr = 192.168.1.1:8080
login = admin
passw = anyPassword