Skip to content

Instantly share code, notes, and snippets.

View Sakurasan's full-sized avatar
用爱发电

Sakurasan Sakurasan

用爱发电
View GitHub Profile
@Sakurasan
Sakurasan / nokia-router-cfg-tool.py
Created May 8, 2022 19:55 — forked from thedroidgeek/nokia-router-cfg-tool.py
Nokia/Alcatel-Lucent router backup configuration tool
#!/usr/bin/env python3
#
# Nokia/Alcatel-Lucent router backup configuration tool
#
# Features:
# - Unpack/repack .cfg files generated from the backup and restore functionnality
# in order to modify the full router configuration
# - Decrypt/encrypt the passwords/secret values present in the configuration
<!DOCTYPE html>
<html>
<head>
<title>Fireside Chat</title>
<link rel="stylesheet" href="/style/style.css">
</head>
<body>
<h1>Fireside Chat</h1>
<div id="app">
<div v-if="state == 0">