Skip to main content

Mikrotik Config to Markup

Project description

Mikrotik HTML Dumper


This is a small project written since my team worked with mikrotiks and we sometimes needed to present audits of the configuration for upper manangement in a quick and easy to read format.

Installing

You can use pip to install this script

pip install mikrotik_html_documentation

General Use

One installed, you can see the options available to you by running the help parameter

mt-html --help
Usage: mt-html [OPTIONS] COMMAND [ARGS]...

  This simple tool logins to a Mikrotik and creats an HTML dump

Options:
  --help  Show this message and exit.

Commands:
  dump
  env

Requirements

You'll need to setup a .env file for the username and password. You can do so by running the following command

mt-html generate-env

It will then ask you to enter the username and password which will be stored in a .env file for you from the current working directory of the script.

Usage


To use the script, simply run the following

mt-html html-dump -f <firewall>

It will then ask you to enter the IP or FQDN of the firewall and dump out HTML code so you can easily upload to markup language supported documentation systems, or simply share it as a web file. Files are created and can be located in your home directory

~/mikrotik_html_dump

License


Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Mikrotik_HTML_Documentation-0.1.3rc0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file Mikrotik_HTML_Documentation-0.1.3rc0.tar.gz.

File metadata

File hashes

Hashes for Mikrotik_HTML_Documentation-0.1.3rc0.tar.gz
Algorithm Hash digest
SHA256 fbd0f2688562908bf34888adbcbac9419f02679d79f373bca15126a40a036461
MD5 d355692811b185b5d20923294ab08a00
BLAKE2b-256 ca4b15de4bc3eed78ecb267e958dd1066ebbd78f2b8ae1e2ffa7cf193425a94e

See more details on using hashes here.

File details

Details for the file Mikrotik_HTML_Documentation-0.1.3rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for Mikrotik_HTML_Documentation-0.1.3rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae009de8b08cf5218e722aeafc30394b8a4ab7a45deaac1dd510430e007059a2
MD5 df09dfec319763f87840fdee75a69df7
BLAKE2b-256 9f51a1fbc112764e3daa4ed82045b0bf446b027e20dfbd39159bba30256fdf86

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page