Skip to content

Instantly share code, notes, and snippets.

View firstkevinds's full-sized avatar

Kevin firstkevinds

View GitHub Profile
@firstkevinds
firstkevinds / nokia-router-cfg-tool.py
Created September 25, 2025 04:11 — 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
@firstkevinds
firstkevinds / mxroute_email_accounts.py
Created December 2, 2024 06:42 — forked from Suleman-Elahi/mxroute_email_accounts.py
A script to bulk create email accounts on MXroute via API. Sleep is not really necessary so can turn off. Use the users.csv file to create the CSV file with information of user to be created, quota must be given in MB. Just replace your username, password, server URL and good to go.
import requests
import csv
import time
server_login = 'YourUserName'
server_pass = 'YourPassword/LoginKey'
endpoint_url = 'AddSevrerURLHereWithPort' + '/CMD_EMAIL_POP' #Change the first part to he URL of the server you recoeved after sign up.
headers={"Content-Type": "application/x-www-form-urlencoded",}