Skip to content

Instantly share code, notes, and snippets.

View online-stuff's full-sized avatar

Kevin online-stuff

View GitHub Profile
@online-stuff
online-stuff / 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",}
@online-stuff
online-stuff / LE.rsc
Created January 25, 2024 16:44
RouterOS Address List for Lets Encrypt
ip/firewall/address-list/add list=LE address=acme-staging-v02.api.letsencrypt.org
ip/firewall/address-list/add list=LE address=acme-v02.api.letsencrypt.org
ip/firewall/address-list/add list=LE address=letsencrypt.org
ip/firewall/address-list/add list=LE address=outbound1a.letsencrypt.org
ip/firewall/address-list/add list=LE address=outbound1b.letsencrypt.org
ip/firewall/address-list/add list=LE address=outbound1c.letsencrypt.org
ip/firewall/address-list/add list=LE address=outbound1d.letsencrypt.org
ip/firewall/address-list/add list=LE address=outbound1e.letsencrypt.org
ip/firewall/address-list/add list=LE address=outbound1f.letsencrypt.org
ip/firewall/address-list/add list=LE address=outbound1g.letsencrypt.org
@online-stuff
online-stuff / keybase.md
Created September 12, 2019 18:15
keybase.io

Keybase proof

I hereby claim:

  • I am online-stuff on github.
  • I am onlinestuff (https://keybase.io/onlinestuff) on keybase.
  • I have a public key ASDDC36vNOyug6G7FjpRprUZGOKzyLB8Qp2Lma-SlpgbBwo

To claim this, I am signing this object: